Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b002aaa2 authored by Edgar Wang's avatar Edgar Wang
Browse files

[Expressive design] update AlertDialog padding to avoid truncation

Bug: 406415609
Test: visual
Flag: EXEMPT bug fix
Change-Id: I01b7f8a54e1026514f948292eb987f919853390d
parent 310a428b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -127,7 +127,8 @@
    </style>

    <style name="Widget.SettingsLib.ButtonBar" parent="@style/Widget.AppCompat.ButtonBar.AlertDialog">
        <item name="android:paddingBottom">@dimen/settingslib_expressive_space_small4</item>
        <item name="android:paddingBottom">@dimen/settingslib_expressive_space_small1</item>
        <item name="android:minHeight">@dimen/settingslib_expressive_space_large2</item>
    </style>

    <style name="Widget.SettingsLib.DialogButton" parent="@style/Widget.AppCompat.Button">
+2 −0
Original line number Diff line number Diff line
@@ -54,6 +54,8 @@

        <!-- For AndroidX AlertDialog -->
        <item name="alertDialogTheme">@style/Theme.AlertDialog.SettingsLib.Expressive</item>
        <!-- For AlertDialog -->
        <item name="android:alertDialogTheme">@style/Theme.AlertDialog.SettingsLib.Expressive</item>
    </style>

    <style name="Theme.AlertDialog.SettingsLib.Expressive">