diff --git a/packages/SystemUI/res/layout/alert_dialog_systemui.xml b/packages/SystemUI/res/layout/alert_dialog_systemui.xml index 528f603c6a83a..fd06238127454 100644 --- a/packages/SystemUI/res/layout/alert_dialog_systemui.xml +++ b/packages/SystemUI/res/layout/alert_dialog_systemui.xml @@ -1,7 +1,6 @@ - - - + + + + + android:minHeight="48dp" + android:paddingStart="@dimen/dialog_side_padding" + android:paddingEnd="@dimen/dialog_side_padding" + > - - - + android:clipToPadding="false"> - + android:orientation="vertical"> - + + + style="@style/TextAppearance.Dialog.Body.Message" /> - + + + + - - - - - - + + + + + - - - - - - - - - - \ No newline at end of file + layout="@layout/alert_dialog_button_bar_systemui" /> + + \ No newline at end of file diff --git a/packages/SystemUI/res/layout/scrollable_alert_dialog_systemui.xml b/packages/SystemUI/res/layout/scrollable_alert_dialog_systemui.xml new file mode 100644 index 0000000000000..71bb938dfdf4f --- /dev/null +++ b/packages/SystemUI/res/layout/scrollable_alert_dialog_systemui.xml @@ -0,0 +1,25 @@ + + + + + + + + \ No newline at end of file diff --git a/packages/SystemUI/res/values/styles.xml b/packages/SystemUI/res/values/styles.xml index c93c0652a070b..f2b263e219308 100644 --- a/packages/SystemUI/res/values/styles.xml +++ b/packages/SystemUI/res/values/styles.xml @@ -380,7 +380,7 @@ @style/Widget.Dialog.Button.BorderButton @style/Widget.Dialog.Button.BorderButton ?androidprv:attr/colorSurface - @style/AlertDialogStyle + @style/ScrollableAlertDialogStyle @style/ButtonBarStyle @style/Widget.Dialog.Button.Large @@ -389,6 +389,10 @@ @layout/alert_dialog_systemui + +