diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-10-13 16:08:21 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-10-13 16:08:21 +0000 |
commit | fdca23fa14c5f42b028a0598e9fb2c4ae6a696f2 (patch) | |
tree | 276b3e1b0a87d5df9c86da4e8c926a5a06a1f6a6 /app/src/main/res/layout | |
parent | d82b1e63051465fa45578884ef9bc17314d89af8 (diff) | |
download | infinity-for-reddit-fdca23fa14c5f42b028a0598e9fb2c4ae6a696f2.tar infinity-for-reddit-fdca23fa14c5f42b028a0598e9fb2c4ae6a696f2.tar.gz infinity-for-reddit-fdca23fa14c5f42b028a0598e9fb2c4ae6a696f2.tar.bz2 infinity-for-reddit-fdca23fa14c5f42b028a0598e9fb2c4ae6a696f2.tar.lz infinity-for-reddit-fdca23fa14c5f42b028a0598e9fb2c4ae6a696f2.tar.xz infinity-for-reddit-fdca23fa14c5f42b028a0598e9fb2c4ae6a696f2.tar.zst infinity-for-reddit-fdca23fa14c5f42b028a0598e9fb2c4ae6a696f2.zip |
Add a time option to some sort types. Remember the last sort type.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/fragment_sort_time_bottom_sheet.xml | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_sort_time_bottom_sheet.xml b/app/src/main/res/layout/fragment_sort_time_bottom_sheet.xml new file mode 100644 index 00000000..d08066e0 --- /dev/null +++ b/app/src/main/res/layout/fragment_sort_time_bottom_sheet.xml @@ -0,0 +1,100 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:paddingBottom="8dp" + tools:context=".Fragment.SortTimeBottomSheetFragment"> + + <TextView + android:id="@+id/hour_text_view_sort_time_bottom_sheet_fragment" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/sort_time_hour" + android:textColor="@color/primaryTextColor" + android:textSize="?attr/font_default" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="32dp" + android:paddingEnd="32dp" + android:clickable="true" + android:focusable="true" + android:background="?attr/selectableItemBackground" /> + + <TextView + android:id="@+id/day_text_view_sort_time_bottom_sheet_fragment" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/sort_time_day" + android:textColor="@color/primaryTextColor" + android:textSize="?attr/font_default" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="32dp" + android:paddingEnd="32dp" + android:clickable="true" + android:focusable="true" + android:background="?attr/selectableItemBackground" /> + + <TextView + android:id="@+id/week_text_view_sort_time_bottom_sheet_fragment" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/sort_time_week" + android:textColor="@color/primaryTextColor" + android:textSize="?attr/font_default" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="32dp" + android:paddingEnd="32dp" + android:clickable="true" + android:focusable="true" + android:background="?attr/selectableItemBackground" /> + + <TextView + android:id="@+id/month_text_view_sort_time_bottom_sheet_fragment" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/sort_time_month" + android:textColor="@color/primaryTextColor" + android:textSize="?attr/font_default" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="32dp" + android:paddingEnd="32dp" + android:clickable="true" + android:focusable="true" + android:background="?attr/selectableItemBackground" /> + + <TextView + android:id="@+id/year_text_view_sort_time_bottom_sheet_fragment" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/sort_time_year" + android:textColor="@color/primaryTextColor" + android:textSize="?attr/font_default" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="32dp" + android:paddingEnd="32dp" + android:clickable="true" + android:focusable="true" + android:background="?attr/selectableItemBackground" /> + + <TextView + android:id="@+id/all_time_text_view_sort_time_bottom_sheet_fragment" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/sort_time_all_time" + android:textColor="@color/primaryTextColor" + android:textSize="?attr/font_default" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="32dp" + android:paddingEnd="32dp" + android:clickable="true" + android:focusable="true" + android:background="?attr/selectableItemBackground" /> + +</LinearLayout>
\ No newline at end of file |