From 59954b400cb1c4361c4e56d8cd25b6476e77a13f Mon Sep 17 00:00:00 2001 From: Nishith Khanna Date: Tue, 20 Aug 2024 17:11:05 +0530 Subject: [PATCH] Theme app according to our palette --- Android.bp | 1 + res/layout/advanced_pad.xml | 2 +- res/layout/fragment_history.xml | 1 + res/layout/input_pad.xml | 8 ++++---- res/values-night/color.xml | 5 ++--- res/values/color.xml | 7 ++++++- res/values/themes.xml | 33 +++++++++++++++++++++++---------- 7 files changed, 38 insertions(+), 19 deletions(-) diff --git a/Android.bp b/Android.bp index 5f5359b3..4e0baf7b 100644 --- a/Android.bp +++ b/Android.bp @@ -37,5 +37,6 @@ android_app { "androidx.webkit_webkit", "ExactCalculator_com.google.android.material_material", "ExactCalculator_com.hp_crcalc", + "elib", ], } diff --git a/res/layout/advanced_pad.xml b/res/layout/advanced_pad.xml index 9f9765c7..b14ce3f9 100644 --- a/res/layout/advanced_pad.xml +++ b/res/layout/advanced_pad.xml @@ -10,7 +10,7 @@ style="@style/PadLayoutStyle.Advanced" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="?colorSurface"> + android:background="@color/num_background"> + android:background="@color/num_background"> - - @color/material_dynamic_neutral20 - @color/material_dynamic_neutral90 @color/material_dynamic_neutral70 @color/material_dynamic_secondary60 + #343434 + #405262 diff --git a/res/values/color.xml b/res/values/color.xml index 51f53133..1ec30690 100644 --- a/res/values/color.xml +++ b/res/values/color.xml @@ -18,11 +18,16 @@ - @color/material_dynamic_neutral90 + @color/e_background_variant @color/material_dynamic_neutral20 @color/material_dynamic_neutral40 @color/material_dynamic_neutral40 + #FAFAFA + #C9E5FF + @color/e_action_bar + @color/e_accent + @color/e_background diff --git a/res/values/themes.xml b/res/values/themes.xml index f9c82d7c..a906e292 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -18,10 +18,23 @@ + + + + -- GitLab