More M3 theming
This commit is contained in:
18
app/src/main/res/drawable/tabs_background.xml
Normal file
18
app/src/main/res/drawable/tabs_background.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- Fills the entire area with the divider's color first... -->
|
||||
<item>
|
||||
<shape
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/kotatsu_outline"/>
|
||||
</shape>
|
||||
</item>
|
||||
<!-- ..., then draws a rectangle with the container color to cover the area not for the divider. -->
|
||||
<item
|
||||
android:bottom="1dp">
|
||||
<shape
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/kotatsu_surfaceContainerHigh"/>
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
@@ -4,7 +4,7 @@
|
||||
<item>
|
||||
<shape
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/kotatsu_secondary"/>
|
||||
<solid android:color="@color/kotatsu_primaryContainer"/>
|
||||
</shape>
|
||||
</item>
|
||||
<!-- ..., then draws a rectangle with the container color to cover the area not for the divider. -->
|
||||
|
||||
Reference in New Issue
Block a user