diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-07-31 16:29:29 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-07-31 16:29:29 +0000 |
commit | 47515b87d0490f75dfb0705330f791035024533a (patch) | |
tree | e21178cfaa1e4a1198d79b5a08f5061c2fd46e91 /app/src/main/res | |
parent | dc23a302201985dd637b68ce40345090c59e92fe (diff) | |
download | infinity-for-reddit-47515b87d0490f75dfb0705330f791035024533a.tar infinity-for-reddit-47515b87d0490f75dfb0705330f791035024533a.tar.gz infinity-for-reddit-47515b87d0490f75dfb0705330f791035024533a.tar.bz2 infinity-for-reddit-47515b87d0490f75dfb0705330f791035024533a.tar.lz infinity-for-reddit-47515b87d0490f75dfb0705330f791035024533a.tar.xz infinity-for-reddit-47515b87d0490f75dfb0705330f791035024533a.tar.zst infinity-for-reddit-47515b87d0490f75dfb0705330f791035024533a.zip |
Use Brige library and Android-State library to avoid TransactionTooLargeException during state saving and restoration. Minor bugs fixed.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/menu/main_activity.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/menu/search_result_activity.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/menu/view_subreddit_detail_activity.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 |
4 files changed, 4 insertions, 3 deletions
diff --git a/app/src/main/res/menu/main_activity.xml b/app/src/main/res/menu/main_activity.xml index 43cb0785..41d4f28b 100644 --- a/app/src/main/res/menu/main_activity.xml +++ b/app/src/main/res/menu/main_activity.xml @@ -6,7 +6,7 @@ <item android:id="@+id/action_sort_main_activity" android:orderInCategory="1" - android:title="@string/action_search" + android:title="@string/action_sort" android:icon="@drawable/ic_outline_sort_24px" app:showAsAction="ifRoom" /> diff --git a/app/src/main/res/menu/search_result_activity.xml b/app/src/main/res/menu/search_result_activity.xml index b4db6c93..0fc7a1fe 100644 --- a/app/src/main/res/menu/search_result_activity.xml +++ b/app/src/main/res/menu/search_result_activity.xml @@ -4,7 +4,7 @@ <item android:id="@+id/action_sort_search_result_activity" android:orderInCategory="1" - android:title="@string/action_search" + android:title="@string/action_sort" android:icon="@drawable/ic_outline_sort_24px" app:showAsAction="ifRoom" /> 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 9dcdb633..a8912ab2 100644 --- a/app/src/main/res/menu/view_subreddit_detail_activity.xml +++ b/app/src/main/res/menu/view_subreddit_detail_activity.xml @@ -6,7 +6,7 @@ <item android:id="@+id/action_sort_view_subreddit_detail_activity" android:orderInCategory="1" - android:title="@string/action_search" + android:title="@string/action_sort" android:icon="@drawable/ic_outline_sort_24px" app:showAsAction="ifRoom" /> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 8be8345e..09bb103a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -22,6 +22,7 @@ <string name="action_start_lazy_mode">Start Lazy Mode</string> <string name="action_stop_lazy_mode">Stop Lazy Mode</string> <string name="action_send">Send</string> + <string name="action_sort">Sort</string> <string name="tap_to_retry">Error loading image. Tap to retry.</string> <string name="load_posts_error">Error loading posts.\nTap to retry.</string> |