Remove tab indicator and change selected color to 100% white

This commit is contained in:
Phillip Hsu 2016-09-28 16:22:54 -07:00
parent b53723a179
commit 40c6349c14
2 changed files with 4 additions and 6 deletions

View File

@ -1,10 +1,7 @@
<?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">
<!--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"
android:color="@color/colorAccent"/>
<!--TODO: Make your own resource, because this belongs to BottomSheetTimePickers.-->
android:color="@color/icon_color_active_dark"/>
<item android:color="@color/icon_color_inactive_dark"/>
</selector>

View File

@ -26,7 +26,8 @@
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:tabMode="scrollable"/>
app:tabMode="scrollable"
app:tabIndicatorHeight="0dp"/>
</android.support.v7.widget.Toolbar>