From 448786cc5f3b64f770ae5995c831d6932080169a Mon Sep 17 00:00:00 2001 From: Lucas Dupin Date: Mon, 24 Jul 2017 17:44:25 -0700 Subject: Themable volume and power dialogs Test: visual Bug: 63903361 Change-Id: I3e4dc74e960f212985712120341d3a80543c96db --- packages/SystemUI/res/drawable/rounded_bg.xml | 2 +- packages/SystemUI/res/drawable/rounded_bg_bottom.xml | 2 +- packages/SystemUI/res/drawable/rounded_bg_full.xml | 2 +- .../SystemUI/res/drawable/rounded_full_bg_bottom.xml | 2 +- .../res/drawable/volume_dialog_background.xml | 2 +- .../SystemUI/res/layout/global_actions_wrapped.xml | 1 + packages/SystemUI/res/layout/volume_dialog.xml | 1 + .../src/com/android/systemui/HardwareBgDrawable.java | 20 ++++++++++++-------- .../systemui/globalactions/GlobalActionsDialog.java | 5 +++-- .../systemui/globalactions/GlobalActionsImpl.java | 5 ++--- .../android/systemui/volume/VolumeDialogImpl.java | 3 ++- 11 files changed, 26 insertions(+), 19 deletions(-) diff --git a/packages/SystemUI/res/drawable/rounded_bg.xml b/packages/SystemUI/res/drawable/rounded_bg.xml index 56aa9fe800d9..c23a87fbfb79 100644 --- a/packages/SystemUI/res/drawable/rounded_bg.xml +++ b/packages/SystemUI/res/drawable/rounded_bg.xml @@ -1,7 +1,7 @@ - + - + - + - + - + \ No newline at end of file diff --git a/packages/SystemUI/res/layout/global_actions_wrapped.xml b/packages/SystemUI/res/layout/global_actions_wrapped.xml index 528a53475661..ec357d252a5c 100644 --- a/packages/SystemUI/res/layout/global_actions_wrapped.xml +++ b/packages/SystemUI/res/layout/global_actions_wrapped.xml @@ -6,6 +6,7 @@ android:layout_marginBottom="0dp" android:paddingTop="@dimen/global_actions_top_padding" android:clipToPadding="false" + android:theme="@style/qs_theme" android:clipChildren="false">