Change tab ripple color (#5142)

Does what Google apps does, uses the colored ripple for Tabs as well and not just bottom nav.
This commit is contained in:
Soitora 2021-05-22 22:23:04 +02:00 committed by GitHub
parent 15da856303
commit 2b8df691ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -24,7 +24,7 @@
app:tabGravity="fill" app:tabGravity="fill"
app:tabIndicatorColor="?attr/colorAccent" app:tabIndicatorColor="?attr/colorAccent"
app:tabMode="fixed" app:tabMode="fixed"
app:tabRippleColor="?attr/rippleColor" app:tabRippleColor="?attr/rippleNavColor"
app:tabTextColor="@color/tabs_selector_background" /> app:tabTextColor="@color/tabs_selector_background" />
<ImageButton <ImageButton

View File

@ -25,7 +25,8 @@
android:id="@+id/tabs" android:id="@+id/tabs"
style="@style/Theme.Widget.Tabs" style="@style/Theme.Widget.Tabs"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content"
app:tabRippleColor="?attr/rippleNavColor" />
<FrameLayout <FrameLayout
android:id="@+id/downloaded_only" android:id="@+id/downloaded_only"

View File

@ -20,7 +20,7 @@
style="@style/Theme.Widget.Tabs" style="@style/Theme.Widget.Tabs"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:tabRippleColor="?attr/rippleColor" /> app:tabRippleColor="?attr/rippleNavColor" />
<FrameLayout <FrameLayout
android:id="@+id/downloaded_only" android:id="@+id/downloaded_only"