From 94b5a9e1475a362e80fa1c9223645541092830a1 Mon Sep 17 00:00:00 2001 From: Lucas Silva Date: Mon, 1 May 2023 15:21:11 -0400 Subject: [PATCH] Fix colors for dreams settings according to new spec Fixes: 279780657 Test: open settings > display > screen saver and verified colors are correct in both light/dark modes Change-Id: Ibb2ba40807c937161f4dfa565f10d0ca2fb35549 --- res/color/dream_card_color_state_list.xml | 4 ++-- .../dream_card_icon_color_state_list.xml | 4 ++-- .../dream_card_summary_color_state_list.xml | 22 +++++++++++++++++++ .../dream_card_text_color_state_list.xml | 4 ++-- res/drawable/dream_default_preview_icon.xml | 3 ++- res/drawable/dream_preview_rounded_bg.xml | 2 +- res/layout/dream_preference_layout.xml | 2 +- res/layout/dream_preview_button.xml | 7 +++--- 8 files changed, 35 insertions(+), 13 deletions(-) create mode 100644 res/color/dream_card_summary_color_state_list.xml diff --git a/res/color/dream_card_color_state_list.xml b/res/color/dream_card_color_state_list.xml index eae3fe46a6d..082408d1583 100644 --- a/res/color/dream_card_color_state_list.xml +++ b/res/color/dream_card_color_state_list.xml @@ -17,6 +17,6 @@ - - + + \ No newline at end of file diff --git a/res/color/dream_card_icon_color_state_list.xml b/res/color/dream_card_icon_color_state_list.xml index a91ae3d3be3..ed34ae39357 100644 --- a/res/color/dream_card_icon_color_state_list.xml +++ b/res/color/dream_card_icon_color_state_list.xml @@ -17,6 +17,6 @@ - - + + \ No newline at end of file diff --git a/res/color/dream_card_summary_color_state_list.xml b/res/color/dream_card_summary_color_state_list.xml new file mode 100644 index 00000000000..a1845f44d95 --- /dev/null +++ b/res/color/dream_card_summary_color_state_list.xml @@ -0,0 +1,22 @@ + + + + + + + \ No newline at end of file diff --git a/res/color/dream_card_text_color_state_list.xml b/res/color/dream_card_text_color_state_list.xml index bd1f16578ea..b39bbed75c9 100644 --- a/res/color/dream_card_text_color_state_list.xml +++ b/res/color/dream_card_text_color_state_list.xml @@ -17,6 +17,6 @@ - - + + \ No newline at end of file diff --git a/res/drawable/dream_default_preview_icon.xml b/res/drawable/dream_default_preview_icon.xml index 7d247bb2957..8989929fdd7 100644 --- a/res/drawable/dream_default_preview_icon.xml +++ b/res/drawable/dream_default_preview_icon.xml @@ -15,10 +15,11 @@ --> - \ No newline at end of file diff --git a/res/drawable/dream_preview_rounded_bg.xml b/res/drawable/dream_preview_rounded_bg.xml index 2aae26b2ad2..7cae599b6c8 100644 --- a/res/drawable/dream_preview_rounded_bg.xml +++ b/res/drawable/dream_preview_rounded_bg.xml @@ -17,6 +17,6 @@ - + \ No newline at end of file diff --git a/res/layout/dream_preference_layout.xml b/res/layout/dream_preference_layout.xml index f7281c1a573..aff8ad3133e 100644 --- a/res/layout/dream_preference_layout.xml +++ b/res/layout/dream_preference_layout.xml @@ -93,7 +93,7 @@ android:maxLines="2" android:ellipsize="end" android:textSize="@dimen/dream_item_summary_text_size" - android:textColor="@color/dream_card_text_color_state_list" + android:textColor="@color/dream_card_summary_color_state_list" app:layout_constraintTop_toBottomOf="@+id/title_text" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/res/layout/dream_preview_button.xml b/res/layout/dream_preview_button.xml index 04d272aecdd..feeb9dd36ea 100644 --- a/res/layout/dream_preview_button.xml +++ b/res/layout/dream_preview_button.xml @@ -17,17 +17,16 @@