mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 03:01:49 +01:00
Tweak tab indicator style
This commit is contained in:
parent
0fa93cf615
commit
90396153f4
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_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
app:tabGravity="center"
|
app:tabGravity="center"
|
||||||
|
app:tabIndicator="@drawable/tab_indicator"
|
||||||
|
app:tabIndicatorFullWidth="false"
|
||||||
|
app:tabIndicatorHeight="3dp"
|
||||||
app:tabInlineLabel="true"
|
app:tabInlineLabel="true"
|
||||||
app:tabMinWidth="75dp"
|
app:tabMinWidth="75dp"
|
||||||
app:tabMode="scrollable" />
|
app:tabMode="scrollable" />
|
||||||
|
Loading…
Reference in New Issue
Block a user