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

Commit 3bdfb95c authored by Mill Chen's avatar Mill Chen
Browse files

[Expressive] update minHeight of dialog's button bar

For dialogs with a long content area, the button bar may have a scroll
bar. This happens when the height of the buttons exceeds the minHeight
property of the button bar, causing the buttons to overflow and the
scroll bar to appear.

Bug: 433457325
Bug: 406415609
Test: visual verify
Flag: EXEMPT bugfix
Change-Id: If52405b7525818e97764740b46f31ab2d1ba445d
parent a666e955
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -427,10 +427,7 @@
    </style>

    <style name="Widget.SettingsLib.ButtonBar" parent="@style/Widget.AppCompat.ButtonBar.AlertDialog">
        <item name="android:paddingTop">28dp</item>
        <item name="android:paddingBottom">@dimen/settingslib_expressive_space_extrasmall6</item>
        <item name="android:minHeight">@dimen/settingslib_expressive_space_large2</item>
        <item name="android:clipToPadding">false</item>
        <item name="android:minHeight">88dp</item>
    </style>

    <style name="Widget.SettingsLib.DialogButton" parent="@android:style/Widget.DeviceDefault.Button">