From 3ad57497c94f37e3835518833b33defcb3b389e9 Mon Sep 17 00:00:00 2001 From: Jays2Kings Date: Sat, 3 Jul 2021 03:38:53 -0400 Subject: [PATCH] Set ripple colors of nav views to match accent Co-Authored-By: Soitora --- app/src/main/res/color/ripple_nav.xml | 4 ++++ app/src/main/res/layout-sw600dp/main_activity.xml | 2 +- app/src/main/res/layout/main_activity.xml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 app/src/main/res/color/ripple_nav.xml diff --git a/app/src/main/res/color/ripple_nav.xml b/app/src/main/res/color/ripple_nav.xml new file mode 100644 index 0000000000..8982942300 --- /dev/null +++ b/app/src/main/res/color/ripple_nav.xml @@ -0,0 +1,4 @@ + + + + diff --git a/app/src/main/res/layout-sw600dp/main_activity.xml b/app/src/main/res/layout-sw600dp/main_activity.xml index 22a3b95ad3..8942d76f87 100644 --- a/app/src/main/res/layout-sw600dp/main_activity.xml +++ b/app/src/main/res/layout-sw600dp/main_activity.xml @@ -27,7 +27,7 @@ android:layout_width="wrap_content" android:layout_height="0dp" app:itemIconTint="@color/bottom_nav_item_selector" - app:itemRippleColor="@color/fullRippleColor" + app:itemRippleColor="@color/ripple_nav" app:itemTextColor="@color/bottom_nav_item_selector" app:labelVisibilityMode="labeled" android:translationZ="-10dp" diff --git a/app/src/main/res/layout/main_activity.xml b/app/src/main/res/layout/main_activity.xml index 546077ba33..361a931102 100644 --- a/app/src/main/res/layout/main_activity.xml +++ b/app/src/main/res/layout/main_activity.xml @@ -180,7 +180,7 @@ android:layout_height="wrap_content" android:background="?colorPrimaryVariant" app:itemIconTint="@color/bottom_nav_item_selector" - app:itemRippleColor="@color/rippleColor" + app:itemRippleColor="@color/ripple_nav" app:itemTextColor="@color/bottom_nav_item_selector" app:labelVisibilityMode="labeled" app:layout_constraintBottom_toBottomOf="parent"