Remove tab indicator and change selected color to 100% white
This commit is contained in:
parent
b53723a179
commit
40c6349c14
@ -1,10 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--TODO: Make your own color resources, because these belong to BottomSheetTimePickers.-->
|
||||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<!--We can get away with this for all themes because they have the same accent color.-->
|
|
||||||
<!--If they are not the same, then we would have to resort to programmatically creating
|
|
||||||
a ColorStateList to get the themed ?colorAccent attribute. -->
|
|
||||||
<item android:state_selected="true"
|
<item android:state_selected="true"
|
||||||
android:color="@color/colorAccent"/>
|
android:color="@color/icon_color_active_dark"/>
|
||||||
<!--TODO: Make your own resource, because this belongs to BottomSheetTimePickers.-->
|
|
||||||
<item android:color="@color/icon_color_inactive_dark"/>
|
<item android:color="@color/icon_color_inactive_dark"/>
|
||||||
</selector>
|
</selector>
|
||||||
@ -26,7 +26,8 @@
|
|||||||
android:id="@+id/tabs"
|
android:id="@+id/tabs"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
app:tabMode="scrollable"/>
|
app:tabMode="scrollable"
|
||||||
|
app:tabIndicatorHeight="0dp"/>
|
||||||
|
|
||||||
</android.support.v7.widget.Toolbar>
|
</android.support.v7.widget.Toolbar>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user