From 717a9c2fa6d11d94c4924fbba59ee3676ea72e6e Mon Sep 17 00:00:00 2001 From: Graciela Wissen Putri Date: Mon, 27 Feb 2023 18:12:09 +0000 Subject: Fix overdraw lint warnings in letterbox dialog Use same style for both letterbox restart and education dialog layout Fix: 266288912 Test: Manual Change-Id: Ib17fef05d035f87a8c5e6fb2814632caf19ae23f --- .../Shell/res/layout/letterbox_education_dialog_layout.xml | 4 +--- .../Shell/res/layout/letterbox_restart_dialog_layout.xml | 6 +----- libs/WindowManager/Shell/res/values/colors.xml | 3 +++ libs/WindowManager/Shell/res/values/styles.xml | 6 ++++++ 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/libs/WindowManager/Shell/res/layout/letterbox_education_dialog_layout.xml b/libs/WindowManager/Shell/res/layout/letterbox_education_dialog_layout.xml index 3a44eb9089dd..100ed18b6a66 100644 --- a/libs/WindowManager/Shell/res/layout/letterbox_education_dialog_layout.xml +++ b/libs/WindowManager/Shell/res/layout/letterbox_education_dialog_layout.xml @@ -16,9 +16,7 @@ + style="@style/LetterboxDialog"> diff --git a/libs/WindowManager/Shell/res/layout/letterbox_restart_dialog_layout.xml b/libs/WindowManager/Shell/res/layout/letterbox_restart_dialog_layout.xml index ba9852c4dd6b..5aff4159e135 100644 --- a/libs/WindowManager/Shell/res/layout/letterbox_restart_dialog_layout.xml +++ b/libs/WindowManager/Shell/res/layout/letterbox_restart_dialog_layout.xml @@ -16,14 +16,10 @@ + style="@style/LetterboxDialog"> - - diff --git a/libs/WindowManager/Shell/res/values/colors.xml b/libs/WindowManager/Shell/res/values/colors.xml index 6e750a3d5e34..965ab1519df4 100644 --- a/libs/WindowManager/Shell/res/values/colors.xml +++ b/libs/WindowManager/Shell/res/values/colors.xml @@ -41,6 +41,9 @@ @android:color/system_accent1_100 @android:color/system_neutral2_200 + + @android:color/system_neutral1_900 + #E8EAED #5F6368 diff --git a/libs/WindowManager/Shell/res/values/styles.xml b/libs/WindowManager/Shell/res/values/styles.xml index bae009a0526f..776186c74737 100644 --- a/libs/WindowManager/Shell/res/values/styles.xml +++ b/libs/WindowManager/Shell/res/values/styles.xml @@ -80,6 +80,12 @@ @color/tv_pip_edu_text + +