aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/menu
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-06-11 03:21:56 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-06-11 03:21:56 +0000
commit22ec85b3dd2e345b292ab97d9f6de5087f33539d (patch)
tree922b392605cadd02f9ef94c55e735627872cbf71 /app/src/main/res/menu
parent076607a7ca5f23f7a87d032a9b1e80beb218fb27 (diff)
downloadinfinity-for-reddit-22ec85b3dd2e345b292ab97d9f6de5087f33539d.tar
infinity-for-reddit-22ec85b3dd2e345b292ab97d9f6de5087f33539d.tar.gz
infinity-for-reddit-22ec85b3dd2e345b292ab97d9f6de5087f33539d.tar.bz2
infinity-for-reddit-22ec85b3dd2e345b292ab97d9f6de5087f33539d.tar.lz
infinity-for-reddit-22ec85b3dd2e345b292ab97d9f6de5087f33539d.tar.xz
infinity-for-reddit-22ec85b3dd2e345b292ab97d9f6de5087f33539d.tar.zst
infinity-for-reddit-22ec85b3dd2e345b292ab97d9f6de5087f33539d.zip
Lazy mode in ViewUserDetailActivity. Fixed follow chip background color in dark mode in ViewUserDetailActivity. Fixed force stop after orientation change in ViewUserDetailActivity.
Diffstat (limited to 'app/src/main/res/menu')
-rw-r--r--app/src/main/res/menu/menu_view_user_detail.xml10
-rw-r--r--app/src/main/res/menu/view_subreddit_detail_activity.xml6
-rw-r--r--app/src/main/res/menu/view_user_detail_activity.xml17
3 files changed, 23 insertions, 10 deletions
diff --git a/app/src/main/res/menu/menu_view_user_detail.xml b/app/src/main/res/menu/menu_view_user_detail.xml
deleted file mode 100644
index ec7d65b8..00000000
--- a/app/src/main/res/menu/menu_view_user_detail.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<menu xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- tools:context="ml.docilealligator.infinityforreddit.ViewUserDetailActivity">
- <item
- android:id="@+id/action_settings"
- android:orderInCategory="100"
- android:title="@string/action_settings"
- app:showAsAction="never" />
-</menu>
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 d9b85107..ede3e6b9 100644
--- a/app/src/main/res/menu/view_subreddit_detail_activity.xml
+++ b/app/src/main/res/menu/view_subreddit_detail_activity.xml
@@ -9,4 +9,10 @@
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="2"
+ 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_user_detail_activity.xml b/app/src/main/res/menu/view_user_detail_activity.xml
new file mode 100644
index 00000000..6f550333
--- /dev/null
+++ b/app/src/main/res/menu/view_user_detail_activity.xml
@@ -0,0 +1,17 @@
+<menu xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ tools:context="ml.docilealligator.infinityforreddit.ViewUserDetailActivity">
+ <item
+ android:id="@+id/action_refresh_view_user_detail_activity"
+ android:orderInCategory="1"
+ android:title="@string/action_refresh"
+ android:icon="@drawable/ic_refresh_white_24dp"
+ app:showAsAction="never" />
+
+ <item
+ android:id="@+id/action_lazy_mode_view_user_detail_activity"
+ android:orderInCategory="2"
+ android:title="@string/action_start_lazy_mode"
+ app:showAsAction="never" />
+</menu>