From 2ba8a39289341bd1a38de374a36e4488b908b697 Mon Sep 17 00:00:00 2001 From: MohitGupta121 Date: Mon, 28 Aug 2023 11:46:47 -0600 Subject: [PATCH 1/2] Force dark mode false for Promotional image views --- .../res/layout/profile_progress_recently_played_story_card.xml | 1 + app/src/main/res/layout/promoted_story_card.xml | 1 + app/src/main/res/layout/recently_played_story_card.xml | 1 + 3 files changed, 3 insertions(+) diff --git a/app/src/main/res/layout/profile_progress_recently_played_story_card.xml b/app/src/main/res/layout/profile_progress_recently_played_story_card.xml index 78a4576dbdd..504899e79d4 100755 --- a/app/src/main/res/layout/profile_progress_recently_played_story_card.xml +++ b/app/src/main/res/layout/profile_progress_recently_played_story_card.xml @@ -37,6 +37,7 @@ android:importantForAccessibility="no" app:entityId="@{viewModel.promotedStory.storyId}" app:entityType="@{viewModel.entityType}" + app:forceDarkAllowed="false" app:layout_constraintDimensionRatio="4:3" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout/promoted_story_card.xml b/app/src/main/res/layout/promoted_story_card.xml index 739f4bf4b57..43df658782a 100755 --- a/app/src/main/res/layout/promoted_story_card.xml +++ b/app/src/main/res/layout/promoted_story_card.xml @@ -35,6 +35,7 @@ android:importantForAccessibility="no" app:entityId="@{viewModel.promotedStory.storyId}" app:entityType="@{viewModel.entityType}" + app:forceDarkAllowed="false" app:layout_constraintDimensionRatio="H, 16:9" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout/recently_played_story_card.xml b/app/src/main/res/layout/recently_played_story_card.xml index 9a85ae3f8c1..2208696d35b 100755 --- a/app/src/main/res/layout/recently_played_story_card.xml +++ b/app/src/main/res/layout/recently_played_story_card.xml @@ -38,6 +38,7 @@ android:importantForAccessibility="no" app:entityId="@{viewModel.promotedStory.storyId}" app:entityType="@{viewModel.entityType}" + app:forceDarkAllowed="false" app:layout_constraintDimensionRatio="4:3" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" From f0837d22fe1ddcf8de6b29c24f5f1b5c17f7b015 Mon Sep 17 00:00:00 2001 From: MohitGupta121 Date: Tue, 5 Sep 2023 12:23:35 -0600 Subject: [PATCH 2/2] update app to android --- .../res/layout/profile_progress_recently_played_story_card.xml | 2 +- app/src/main/res/layout/promoted_story_card.xml | 2 +- app/src/main/res/layout/recently_played_story_card.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/res/layout/profile_progress_recently_played_story_card.xml b/app/src/main/res/layout/profile_progress_recently_played_story_card.xml index 504899e79d4..5730c5b283e 100755 --- a/app/src/main/res/layout/profile_progress_recently_played_story_card.xml +++ b/app/src/main/res/layout/profile_progress_recently_played_story_card.xml @@ -37,7 +37,7 @@ android:importantForAccessibility="no" app:entityId="@{viewModel.promotedStory.storyId}" app:entityType="@{viewModel.entityType}" - app:forceDarkAllowed="false" + android:forceDarkAllowed="false" app:layout_constraintDimensionRatio="4:3" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout/promoted_story_card.xml b/app/src/main/res/layout/promoted_story_card.xml index 43df658782a..91e711e0dae 100755 --- a/app/src/main/res/layout/promoted_story_card.xml +++ b/app/src/main/res/layout/promoted_story_card.xml @@ -35,7 +35,7 @@ android:importantForAccessibility="no" app:entityId="@{viewModel.promotedStory.storyId}" app:entityType="@{viewModel.entityType}" - app:forceDarkAllowed="false" + android:forceDarkAllowed="false" app:layout_constraintDimensionRatio="H, 16:9" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout/recently_played_story_card.xml b/app/src/main/res/layout/recently_played_story_card.xml index 2208696d35b..6dff08a05de 100755 --- a/app/src/main/res/layout/recently_played_story_card.xml +++ b/app/src/main/res/layout/recently_played_story_card.xml @@ -38,7 +38,7 @@ android:importantForAccessibility="no" app:entityId="@{viewModel.promotedStory.storyId}" app:entityType="@{viewModel.entityType}" - app:forceDarkAllowed="false" + android:forceDarkAllowed="false" app:layout_constraintDimensionRatio="4:3" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent"