From f7baba9412c53b0abd54e36d74657433efb6e58e Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Wed, 25 Dec 2019 23:41:56 +0800 Subject: Add an option to hide the bottom app bar. Change the icon color in the bottom app bar. --- .../drawable-night/ic_add_bottom_app_bar_24dp.xml | 2 +- .../res/drawable-night/ic_multi_reddit_24dp.xml | 2 +- .../ic_subscritptions_bottom_app_bar_24dp.xml | 2 +- .../res/drawable/ic_add_bottom_app_bar_24dp.xml | 2 +- app/src/main/res/drawable/ic_multi_reddit_24dp.xml | 2 +- .../ic_subscritptions_bottom_app_bar_24dp.xml | 2 +- app/src/main/res/ic_subscritptions_24dp.xml | 9 -------- app/src/main/res/layout/activity_main.xml | 26 ++++++++++++++++++++++ app/src/main/res/layout/app_bar_main.xml | 4 ++-- app/src/main/res/values/strings.xml | 4 +++- app/src/main/res/xml/main_preferences.xml | 5 +++++ 11 files changed, 42 insertions(+), 18 deletions(-) delete mode 100644 app/src/main/res/ic_subscritptions_24dp.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable-night/ic_add_bottom_app_bar_24dp.xml b/app/src/main/res/drawable-night/ic_add_bottom_app_bar_24dp.xml index 51867af8..b6814bc2 100644 --- a/app/src/main/res/drawable-night/ic_add_bottom_app_bar_24dp.xml +++ b/app/src/main/res/drawable-night/ic_add_bottom_app_bar_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable-night/ic_multi_reddit_24dp.xml b/app/src/main/res/drawable-night/ic_multi_reddit_24dp.xml index aefb602a..cd680d79 100644 --- a/app/src/main/res/drawable-night/ic_multi_reddit_24dp.xml +++ b/app/src/main/res/drawable-night/ic_multi_reddit_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable-night/ic_subscritptions_bottom_app_bar_24dp.xml b/app/src/main/res/drawable-night/ic_subscritptions_bottom_app_bar_24dp.xml index bb341b85..660848ef 100644 --- a/app/src/main/res/drawable-night/ic_subscritptions_bottom_app_bar_24dp.xml +++ b/app/src/main/res/drawable-night/ic_subscritptions_bottom_app_bar_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_add_bottom_app_bar_24dp.xml b/app/src/main/res/drawable/ic_add_bottom_app_bar_24dp.xml index a032b560..ed95d188 100644 --- a/app/src/main/res/drawable/ic_add_bottom_app_bar_24dp.xml +++ b/app/src/main/res/drawable/ic_add_bottom_app_bar_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_multi_reddit_24dp.xml b/app/src/main/res/drawable/ic_multi_reddit_24dp.xml index 83623504..74b886ad 100644 --- a/app/src/main/res/drawable/ic_multi_reddit_24dp.xml +++ b/app/src/main/res/drawable/ic_multi_reddit_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_subscritptions_bottom_app_bar_24dp.xml b/app/src/main/res/drawable/ic_subscritptions_bottom_app_bar_24dp.xml index 989c9f29..96b7725a 100644 --- a/app/src/main/res/drawable/ic_subscritptions_bottom_app_bar_24dp.xml +++ b/app/src/main/res/drawable/ic_subscritptions_bottom_app_bar_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/ic_subscritptions_24dp.xml b/app/src/main/res/ic_subscritptions_24dp.xml deleted file mode 100644 index 96b7725a..00000000 --- a/app/src/main/res/ic_subscritptions_24dp.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 08f715d1..cf48f84e 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -104,6 +104,32 @@ + + + + + + + + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 072c1b1e..a66a43b9 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -16,7 +16,7 @@ Inbox Settings Saved - MultiReddit + Multireddit Open navigation drawer Close navigation drawer @@ -79,6 +79,7 @@ Profile Following Subscriptions + Multireddit Inbox Upvoted Downvoted @@ -291,6 +292,7 @@ Device default Amoled Dark Immersive Interface + Enable Bottom Navigation Vote Buttons on the Right Use Volume Keys to Navigate Comments in Posts Use Volume Keys to Navigate Posts diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml index 98e566eb..02c0f750 100644 --- a/app/src/main/res/xml/main_preferences.xml +++ b/app/src/main/res/xml/main_preferences.xml @@ -26,6 +26,11 @@ app:title="@string/settings_immersive_interface_title" app:isPreferenceVisible="false" /> + +