diff options
author | H. Lehmann <ByteHamster@users.noreply.github.com> | 2020-03-17 15:41:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-17 15:41:24 +0100 |
commit | 54056dd8d95fe88d1a582c55e066778ce25eff50 (patch) | |
tree | 17eddd45c779ccb01c34e43dab06d0bd046e949d /core/src/main/res | |
parent | 4e0e4baa056509536f34078bf15031d8c0c97053 (diff) | |
parent | 6066fef1f2a3f3b8d5c5d946c750d356429e75a8 (diff) | |
download | AntennaPod-54056dd8d95fe88d1a582c55e066778ce25eff50.zip |
Merge pull request #3937 from ByteHamster/recyclerview
Converted lists to RecyclerView
Diffstat (limited to 'core/src/main/res')
-rw-r--r-- | core/src/main/res/layout/more_content_list_footer.xml | 32 | ||||
-rw-r--r-- | core/src/main/res/values/attrs.xml | 6 |
2 files changed, 25 insertions, 13 deletions
diff --git a/core/src/main/res/layout/more_content_list_footer.xml b/core/src/main/res/layout/more_content_list_footer.xml index bfe9e89b6..f6d6a313c 100644 --- a/core/src/main/res/layout/more_content_list_footer.xml +++ b/core/src/main/res/layout/more_content_list_footer.xml @@ -1,28 +1,36 @@ <?xml version="1.0" encoding="utf-8"?> -<FrameLayout +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" - android:id="@+id/main" + android:id="@+id/more_content_list_footer" android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="?attr/selectableItemBackground"> + android:layout_height="wrap_content" + android:foreground="?attr/selectableItemBackground" + android:background="?android:attr/windowBackground" + android:gravity="center" + android:padding="8dp"> <ImageView android:id="@+id/imgExpand" - android:layout_width="wrap_content" - android:layout_height="wrap_content" + android:layout_width="16dp" + android:layout_height="16dp" android:layout_gravity="center" - android:layout_margin="16dp" android:contentDescription="@string/load_next_page_label" app:srcCompat="?attr/ic_load_more" /> <ProgressBar android:id="@+id/progBar" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:layout_margin="16dp" + android:layout_width="16dp" + android:layout_height="16dp" android:indeterminateOnly="true" android:visibility="gone" /> -</FrameLayout>
\ No newline at end of file + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/load_next_page_label" + android:textColor="?android:attr/textColorPrimary" + android:layout_marginLeft="8dp" + android:layout_marginRight="8dp"/> + +</LinearLayout>
\ No newline at end of file diff --git a/core/src/main/res/values/attrs.xml b/core/src/main/res/values/attrs.xml index 44f112614..471e31439 100644 --- a/core/src/main/res/values/attrs.xml +++ b/core/src/main/res/values/attrs.xml @@ -57,6 +57,10 @@ <attr name="action_icon_color" format="color"/> <declare-styleable name="SquareImageView"> - <attr name="useMinimum" format="boolean" /> + <attr name="direction" format="enum"> + <enum name="width" value="0"/> + <enum name="height" value="1"/> + <enum name="minimum" value="2"/> + </attr> </declare-styleable> </resources> |