Fix selected tab in sheets not being the accent color
This commit is contained in:
parent
1557f713f4
commit
3aeac7e7b5
2 changed files with 2 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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" />
|
||||
|
||||
|
|
Reference in a new issue