Fix selected tab in sheets not being the accent color

This commit is contained in:
arkon 2021-02-07 10:54:35 -05:00
parent 1557f713f4
commit 3aeac7e7b5
2 changed files with 2 additions and 1 deletions

View file

@ -5,6 +5,6 @@
Ensures visibility on top of the background color.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="?attr/colorOnBackground" android:state_selected="true"/>
<item android:color="?attr/colorAccent" android:state_selected="true"/>
<item android:alpha="0.60" android:color="?attr/colorOnBackground"/>
</selector>

View file

@ -22,6 +22,7 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:tabTextColor="@color/tabs_selector_background"
app:tabIndicatorColor="?attr/colorAccent"
app:tabGravity="fill"
app:tabMode="fixed" />