Skip to content

Commit

Permalink
reduce vertical padding around dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
johan12345 committed Aug 2, 2023
1 parent 6f0113c commit c37f72a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@
<!-- this is necessary to make sure the dialog gets "pushed up" when the keyboard appears -->
<item name="android:windowTranslucentStatus">false</item>
<item name="dialogCornerRadius">28dp</item>
<item name="alertDialogStyle">@style/MaterialAlertDialog.App</item>
</style>

<style name="MaterialAlertDialog.App" parent="MaterialAlertDialog.Material3">
<!-- reduce insets from 80dp to 24dp -->
<item name="backgroundInsetTop">24dp</item>
<item name="backgroundInsetBottom">24dp</item>
</style>

<style name="CarAppTheme">
Expand Down

0 comments on commit c37f72a

Please sign in to comment.