From a70a00e6e9511d8826874488b2904b86b3d3e930 Mon Sep 17 00:00:00 2001 From: Hermes Junior Date: Wed, 17 Jun 2020 18:14:36 +0200 Subject: Add icons to sort bottom sheets. --- ...fragment_search_post_sort_type_bottom_sheet.xml | 112 ++++++++------- .../res/layout/fragment_sort_type_bottom_sheet.xml | 154 ++++++++++++--------- .../fragment_user_thing_sort_type_bottom_sheet.xml | 90 +++++++----- 3 files changed, 204 insertions(+), 152 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/fragment_search_post_sort_type_bottom_sheet.xml b/app/src/main/res/layout/fragment_search_post_sort_type_bottom_sheet.xml index f7511131..8b1c86b6 100644 --- a/app/src/main/res/layout/fragment_search_post_sort_type_bottom_sheet.xml +++ b/app/src/main/res/layout/fragment_search_post_sort_type_bottom_sheet.xml @@ -1,95 +1,111 @@ + android:overScrollMode="never" + android:paddingBottom="8dp"> - + android:paddingBottom="16dp" + android:text="@string/sort_relevance" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + app:drawableTint="?attr/primaryTextColor" /> - + android:paddingBottom="16dp" + android:text="@string/sort_hot" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + app:drawableTint="?attr/primaryTextColor" /> - + android:paddingBottom="16dp" + android:text="@string/sort_top" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + app:drawableTint="?attr/primaryTextColor" /> - + android:paddingBottom="16dp" + android:text="@string/sort_new" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + app:drawableTint="?attr/primaryTextColor" /> - + android:paddingBottom="16dp" + android:text="@string/sort_comments" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + app:drawableTint="?attr/primaryTextColor" /> - \ No newline at end of file + diff --git a/app/src/main/res/layout/fragment_sort_type_bottom_sheet.xml b/app/src/main/res/layout/fragment_sort_type_bottom_sheet.xml index d8a62445..d5c9e34d 100644 --- a/app/src/main/res/layout/fragment_sort_type_bottom_sheet.xml +++ b/app/src/main/res/layout/fragment_sort_type_bottom_sheet.xml @@ -1,127 +1,149 @@ + android:overScrollMode="never" + android:paddingBottom="8dp"> - + android:paddingBottom="16dp" + android:text="@string/sort_best" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + app:drawableTint="?attr/primaryTextColor" /> - + android:paddingBottom="16dp" + android:text="@string/sort_hot" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + app:drawableTint="?attr/primaryTextColor" /> - + android:paddingBottom="16dp" + android:text="@string/sort_new" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + app:drawableTint="?attr/primaryTextColor" /> - + android:paddingBottom="16dp" + android:text="@string/sort_random" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + app:drawableTint="?attr/primaryTextColor" /> - + android:paddingBottom="16dp" + android:text="@string/sort_rising" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + app:drawableTint="?attr/primaryTextColor" /> - + android:paddingBottom="16dp" + android:text="@string/sort_top" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + app:drawableTint="?attr/primaryTextColor" /> - + android:paddingBottom="16dp" + android:text="@string/sort_controversial" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + app:drawableTint="?attr/primaryTextColor" /> - \ No newline at end of file + diff --git a/app/src/main/res/layout/fragment_user_thing_sort_type_bottom_sheet.xml b/app/src/main/res/layout/fragment_user_thing_sort_type_bottom_sheet.xml index 8abaf5ff..17056053 100644 --- a/app/src/main/res/layout/fragment_user_thing_sort_type_bottom_sheet.xml +++ b/app/src/main/res/layout/fragment_user_thing_sort_type_bottom_sheet.xml @@ -1,71 +1,85 @@ - + android:paddingBottom="16dp" + android:text="@string/sort_new" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + app:drawableTint="?attr/primaryTextColor" /> - + android:paddingBottom="16dp" + android:text="@string/sort_hot" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + app:drawableTint="?attr/primaryTextColor" /> - + android:paddingBottom="16dp" + android:text="@string/sort_top" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + app:drawableTint="?attr/primaryTextColor" /> - + android:paddingBottom="16dp" + android:text="@string/sort_controversial" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + app:drawableTint="?attr/primaryTextColor" /> - \ No newline at end of file + -- cgit v1.2.3