Fix unreadable sheet tab text in light blue theme

This commit is contained in:
arkon
2021-02-04 09:16:37 -05:00
parent 33660de6b1
commit 9f2fe33ce0
3 changed files with 13 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Based on mtrl_tabs_icon_color_selector_colored.
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:alpha="0.60" android:color="?attr/colorOnBackground"/>
</selector>

View File

@@ -21,6 +21,7 @@
app:layout_constraintEnd_toStartOf="@+id/menu"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:tabTextColor="@color/tabs_selector_background"
app:tabGravity="fill"
app:tabMode="fixed" />