From 4ba9043f615f52953193895f6435d820d3545d0c Mon Sep 17 00:00:00 2001 From: Massimo Carli Date: Mon, 13 Feb 2023 17:58:34 +0000 Subject: [PATCH] Removed unwanted shadow in restart and letterbox education dialogs Fixes: 269101633 Test: Click on the restart button and check buttons don't have shadows in the restart dialog. Same for the dismiss button in the letterbox education dialog. Change-Id: I0c7dc1f9894f0417f66f13afd35a45f93f925b26 --- ...ox_education_dismiss_button_background.xml | 21 ------------ ...ation_dismiss_button_background_ripple.xml | 31 ++++++++++++++--- .../letterbox_restart_button_background.xml | 22 ------------ ...erbox_restart_button_background_ripple.xml | 32 ++++++++++++++--- ...rbox_restart_dismiss_button_background.xml | 23 ------------- ...start_dismiss_button_background_ripple.xml | 34 ++++++++++++++++--- libs/WindowManager/Shell/res/values/dimen.xml | 21 ++++++++++++ 7 files changed, 106 insertions(+), 78 deletions(-) delete mode 100644 libs/WindowManager/Shell/res/drawable/letterbox_education_dismiss_button_background.xml delete mode 100644 libs/WindowManager/Shell/res/drawable/letterbox_restart_button_background.xml delete mode 100644 libs/WindowManager/Shell/res/drawable/letterbox_restart_dismiss_button_background.xml diff --git a/libs/WindowManager/Shell/res/drawable/letterbox_education_dismiss_button_background.xml b/libs/WindowManager/Shell/res/drawable/letterbox_education_dismiss_button_background.xml deleted file mode 100644 index 0d8811357c058..0000000000000 --- a/libs/WindowManager/Shell/res/drawable/letterbox_education_dismiss_button_background.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/libs/WindowManager/Shell/res/drawable/letterbox_education_dismiss_button_background_ripple.xml b/libs/WindowManager/Shell/res/drawable/letterbox_education_dismiss_button_background_ripple.xml index 42572d64b96fd..a2699681e6564 100644 --- a/libs/WindowManager/Shell/res/drawable/letterbox_education_dismiss_button_background_ripple.xml +++ b/libs/WindowManager/Shell/res/drawable/letterbox_education_dismiss_button_background_ripple.xml @@ -14,7 +14,30 @@ ~ See the License for the specific language governing permissions and ~ limitations under the License. --> - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + diff --git a/libs/WindowManager/Shell/res/drawable/letterbox_restart_button_background.xml b/libs/WindowManager/Shell/res/drawable/letterbox_restart_button_background.xml deleted file mode 100644 index 60f3cfe6dde6f..0000000000000 --- a/libs/WindowManager/Shell/res/drawable/letterbox_restart_button_background.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/libs/WindowManager/Shell/res/drawable/letterbox_restart_button_background_ripple.xml b/libs/WindowManager/Shell/res/drawable/letterbox_restart_button_background_ripple.xml index ef97ea19e9936..1f125148775dd 100644 --- a/libs/WindowManager/Shell/res/drawable/letterbox_restart_button_background_ripple.xml +++ b/libs/WindowManager/Shell/res/drawable/letterbox_restart_button_background_ripple.xml @@ -14,7 +14,31 @@ ~ See the License for the specific language governing permissions and ~ limitations under the License. --> - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/libs/WindowManager/Shell/res/drawable/letterbox_restart_dismiss_button_background.xml b/libs/WindowManager/Shell/res/drawable/letterbox_restart_dismiss_button_background.xml deleted file mode 100644 index af89d41ee6b54..0000000000000 --- a/libs/WindowManager/Shell/res/drawable/letterbox_restart_dismiss_button_background.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/libs/WindowManager/Shell/res/drawable/letterbox_restart_dismiss_button_background_ripple.xml b/libs/WindowManager/Shell/res/drawable/letterbox_restart_dismiss_button_background_ripple.xml index e32aefca78acd..3aa0981e45aaa 100644 --- a/libs/WindowManager/Shell/res/drawable/letterbox_restart_dismiss_button_background_ripple.xml +++ b/libs/WindowManager/Shell/res/drawable/letterbox_restart_dismiss_button_background_ripple.xml @@ -14,7 +14,33 @@ ~ See the License for the specific language governing permissions and ~ limitations under the License. --> - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/libs/WindowManager/Shell/res/values/dimen.xml b/libs/WindowManager/Shell/res/values/dimen.xml index 1f9b6cf6c64ff..336c156e831a8 100644 --- a/libs/WindowManager/Shell/res/values/dimen.xml +++ b/libs/WindowManager/Shell/res/values/dimen.xml @@ -273,6 +273,18 @@ 24dp + + 12dp + + + 16dp + + + 8dp + + + 6dp + 24dp @@ -306,6 +318,15 @@ 18dp + + 6dp + + + 16dp + + + 8dp + 200dp