From c6e2b78c4045449e9151c3e14341df70849922e6 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sat, 24 Oct 2020 00:04:25 +0800 Subject: Fix color of some icons. --- .../infinityforreddit/Activity/MainActivity.java | 2 +- .../Activity/ViewSubredditDetailActivity.java | 2 +- app/src/main/res/drawable-night/ic_random_24dp.xml | 12 ++++++------ app/src/main/res/drawable/ic_search_toolbar_24dp.xml | 5 +++++ app/src/main/res/drawable/ic_sort_toolbar_24dp.xml | 9 +++++++++ app/src/main/res/menu/filtered_posts_activity.xml | 4 ++-- app/src/main/res/menu/main_activity.xml | 4 ++-- app/src/main/res/menu/search_activity.xml | 2 +- app/src/main/res/menu/search_result_activity.xml | 4 ++-- app/src/main/res/menu/subreddit_multiselection_activity.xml | 2 +- app/src/main/res/menu/subreddit_selection_activity.xml | 2 +- app/src/main/res/menu/view_multi_reddit_detail_activity.xml | 4 ++-- app/src/main/res/menu/view_subreddit_detail_activity.xml | 4 ++-- app/src/main/res/menu/view_user_detail_activity.xml | 4 ++-- 14 files changed, 37 insertions(+), 23 deletions(-) create mode 100644 app/src/main/res/drawable/ic_search_toolbar_24dp.xml create mode 100644 app/src/main/res/drawable/ic_sort_toolbar_24dp.xml diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/MainActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/MainActivity.java index e02c3bc3..448d3d64 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/MainActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/MainActivity.java @@ -572,7 +572,7 @@ public class MainActivity extends BaseActivity implements SortTypeSelectionCallb fab.setImageResource(R.drawable.ic_refresh_24dp); break; case SharedPreferencesUtils.MAIN_ACTIVITY_BOTTOM_APP_BAR_FAB_CHANGE_SORT_TYPE: - fab.setImageResource(R.drawable.ic_sort_24dp); + fab.setImageResource(R.drawable.ic_sort_toolbar_24dp); break; case SharedPreferencesUtils.MAIN_ACTIVITY_BOTTOM_APP_BAR_FAB_CHANGE_POST_LAYOUT: fab.setImageResource(R.drawable.ic_post_layout_24dp); diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewSubredditDetailActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewSubredditDetailActivity.java index 5d9ddd72..b34ba388 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewSubredditDetailActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewSubredditDetailActivity.java @@ -673,7 +673,7 @@ public class ViewSubredditDetailActivity extends BaseActivity implements SortTyp fab.setImageResource(R.drawable.ic_refresh_24dp); break; case SharedPreferencesUtils.OTHER_ACTIVITIES_BOTTOM_APP_BAR_FAB_CHANGE_SORT_TYPE: - fab.setImageResource(R.drawable.ic_sort_24dp); + fab.setImageResource(R.drawable.ic_sort_toolbar_24dp); break; case SharedPreferencesUtils.OTHER_ACTIVITIES_BOTTOM_APP_BAR_FAB_CHANGE_POST_LAYOUT: fab.setImageResource(R.drawable.ic_post_layout_24dp); diff --git a/app/src/main/res/drawable-night/ic_random_24dp.xml b/app/src/main/res/drawable-night/ic_random_24dp.xml index bd0bc639..b80a99cf 100644 --- a/app/src/main/res/drawable-night/ic_random_24dp.xml +++ b/app/src/main/res/drawable-night/ic_random_24dp.xml @@ -5,20 +5,20 @@ android:viewportHeight="24"> + android:fillColor="#FFFFFF"/> + android:fillColor="#FFFFFF"/> + android:fillColor="#FFFFFF"/> + android:fillColor="#FFFFFF"/> + android:fillColor="#FFFFFF"/> + android:fillColor="#FFFFFF"/> diff --git a/app/src/main/res/drawable/ic_search_toolbar_24dp.xml b/app/src/main/res/drawable/ic_search_toolbar_24dp.xml new file mode 100644 index 00000000..9bece0ba --- /dev/null +++ b/app/src/main/res/drawable/ic_search_toolbar_24dp.xml @@ -0,0 +1,5 @@ + + + diff --git a/app/src/main/res/drawable/ic_sort_toolbar_24dp.xml b/app/src/main/res/drawable/ic_sort_toolbar_24dp.xml new file mode 100644 index 00000000..6cef6369 --- /dev/null +++ b/app/src/main/res/drawable/ic_sort_toolbar_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/menu/filtered_posts_activity.xml b/app/src/main/res/menu/filtered_posts_activity.xml index 296af78c..6e826b5a 100644 --- a/app/src/main/res/menu/filtered_posts_activity.xml +++ b/app/src/main/res/menu/filtered_posts_activity.xml @@ -5,14 +5,14 @@ android:id="@+id/action_sort_filtered_thing_activity" android:orderInCategory="1" android:title="@string/action_sort" - android:icon="@drawable/ic_sort_24dp" + android:icon="@drawable/ic_sort_toolbar_24dp" 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 9cd243a5..d503471f 100644 --- a/app/src/main/res/menu/search_result_activity.xml +++ b/app/src/main/res/menu/search_result_activity.xml @@ -5,14 +5,14 @@ android:id="@+id/action_sort_search_result_activity" android:orderInCategory="1" android:title="@string/action_sort" - android:icon="@drawable/ic_sort_24dp" + android:icon="@drawable/ic_sort_toolbar_24dp" app:showAsAction="ifRoom" /> \ No newline at end of file diff --git a/app/src/main/res/menu/subreddit_selection_activity.xml b/app/src/main/res/menu/subreddit_selection_activity.xml index 28abcb17..a55e1b97 100644 --- a/app/src/main/res/menu/subreddit_selection_activity.xml +++ b/app/src/main/res/menu/subreddit_selection_activity.xml @@ -5,6 +5,6 @@ android:id="@+id/action_search_subreddit_selection_activity" android:orderInCategory="1" android:title="@string/action_search" - android:icon="@drawable/ic_search_24dp" + android:icon="@drawable/ic_search_toolbar_24dp" app:showAsAction="ifRoom" /> \ No newline at end of file diff --git a/app/src/main/res/menu/view_multi_reddit_detail_activity.xml b/app/src/main/res/menu/view_multi_reddit_detail_activity.xml index 06257308..0da0d682 100644 --- a/app/src/main/res/menu/view_multi_reddit_detail_activity.xml +++ b/app/src/main/res/menu/view_multi_reddit_detail_activity.xml @@ -7,14 +7,14 @@ android:id="@+id/action_sort_view_multi_reddit_detail_activity" android:orderInCategory="1" android:title="@string/action_sort" - android:icon="@drawable/ic_sort_24dp" + android:icon="@drawable/ic_sort_toolbar_24dp" app:showAsAction="ifRoom" />