aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/menu
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-07-28 16:52:08 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-07-28 16:52:08 +0000
commit111ba8e5fc95c3fb5dbbff472e1a8dbbb52a28af (patch)
tree426b3e0188d931189b69e051f54fe3c4bb319c6c /app/src/main/res/menu
parent40fc423b337352e1a47e361dac052213bb81ee26 (diff)
downloadinfinity-for-reddit-111ba8e5fc95c3fb5dbbff472e1a8dbbb52a28af.tar
infinity-for-reddit-111ba8e5fc95c3fb5dbbff472e1a8dbbb52a28af.tar.gz
infinity-for-reddit-111ba8e5fc95c3fb5dbbff472e1a8dbbb52a28af.tar.bz2
infinity-for-reddit-111ba8e5fc95c3fb5dbbff472e1a8dbbb52a28af.tar.lz
infinity-for-reddit-111ba8e5fc95c3fb5dbbff472e1a8dbbb52a28af.tar.xz
infinity-for-reddit-111ba8e5fc95c3fb5dbbff472e1a8dbbb52a28af.tar.zst
infinity-for-reddit-111ba8e5fc95c3fb5dbbff472e1a8dbbb52a28af.zip
Sorting in SearchResultActivity is available. Switch DataSource instead of replacing fragments when changing sorting types. Minor bugs fixed.
Diffstat (limited to 'app/src/main/res/menu')
-rw-r--r--app/src/main/res/menu/search_result_activity.xml11
1 files changed, 9 insertions, 2 deletions
diff --git a/app/src/main/res/menu/search_result_activity.xml b/app/src/main/res/menu/search_result_activity.xml
index 1fe4fd88..b4db6c93 100644
--- a/app/src/main/res/menu/search_result_activity.xml
+++ b/app/src/main/res/menu/search_result_activity.xml
@@ -2,15 +2,22 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
- android:id="@+id/action_search_search_result_activity"
+ android:id="@+id/action_sort_search_result_activity"
android:orderInCategory="1"
android:title="@string/action_search"
+ android:icon="@drawable/ic_outline_sort_24px"
+ app:showAsAction="ifRoom" />
+
+ <item
+ android:id="@+id/action_search_search_result_activity"
+ android:orderInCategory="2"
+ android:title="@string/action_search"
android:icon="@drawable/ic_search_white_24dp"
app:showAsAction="ifRoom" />
<item
android:id="@+id/action_refresh_search_result_activity"
- android:orderInCategory="2"
+ android:orderInCategory="3"
android:title="@string/action_refresh"
app:showAsAction="never" />
</menu> \ No newline at end of file