aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/menu
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-07-26 02:50:32 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-07-26 02:50:32 +0000
commit1fc84239069fa19da7f7c7b0b0825717aad4999c (patch)
tree92b11e3f9e7f6839ae931700b1f13314e67a20d8 /app/src/main/res/menu
parent66ed3d8f1670c56b7a8b8de78fbf99686dc5d6a1 (diff)
downloadinfinity-for-reddit-1fc84239069fa19da7f7c7b0b0825717aad4999c.tar
infinity-for-reddit-1fc84239069fa19da7f7c7b0b0825717aad4999c.tar.gz
infinity-for-reddit-1fc84239069fa19da7f7c7b0b0825717aad4999c.tar.bz2
infinity-for-reddit-1fc84239069fa19da7f7c7b0b0825717aad4999c.tar.lz
infinity-for-reddit-1fc84239069fa19da7f7c7b0b0825717aad4999c.tar.xz
infinity-for-reddit-1fc84239069fa19da7f7c7b0b0825717aad4999c.tar.zst
infinity-for-reddit-1fc84239069fa19da7f7c7b0b0825717aad4999c.zip
Sorting posts is now available. Minor bugs fixed.
Diffstat (limited to 'app/src/main/res/menu')
-rw-r--r--app/src/main/res/menu/main_activity.xml13
-rw-r--r--app/src/main/res/menu/view_subreddit_detail_activity.xml13
2 files changed, 20 insertions, 6 deletions
diff --git a/app/src/main/res/menu/main_activity.xml b/app/src/main/res/menu/main_activity.xml
index 2d4d02ad..43cb0785 100644
--- a/app/src/main/res/menu/main_activity.xml
+++ b/app/src/main/res/menu/main_activity.xml
@@ -4,21 +4,28 @@
xmlns:tools="http://schemas.android.com/tools"
tools:context="ml.docilealligator.infinityforreddit.MainActivity">
<item
- android:id="@+id/action_search_main_activity"
+ android:id="@+id/action_sort_main_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_main_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_main_activity"
- android:orderInCategory="2"
+ android:orderInCategory="3"
android:title="@string/action_refresh"
app:showAsAction="never" />
<item
android:id="@+id/action_lazy_mode_main_activity"
- android:orderInCategory="3"
+ android:orderInCategory="4"
android:title="@string/action_start_lazy_mode"
app:showAsAction="never" />
</menu> \ No newline at end of file
diff --git a/app/src/main/res/menu/view_subreddit_detail_activity.xml b/app/src/main/res/menu/view_subreddit_detail_activity.xml
index 41e83e7d..9dcdb633 100644
--- a/app/src/main/res/menu/view_subreddit_detail_activity.xml
+++ b/app/src/main/res/menu/view_subreddit_detail_activity.xml
@@ -4,21 +4,28 @@
xmlns:tools="http://schemas.android.com/tools"
tools:context="ml.docilealligator.infinityforreddit.ViewSubredditDetailActivity">
<item
- android:id="@+id/action_search_view_subreddit_detail_activity"
+ android:id="@+id/action_sort_view_subreddit_detail_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_view_subreddit_detail_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_view_subreddit_detail_activity"
- android:orderInCategory="2"
+ android:orderInCategory="3"
android:title="@string/action_refresh"
android:icon="@drawable/ic_refresh_white_24dp"
app:showAsAction="never" />
<item
android:id="@+id/action_lazy_mode_view_subreddit_detail_activity"
- android:orderInCategory="3"
+ android:orderInCategory="4"
android:title="@string/action_start_lazy_mode"
app:showAsAction="never" />
</menu> \ No newline at end of file