diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-09-14 03:11:39 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-09-14 03:11:39 +0000 |
commit | 2f15383718c72246581b1f70cb61ffb9bd12e6db (patch) | |
tree | 69b272463d62cb6c1a767574e13da3e0940a9154 /app/src/main/res | |
parent | 6f24ac8cf5731e6e13ad767e6639ca2d67611985 (diff) | |
download | infinity-for-reddit-2f15383718c72246581b1f70cb61ffb9bd12e6db.tar infinity-for-reddit-2f15383718c72246581b1f70cb61ffb9bd12e6db.tar.gz infinity-for-reddit-2f15383718c72246581b1f70cb61ffb9bd12e6db.tar.bz2 infinity-for-reddit-2f15383718c72246581b1f70cb61ffb9bd12e6db.tar.lz infinity-for-reddit-2f15383718c72246581b1f70cb61ffb9bd12e6db.tar.xz infinity-for-reddit-2f15383718c72246581b1f70cb61ffb9bd12e6db.tar.zst infinity-for-reddit-2f15383718c72246581b1f70cb61ffb9bd12e6db.zip |
Fix status bar and navbar icon color in MainActivity.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/drawable/ic_outline_check_circle_outline_white_24px.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/menu/main_activity.xml | 20 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 |
3 files changed, 24 insertions, 6 deletions
diff --git a/app/src/main/res/drawable/ic_outline_check_circle_outline_white_24px.xml b/app/src/main/res/drawable/ic_outline_check_circle_outline_white_24px.xml new file mode 100644 index 00000000..191a8e4c --- /dev/null +++ b/app/src/main/res/drawable/ic_outline_check_circle_outline_white_24px.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24" + android:viewportHeight="24"> + <path + android:fillColor="#FFFFFFFF" + android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.41,0 -8,-3.59 -8,-8s3.59,-8 8,-8 8,3.59 8,8 -3.59,8 -8,8zM16.59,7.58L10,14.17l-2.59,-2.58L6,13l4,4 8,-8z"/> +</vector> diff --git a/app/src/main/res/menu/main_activity.xml b/app/src/main/res/menu/main_activity.xml index 3ab9d924..e69f976b 100644 --- a/app/src/main/res/menu/main_activity.xml +++ b/app/src/main/res/menu/main_activity.xml @@ -4,11 +4,12 @@ xmlns:tools="http://schemas.android.com/tools" tools:application="ml.docilealligator.infinityforreddit.MainActivity"> <item - android:id="@+id/action_sort_main_activity" + android:id="@+id/action_subscriptions_main_activity" android:orderInCategory="1" - android:title="@string/action_sort" - android:icon="@drawable/ic_outline_sort_24px" - app:showAsAction="ifRoom" /> + android:title="@string/action_subscriptions" + android:icon="@drawable/ic_outline_check_circle_outline_white_24px" + app:showAsAction="ifRoom" + android:visible="false"/> <item android:id="@+id/action_search_main_activity" @@ -18,14 +19,21 @@ app:showAsAction="ifRoom" /> <item - android:id="@+id/action_refresh_main_activity" + android:id="@+id/action_sort_main_activity" android:orderInCategory="3" + android:title="@string/action_sort" + android:icon="@drawable/ic_outline_sort_24px" + app:showAsAction="ifRoom" /> + + <item + android:id="@+id/action_refresh_main_activity" + android:orderInCategory="4" android:title="@string/action_refresh" app:showAsAction="never" /> <item android:id="@+id/action_lazy_mode_main_activity" - android:orderInCategory="4" + android:orderInCategory="5" android:title="@string/action_start_lazy_mode" app:showAsAction="never" /> </menu>
\ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index afd0cc44..a029821d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -30,6 +30,7 @@ <string name="action_stop_lazy_mode">Stop Lazy Mode</string> <string name="action_send">Send</string> <string name="action_sort">Sort</string> + <string name="action_subscriptions">Subscriptions</string> <string name="action_hide_post">Hide Post</string> <string name="action_unhide_post">Unhide Post</string> <string name="action_edit_post">Edit Post</string> |