From ffc7084b37a03df1cd691e0a0f4e4f9a74526337 Mon Sep 17 00:00:00 2001 From: Brandon Dayauon Date: Thu, 16 Feb 2023 16:31:37 -0800 Subject: [PATCH] Correctly make to spec the color for "Turn on work apps" button and add stroke - define color in base and quickstep bug: 267975252 test: Manual - video: lightTheme: https://drive.google.com/file/d/1noY5Grq4jOxFIheL91KB_sOYRwp8XIyD/view?usp=sharing test: darkTheme: https://drive.google.com/file/d/1o1uaTedAKbPy3BTG1GKJ0ldyHFs0-jGN/view?usp=sharing Change-Id: I266b6624aa6f045c1f30c0db984fa9e1c5f6fe7e --- quickstep/res/values-night/colors.xml | 4 +++- quickstep/res/values/colors.xml | 4 +++- res/drawable/bg_work_apps_paused_action_button.xml | 5 +++-- res/layout/work_apps_paused.xml | 4 ++-- res/values/attrs.xml | 1 - res/values/colors.xml | 2 ++ res/values/dimens.xml | 1 + res/values/styles.xml | 2 -- 8 files changed, 14 insertions(+), 9 deletions(-) diff --git a/quickstep/res/values-night/colors.xml b/quickstep/res/values-night/colors.xml index af6e0647a1..6474c48460 100644 --- a/quickstep/res/values-night/colors.xml +++ b/quickstep/res/values-night/colors.xml @@ -13,7 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. --> - + #99000000 @@ -24,4 +24,6 @@ #FF000000 + + ?androidprv:attr/colorAccentSecondaryVariant \ No newline at end of file diff --git a/quickstep/res/values/colors.xml b/quickstep/res/values/colors.xml index 55df38fcf4..7ac397994f 100644 --- a/quickstep/res/values/colors.xml +++ b/quickstep/res/values/colors.xml @@ -13,7 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. --> - + #fff #39000000 @@ -95,4 +95,6 @@ #fcc934 #f9ab00 + + ?androidprv:attr/colorAccentPrimaryVariant \ No newline at end of file diff --git a/res/drawable/bg_work_apps_paused_action_button.xml b/res/drawable/bg_work_apps_paused_action_button.xml index 74d469322a..57d1ae5938 100644 --- a/res/drawable/bg_work_apps_paused_action_button.xml +++ b/res/drawable/bg_work_apps_paused_action_button.xml @@ -21,11 +21,12 @@ - - + \ No newline at end of file diff --git a/res/layout/work_apps_paused.xml b/res/layout/work_apps_paused.xml index f614d9b75f..52c5a492c5 100644 --- a/res/layout/work_apps_paused.xml +++ b/res/layout/work_apps_paused.xml @@ -21,7 +21,7 @@ - diff --git a/res/values/colors.xml b/res/values/colors.xml index ef7bf91a11..3b3c43b955 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -88,4 +88,6 @@ #B5CAD7 #4BB6E8 #40484D + + ?android:attr/colorAccent diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 82758bfde2..aa84d2ba92 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -155,6 +155,7 @@ 16dp 16dp 26dp + 1dp 24dp diff --git a/res/values/styles.xml b/res/values/styles.xml index 474a289a2e..65d215fe11 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -59,7 +59,6 @@ @color/folder_hint_text_color_dark #CCFFFFFF ?android:attr/textColorSecondary - #FF212121 ?android:attr/colorAccent @color/workspace_accent_color_light @color/workspace_text_color_dark @@ -114,7 +113,6 @@ true #99FFFFFF #B3FFFFFF - @android:color/white #DD000000 @color/overview_scrim_dark @color/preload_icon_accent_color_dark