From 4ce94d57d56c64f698d59a04b8bcb0ed48d314d4 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Date: Sat, 17 Jan 2026 12:15:16 +0100 Subject: [PATCH] [android] Update colors used in the editor Signed-off-by: Jean-Baptiste --- android/app/src/main/res/layout/fragment_editor.xml | 2 +- android/app/src/main/res/layout/fragment_phone.xml | 2 +- android/app/src/main/res/layout/fragment_timetable.xml | 4 ++-- .../app/src/main/res/layout/fragment_timetable_advanced.xml | 2 +- android/app/src/main/res/layout/fragment_timetable_simple.xml | 2 +- android/app/src/main/res/layout/localized_name.xml | 2 -- android/app/src/main/res/values-night/colors.xml | 2 -- android/app/src/main/res/values/colors.xml | 2 -- android/app/src/main/res/values/styles-editor.xml | 2 +- 9 files changed, 7 insertions(+), 13 deletions(-) diff --git a/android/app/src/main/res/layout/fragment_editor.xml b/android/app/src/main/res/layout/fragment_editor.xml index fa913e98f..febe29992 100644 --- a/android/app/src/main/res/layout/fragment_editor.xml +++ b/android/app/src/main/res/layout/fragment_editor.xml @@ -6,7 +6,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:clipToPadding="false" - android:background="@color/bg_editor" + android:background="?colorSurfaceContainerLow" tools:context=".editor.EditorActivity"> @@ -19,7 +19,7 @@ android:layout_height="wrap_content" android:layout_alignTop="@+id/tv__mode_switch" android:layout_alignParentBottom="true" - android:background="@color/bg_editor"/> + android:background="?colorSurfaceContainerLow"/> + android:background="?colorSurfaceContainerLow"> diff --git a/android/app/src/main/res/layout/localized_name.xml b/android/app/src/main/res/layout/localized_name.xml index 3f45c124c..8fda4ae71 100644 --- a/android/app/src/main/res/layout/localized_name.xml +++ b/android/app/src/main/res/layout/localized_name.xml @@ -7,7 +7,6 @@ android:orientation="vertical" android:paddingEnd="@dimen/margin_base" android:paddingStart="@dimen/margin_base" - android:background="@color/fg_editor" android:animateLayoutChanges="true"> @color/bg_window #FF588157 #10140F - #161b14 - #282e25 #CC2D3237 diff --git a/android/app/src/main/res/values/colors.xml b/android/app/src/main/res/values/colors.xml index 5998dc52a..67ece1c6d 100644 --- a/android/app/src/main/res/values/colors.xml +++ b/android/app/src/main/res/values/colors.xml @@ -65,8 +65,6 @@ @color/bg_window #37653F @android:color/white - #ebefe4 - #f9faf2 #BB000000 #99FFFFFF diff --git a/android/app/src/main/res/values/styles-editor.xml b/android/app/src/main/res/values/styles-editor.xml index ab77e8cd4..8d4da3382 100644 --- a/android/app/src/main/res/values/styles-editor.xml +++ b/android/app/src/main/res/values/styles-editor.xml @@ -89,7 +89,7 @@ match_parent wrap_content @dimen/margin_half - @color/fg_editor + ?appBackground @dimen/margin_base false