mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
Consistent divider colour
This commit is contained in:
parent
e214746536
commit
9120e82517
3 changed files with 16 additions and 3 deletions
|
@ -4,16 +4,20 @@
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?attr/colorSurface"
|
android:background="?attr/colorSurface">
|
||||||
android:elevation="2dp"
|
|
||||||
android:padding="32dp">
|
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="56dp"
|
android:layout_width="56dp"
|
||||||
android:layout_height="56dp"
|
android:layout_height="56dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
|
android:layout_margin="32dp"
|
||||||
app:srcCompat="@drawable/ic_tachi"
|
app:srcCompat="@drawable/ic_tachi"
|
||||||
app:tint="?attr/colorOnSurface"
|
app:tint="?attr/colorOnSurface"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
|
<com.google.android.material.divider.MaterialDivider
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="bottom" />
|
||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
|
|
@ -155,6 +155,14 @@
|
||||||
<style name="Widget.Tachiyomi.Button.OutlinedButton" parent="Widget.Material3.Button.OutlinedButton" />
|
<style name="Widget.Tachiyomi.Button.OutlinedButton" parent="Widget.Material3.Button.OutlinedButton" />
|
||||||
|
|
||||||
|
|
||||||
|
<!--=======================-->
|
||||||
|
<!--Widgets.MaterialDivider-->
|
||||||
|
<!--=======================-->
|
||||||
|
<style name="Widget.Tachiyomi.MaterialDivider" parent="Widget.Material3.MaterialDivider">
|
||||||
|
<item name="dividerColor">@color/divider_default</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
<!--=================-->
|
<!--=================-->
|
||||||
<!--Widgets.TabLayout-->
|
<!--Widgets.TabLayout-->
|
||||||
<!--=================-->
|
<!--=================-->
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
|
|
||||||
<item name="android:divider">@color/divider_default</item>
|
<item name="android:divider">@color/divider_default</item>
|
||||||
<item name="android:listDivider">@drawable/line_divider</item>
|
<item name="android:listDivider">@drawable/line_divider</item>
|
||||||
|
<item name="materialDividerStyle">@style/Widget.Tachiyomi.MaterialDivider</item>
|
||||||
|
|
||||||
<!-- Ripples -->
|
<!-- Ripples -->
|
||||||
<item name="colorControlHighlight">?attr/colorSurfaceVariant</item>
|
<item name="colorControlHighlight">?attr/colorSurfaceVariant</item>
|
||||||
|
|
Loading…
Reference in a new issue