From 395203162ef3c67e9749a8dc53e306fa50794b98 Mon Sep 17 00:00:00 2001 From: Nishith Khanna Date: Tue, 26 Sep 2023 17:46:13 +0530 Subject: [PATCH] Retheme app according to new base --- java/Android.bp | 1 + java/AndroidManifest.xml | 2 +- .../btn_keyboard_key_action_normal_you.xml | 8 ++++++- .../btn_keyboard_key_action_pressed_you.xml | 8 ++++++- java/res/drawable/sym_keyboard_delete_you.xml | 2 +- .../sym_keyboard_language_switch_you.xml | 2 +- .../drawable/sym_keyboard_settings_you.xml | 2 +- java/res/drawable/sym_keyboard_smiley_you.xml | 2 +- java/res/values-night/themes-you-colors.xml | 13 ---------- java/res/values/themes-you-colors.xml | 24 +++++++++---------- java/res/xml/key_styles_common.xml | 3 ++- 11 files changed, 34 insertions(+), 33 deletions(-) diff --git a/java/Android.bp b/java/Android.bp index 48abd1a2b6..b11b26ce53 100644 --- a/java/Android.bp +++ b/java/Android.bp @@ -47,6 +47,7 @@ android_app { "androidx.legacy_legacy-support-v4", "androidx.recyclerview_recyclerview", "androidx.viewpager2_viewpager2", + "elib", ], // Do not compress dictionary files to mmap dict data runtime diff --git a/java/AndroidManifest.xml b/java/AndroidManifest.xml index 8c3bc005f4..8b02fa595c 100644 --- a/java/AndroidManifest.xml +++ b/java/AndroidManifest.xml @@ -19,7 +19,7 @@ package="com.android.inputmethod.latin" android:versionCode="30"> - diff --git a/java/res/drawable/btn_keyboard_key_action_normal_you.xml b/java/res/drawable/btn_keyboard_key_action_normal_you.xml index ab61dafdfd..09f5b819e5 100644 --- a/java/res/drawable/btn_keyboard_key_action_normal_you.xml +++ b/java/res/drawable/btn_keyboard_key_action_normal_you.xml @@ -5,5 +5,11 @@ --> - + + + + diff --git a/java/res/drawable/btn_keyboard_key_action_pressed_you.xml b/java/res/drawable/btn_keyboard_key_action_pressed_you.xml index 6eb85b3d49..e3cada54c0 100644 --- a/java/res/drawable/btn_keyboard_key_action_pressed_you.xml +++ b/java/res/drawable/btn_keyboard_key_action_pressed_you.xml @@ -5,5 +5,11 @@ --> - + + + + diff --git a/java/res/drawable/sym_keyboard_delete_you.xml b/java/res/drawable/sym_keyboard_delete_you.xml index e7ebb4cb63..022e71ca37 100644 --- a/java/res/drawable/sym_keyboard_delete_you.xml +++ b/java/res/drawable/sym_keyboard_delete_you.xml @@ -10,6 +10,6 @@ android:viewportHeight="24" android:autoMirrored="true"> diff --git a/java/res/drawable/sym_keyboard_language_switch_you.xml b/java/res/drawable/sym_keyboard_language_switch_you.xml index 72be14325e..b3805d7547 100644 --- a/java/res/drawable/sym_keyboard_language_switch_you.xml +++ b/java/res/drawable/sym_keyboard_language_switch_you.xml @@ -9,6 +9,6 @@ android:viewportWidth="960" android:viewportHeight="960"> diff --git a/java/res/drawable/sym_keyboard_settings_you.xml b/java/res/drawable/sym_keyboard_settings_you.xml index 9e6b7a5bfa..88110c6f78 100644 --- a/java/res/drawable/sym_keyboard_settings_you.xml +++ b/java/res/drawable/sym_keyboard_settings_you.xml @@ -9,6 +9,6 @@ android:viewportWidth="960" android:viewportHeight="960"> diff --git a/java/res/drawable/sym_keyboard_smiley_you.xml b/java/res/drawable/sym_keyboard_smiley_you.xml index f176197048..f66538080d 100644 --- a/java/res/drawable/sym_keyboard_smiley_you.xml +++ b/java/res/drawable/sym_keyboard_smiley_you.xml @@ -9,6 +9,6 @@ android:viewportWidth="960" android:viewportHeight="960"> diff --git a/java/res/values-night/themes-you-colors.xml b/java/res/values-night/themes-you-colors.xml index a7c03065cd..059dee23c8 100644 --- a/java/res/values-night/themes-you-colors.xml +++ b/java/res/values-night/themes-you-colors.xml @@ -4,19 +4,6 @@ SPDX-License-Identifier: Apache-2.0 --> - @android:color/system_neutral1_900 - - @android:color/system_neutral1_800 - @android:color/system_neutral1_900 - @android:color/system_neutral1_50 - @android:color/system_neutral1_700 - @android:color/system_neutral2_300 - @android:color/system_neutral1_50 - @android:color/system_accent1_400 - @android:color/system_accent1_600 - @android:color/system_neutral1_50 - @android:color/system_neutral1_50 - @android:color/system_neutral1_50 @android:color/system_neutral1_400 @android:color/system_neutral1_50 diff --git a/java/res/values/themes-you-colors.xml b/java/res/values/themes-you-colors.xml index 0dc99259de..02589ba914 100644 --- a/java/res/values/themes-you-colors.xml +++ b/java/res/values/themes-you-colors.xml @@ -4,19 +4,19 @@ SPDX-License-Identifier: Apache-2.0 --> - @android:color/system_neutral1_50 + @color/e_keyboard_background - @android:color/system_neutral1_0 - @android:color/system_neutral1_100 - @android:color/system_neutral1_900 - @android:color/system_accent2_100 - @android:color/system_neutral2_200 - @android:color/system_neutral1_900 - @android:color/system_accent1_200 - @android:color/system_accent1_400 - @android:color/system_neutral1_900 - @android:color/system_neutral1_900 - @android:color/system_neutral1_900 + @color/e_keyboard_key_background + @color/e_keyboard_key_pressed_background + @color/e_keyboard_key_text + @color/e_keyboard_functional_background + @color/e_keyboard_functional_pressed_background + @color/keyboard_key_text_color_you + @color/e_keyboard_key_enter_background + @color/e_keyboard_key_enter_pressed_background + @color/keyboard_key_text_color_you + @color/keyboard_key_text_color_you + @color/keyboard_background_you @android:color/system_neutral1_400 @android:color/system_neutral1_900 diff --git a/java/res/xml/key_styles_common.xml b/java/res/xml/key_styles_common.xml index a1ce2ea320..2ee5fddf7f 100644 --- a/java/res/xml/key_styles_common.xml +++ b/java/res/xml/key_styles_common.xml @@ -80,7 +80,8 @@ + latin:keyActionFlags="noKeyPreview" + latin:backgroundType="functional" />