From a0e69428e425da09c039e66edebd00e09f546a2b Mon Sep 17 00:00:00 2001 From: Zakhar Timoshenko Date: Wed, 14 Sep 2022 18:47:06 +0300 Subject: [PATCH] Widget theme fix #225 --- app/src/main/res/layout/item_recent.xml | 2 +- app/src/main/res/layout/item_shelf.xml | 9 ++++++--- app/src/main/res/values-night-v31/themes.xml | 7 ++++++- app/src/main/res/values-v31/themes.xml | 2 +- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/item_recent.xml b/app/src/main/res/layout/item_recent.xml index 26cd12560..3c73fc7eb 100644 --- a/app/src/main/res/layout/item_recent.xml +++ b/app/src/main/res/layout/item_recent.xml @@ -6,4 +6,4 @@ android:layout_width="@dimen/widget_cover_width" android:layout_height="@dimen/widget_cover_height" android:scaleType="centerCrop" - tools:ignore="ContentDescription" /> \ No newline at end of file + tools:ignore="ContentDescription" /> diff --git a/app/src/main/res/layout/item_shelf.xml b/app/src/main/res/layout/item_shelf.xml index e822c45bf..4d5d9d2bb 100644 --- a/app/src/main/res/layout/item_shelf.xml +++ b/app/src/main/res/layout/item_shelf.xml @@ -23,7 +23,8 @@ android:layout_width="@dimen/widget_cover_width" android:layout_height="@dimen/widget_cover_height" android:scaleType="centerCrop" - tools:ignore="ContentDescription" /> + tools:ignore="ContentDescription" + tools:src="@sample/covers" /> + android:padding="2dp" + android:textColor="?android:attr/textColorPrimary" + tools:text="@sample/titles" /> - \ No newline at end of file + diff --git a/app/src/main/res/values-night-v31/themes.xml b/app/src/main/res/values-night-v31/themes.xml index a19e8d7ad..e57b7c907 100644 --- a/app/src/main/res/values-night-v31/themes.xml +++ b/app/src/main/res/values-night-v31/themes.xml @@ -41,4 +41,9 @@ @color/m3_dynamic_highlighted_text @color/m3_dynamic_dark_default_color_primary_text - \ No newline at end of file + + + diff --git a/app/src/main/res/values-v31/themes.xml b/app/src/main/res/values-v31/themes.xml index c84e6787a..f53d18f4b 100644 --- a/app/src/main/res/values-v31/themes.xml +++ b/app/src/main/res/values-v31/themes.xml @@ -47,4 +47,4 @@ @android:color/system_accent1_100 - \ No newline at end of file +