Use same header layout for sources/extensions/migration

This commit is contained in:
arkon
2020-04-28 23:03:30 -04:00
parent 67d284fc35
commit e24ddb9106
9 changed files with 8 additions and 25 deletions

View File

@@ -14,7 +14,7 @@
android:id="@+id/ext_recycler"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:listitem="@layout/extension_card_header" />
tools:listitem="@layout/source_main_controller_card_header" />
</eu.kanade.tachiyomi.widget.ThemedSwipeRefreshLayout>

View File

@@ -9,7 +9,7 @@
android:id="@+id/recycler"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:listitem="@layout/source_main_controller_card" />
tools:listitem="@layout/source_main_controller_card_header" />
<eu.davidea.fastscroller.FastScroller
android:id="@+id/fast_scroller"

View File

@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/title"
style="@style/TextAppearance.Regular.SubHeading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="@dimen/material_component_text_fields_padding_above_and_below_label"
android:paddingTop="8dp"
android:paddingEnd="@dimen/material_component_text_fields_padding_above_and_below_label"
tools:text="Title" />
</FrameLayout>