Tweak tab indicator style

This commit is contained in:
arkon 2020-03-15 12:56:00 -04:00
parent 0fa93cf615
commit 90396153f4
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners
android:topLeftRadius="4dp"
android:topRightRadius="4dp" />
<solid android:color="?attr/colorOnPrimary" />
</shape>

View File

@ -29,6 +29,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:tabGravity="center"
app:tabIndicator="@drawable/tab_indicator"
app:tabIndicatorFullWidth="false"
app:tabIndicatorHeight="3dp"
app:tabInlineLabel="true"
app:tabMinWidth="75dp"
app:tabMode="scrollable" />