Tweak dialog corner radius

This commit is contained in:
arkon 2021-03-13 17:18:22 -05:00
parent 1e58b05ead
commit 18b1326f3a
4 changed files with 6 additions and 5 deletions

View File

@ -13,7 +13,7 @@
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardCornerRadius="@dimen/card_radius">
app:cardCornerRadius="@dimen/dialog_radius">
<com.google.android.material.appbar.MaterialToolbar
android:layout_width="match_parent"

View File

@ -6,6 +6,7 @@
<dimen name="space_between_cards">4dp</dimen>
<dimen name="card_radius">4dp</dimen>
<dimen name="dialog_radius">8dp</dimen>
<dimen name="fab_size">56dp</dimen>
<dimen name="fab_list_padding">88dp</dimen>

View File

@ -65,8 +65,8 @@
<style name="Theme.BottomSheet.Style.ShapeAppearance" parent="">
<item name="cornerFamily">rounded</item>
<item name="cornerSizeTopRight">8dp</item>
<item name="cornerSizeTopLeft">8dp</item>
<item name="cornerSizeTopRight">@dimen/dialog_radius</item>
<item name="cornerSizeTopLeft">@dimen/dialog_radius</item>
<item name="cornerSizeBottomRight">0dp</item>
<item name="cornerSizeBottomLeft">0dp</item>
</style>

View File

@ -76,7 +76,7 @@
<item name="md_color_content">?attr/colorOnSurface</item>
<item name="md_color_button_text">?attr/colorAccent</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-->
<item name="colorLibrarySelection">?attr/colorAccent</item>
@ -170,7 +170,7 @@
<item name="md_color_content">?attr/colorOnSurface</item>
<item name="md_color_button_text">?attr/colorAccent</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-->
<item name="colorLibrarySelection">?attr/colorAccent</item>