From fdca23fa14c5f42b028a0598e9fb2c4ae6a696f2 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Mon, 14 Oct 2019 00:08:21 +0800 Subject: Add a time option to some sort types. Remember the last sort type. --- .../res/layout/fragment_sort_time_bottom_sheet.xml | 100 +++++++++++++++++++++ app/src/main/res/values/strings.xml | 6 ++ app/src/main/res/xml/searchable.xml | 2 +- 3 files changed, 107 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/layout/fragment_sort_time_bottom_sheet.xml (limited to 'app/src/main/res') 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 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index bcd99f75..f37430d3 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -188,6 +188,12 @@ Relevance Comments Activity + Hour + Day + Week + Month + Year + All Time Open link with No browser found diff --git a/app/src/main/res/xml/searchable.xml b/app/src/main/res/xml/searchable.xml index 9b87146c..4512198f 100644 --- a/app/src/main/res/xml/searchable.xml +++ b/app/src/main/res/xml/searchable.xml @@ -1,6 +1,6 @@ \ No newline at end of file -- cgit v1.2.3