From 0983cd65da74b225a86926845e37c339e3c6d5bc Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Date: Fri, 12 Dec 2025 21:37:43 +0100 Subject: [PATCH] [android] Use M3 background colors on somes screens Signed-off-by: Jean-Baptiste --- .../app/src/main/res/layout/activity_map_placeholder.xml | 1 - .../src/main/res/layout/activity_request_permissions.xml | 1 - android/app/src/main/res/values-night/themes.xml | 2 +- android/app/src/main/res/values/themes.xml | 6 +++--- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/android/app/src/main/res/layout/activity_map_placeholder.xml b/android/app/src/main/res/layout/activity_map_placeholder.xml index 2d3af6140..515152302 100644 --- a/android/app/src/main/res/layout/activity_map_placeholder.xml +++ b/android/app/src/main/res/layout/activity_map_placeholder.xml @@ -4,7 +4,6 @@ android:layout_width="match_parent" android:layout_height="match_parent" xmlns:app="http://schemas.android.com/apk/res-auto" - android:background="?cardBackground" android:gravity="center" android:orientation="vertical"> diff --git a/android/app/src/main/res/layout/activity_request_permissions.xml b/android/app/src/main/res/layout/activity_request_permissions.xml index 1b6ad8d60..20c7e0f0b 100644 --- a/android/app/src/main/res/layout/activity_request_permissions.xml +++ b/android/app/src/main/res/layout/activity_request_permissions.xml @@ -3,7 +3,6 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="?cardBackground" android:gravity="center" android:orientation="vertical"> diff --git a/android/app/src/main/res/values-night/themes.xml b/android/app/src/main/res/values-night/themes.xml index 314aeed2d..a332b1fab 100644 --- a/android/app/src/main/res/values-night/themes.xml +++ b/android/app/src/main/res/values-night/themes.xml @@ -11,7 +11,7 @@ @color/text_light @color/text_dark @color/text_light_subtitle - ?windowBackgroundForced + ?android:attr/colorBackground @color/bg_primary_dark stateUnspecified|adjustPan @string/robotoRegular diff --git a/android/app/src/main/res/values/themes.xml b/android/app/src/main/res/values/themes.xml index 3336929e7..39a2c35a5 100644 --- a/android/app/src/main/res/values/themes.xml +++ b/android/app/src/main/res/values/themes.xml @@ -12,7 +12,7 @@ @color/text_dark @color/text_light @color/text_dark_subtitle - ?windowBackgroundForced + ?android:attr/colorBackground @color/bg_primary_dark stateUnspecified|adjustPan @string/robotoRegular @@ -191,8 +191,8 @@