Explorar el Código

Remove custom tab indicator style

M3 TabLayout has the same style built-in.
arkon hace 3 años
padre
commit
e985ffc690

+ 0 - 7
app/src/main/res/drawable/tab_indicator.xml

@@ -1,7 +0,0 @@
-<?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="@android:color/white" />
-</shape>

+ 0 - 3
app/src/main/res/values/styles.xml

@@ -176,9 +176,6 @@
     <!--=================-->
     <style name="Widget.Tachiyomi.TabLayout" parent="Widget.Material3.TabLayout">
         <item name="tabGravity">center</item>
-        <item name="tabIndicator">@drawable/tab_indicator</item>
-        <item name="tabIndicatorFullWidth">false</item>
-        <item name="tabIndicatorHeight">3dp</item>
         <item name="tabInlineLabel">true</item>
         <item name="tabMinWidth">75dp</item>
         <item name="tabMode">scrollable</item>