mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
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.
|
Ensures visibility on top of the background color.
|
||||||
-->
|
-->
|
||||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
<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"/>
|
<item android:alpha="0.60" android:color="?attr/colorOnBackground"/>
|
||||||
</selector>
|
</selector>
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:tabTextColor="@color/tabs_selector_background"
|
app:tabTextColor="@color/tabs_selector_background"
|
||||||
|
app:tabIndicatorColor="?attr/colorAccent"
|
||||||
app:tabGravity="fill"
|
app:tabGravity="fill"
|
||||||
app:tabMode="fixed" />
|
app:tabMode="fixed" />
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue