Set ripple colors of nav views to match accent

Co-Authored-By: Soitora <simon.mattila@protonmail.com>
This commit is contained in:
Jays2Kings 2021-07-03 03:38:53 -04:00
parent ea4c41988c
commit 3ad57497c9
3 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:alpha="0.07" android:color="?attr/colorAccentText" />
</selector>

View File

@ -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"

View File

@ -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"