mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-11 16:18:05 -05:00
Tweak tab indicator style
This commit is contained in:
parent
0fa93cf615
commit
90396153f4
2 changed files with 10 additions and 0 deletions
7
app/src/main/res/drawable/tab_indicator.xml
Normal file
7
app/src/main/res/drawable/tab_indicator.xml
Normal 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>
|
|
@ -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" />
|
||||
|
|
Loading…
Reference in a new issue