aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/menu
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-06-08 00:01:31 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-06-08 00:01:31 +0000
commit7cfc4296a0c6e429a07a8cc8cdc32489220cb04b (patch)
tree352eb8652e3b243762ef3819b0727a7b80343193 /app/src/main/res/menu
parentd7a90b53970416ae7fe5df34270924fc5191e009 (diff)
downloadinfinity-for-reddit-7cfc4296a0c6e429a07a8cc8cdc32489220cb04b.tar
infinity-for-reddit-7cfc4296a0c6e429a07a8cc8cdc32489220cb04b.tar.gz
infinity-for-reddit-7cfc4296a0c6e429a07a8cc8cdc32489220cb04b.tar.bz2
infinity-for-reddit-7cfc4296a0c6e429a07a8cc8cdc32489220cb04b.tar.lz
infinity-for-reddit-7cfc4296a0c6e429a07a8cc8cdc32489220cb04b.tar.xz
infinity-for-reddit-7cfc4296a0c6e429a07a8cc8cdc32489220cb04b.tar.zst
infinity-for-reddit-7cfc4296a0c6e429a07a8cc8cdc32489220cb04b.zip
Lazy Mode: Automatically scroll down the recyclerview in PostFragment to view posts without using hands.
Diffstat (limited to 'app/src/main/res/menu')
-rw-r--r--app/src/main/res/menu/main_activity.xml17
1 files changed, 11 insertions, 6 deletions
diff --git a/app/src/main/res/menu/main_activity.xml b/app/src/main/res/menu/main_activity.xml
index 6ef9b037..2d4d02ad 100644
--- a/app/src/main/res/menu/main_activity.xml
+++ b/app/src/main/res/menu/main_activity.xml
@@ -4,16 +4,21 @@
xmlns:tools="http://schemas.android.com/tools"
tools:context="ml.docilealligator.infinityforreddit.MainActivity">
<item
+ android:id="@+id/action_search_main_activity"
+ android:orderInCategory="1"
+ 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:title="@string/action_refresh"
- android:icon="@drawable/ic_refresh_white_24dp"
app:showAsAction="never" />
<item
- android:id="@+id/action_search_main_activity"
- android:orderInCategory="1"
- android:title="@string/action_search"
- android:icon="@drawable/ic_search_white_24dp"
- app:showAsAction="ifRoom" />
+ android:id="@+id/action_lazy_mode_main_activity"
+ android:orderInCategory="3"
+ android:title="@string/action_start_lazy_mode"
+ app:showAsAction="never" />
</menu> \ No newline at end of file