Tweak dialog corner radius
This commit is contained in:
parent
1e58b05ead
commit
18b1326f3a
@ -13,7 +13,7 @@
|
|||||||
<androidx.cardview.widget.CardView
|
<androidx.cardview.widget.CardView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
app:cardCornerRadius="@dimen/card_radius">
|
app:cardCornerRadius="@dimen/dialog_radius">
|
||||||
|
|
||||||
<com.google.android.material.appbar.MaterialToolbar
|
<com.google.android.material.appbar.MaterialToolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
<dimen name="space_between_cards">4dp</dimen>
|
<dimen name="space_between_cards">4dp</dimen>
|
||||||
<dimen name="card_radius">4dp</dimen>
|
<dimen name="card_radius">4dp</dimen>
|
||||||
|
<dimen name="dialog_radius">8dp</dimen>
|
||||||
|
|
||||||
<dimen name="fab_size">56dp</dimen>
|
<dimen name="fab_size">56dp</dimen>
|
||||||
<dimen name="fab_list_padding">88dp</dimen>
|
<dimen name="fab_list_padding">88dp</dimen>
|
||||||
|
@ -65,8 +65,8 @@
|
|||||||
|
|
||||||
<style name="Theme.BottomSheet.Style.ShapeAppearance" parent="">
|
<style name="Theme.BottomSheet.Style.ShapeAppearance" parent="">
|
||||||
<item name="cornerFamily">rounded</item>
|
<item name="cornerFamily">rounded</item>
|
||||||
<item name="cornerSizeTopRight">8dp</item>
|
<item name="cornerSizeTopRight">@dimen/dialog_radius</item>
|
||||||
<item name="cornerSizeTopLeft">8dp</item>
|
<item name="cornerSizeTopLeft">@dimen/dialog_radius</item>
|
||||||
<item name="cornerSizeBottomRight">0dp</item>
|
<item name="cornerSizeBottomRight">0dp</item>
|
||||||
<item name="cornerSizeBottomLeft">0dp</item>
|
<item name="cornerSizeBottomLeft">0dp</item>
|
||||||
</style>
|
</style>
|
||||||
|
@ -76,7 +76,7 @@
|
|||||||
<item name="md_color_content">?attr/colorOnSurface</item>
|
<item name="md_color_content">?attr/colorOnSurface</item>
|
||||||
<item name="md_color_button_text">?attr/colorAccent</item>
|
<item name="md_color_button_text">?attr/colorAccent</item>
|
||||||
<item name="md_button_casing">literal</item>
|
<item name="md_button_casing">literal</item>
|
||||||
<item name="md_corner_radius">@dimen/card_radius</item>
|
<item name="md_corner_radius">@dimen/dialog_radius</item>
|
||||||
|
|
||||||
<!-- Custom Attributes-->
|
<!-- Custom Attributes-->
|
||||||
<item name="colorLibrarySelection">?attr/colorAccent</item>
|
<item name="colorLibrarySelection">?attr/colorAccent</item>
|
||||||
@ -170,7 +170,7 @@
|
|||||||
<item name="md_color_content">?attr/colorOnSurface</item>
|
<item name="md_color_content">?attr/colorOnSurface</item>
|
||||||
<item name="md_color_button_text">?attr/colorAccent</item>
|
<item name="md_color_button_text">?attr/colorAccent</item>
|
||||||
<item name="md_button_casing">literal</item>
|
<item name="md_button_casing">literal</item>
|
||||||
<item name="md_corner_radius">@dimen/card_radius</item>
|
<item name="md_corner_radius">@dimen/dialog_radius</item>
|
||||||
|
|
||||||
<!-- Custom Attributes-->
|
<!-- Custom Attributes-->
|
||||||
<item name="colorLibrarySelection">?attr/colorAccent</item>
|
<item name="colorLibrarySelection">?attr/colorAccent</item>
|
||||||
|
Loading…
Reference in New Issue
Block a user