1
0
Fork 0

fixed incorrect function key colors on Android 13 and 14

This commit is contained in:
sspanak 2025-02-02 17:25:22 +02:00 committed by Dimo Karaivanov
parent e6950c370c
commit 4bd6ddef89
9 changed files with 62 additions and 5 deletions

View file

@ -21,6 +21,11 @@
<color name="key_fn_text">@color/keyboard_text</color>
<color name="key_fn_alternative_text">#4e4e50</color> <!-- 'hold' functions -->
<color name="key_lf4_background">@color/key_fn_background</color>
<color name="key_lf4_ripple">@color/key_fn_ripple</color>
<color name="key_lf4_text">@color/key_fn_text</color>
<color name="key_lf4_alternative_text">@color/key_fn_alternative_text</color> <!-- 'hold' functions -->
<color name="key_ok_background">#1a73e8</color>
<color name="key_ok_ripple">#0961d6</color>
<color name="key_ok_text">#fff</color>

View file

@ -264,6 +264,10 @@
<item name="android:tint">@color/key_fn_alternative_text</item>
</style>
<style name="TTheme.Numpad.Key.LF4.Overlay.HoldIcon" parent="TTheme.Numpad.Key.Overlay.HoldIcon">
<item name="android:tint">@color/key_lf4_alternative_text</item>
</style>
<!-- Overlay: Hold Text -->
<style name="TTheme.Numpad.Key.Overlay.Text" parent="TTheme.Numpad.Key.Overlay.Element">
<item name="android:textSize">@dimen/numpad_key_overlay_side_text_size</item>
@ -332,6 +336,11 @@
<item name="android:insetBottom">@dimen/numpad_key_spacing</item>
</style>
<style name="TTheme.Numpad.Key.LF4" parent="TTheme.Numpad.Key.Large">
<item name="android:textColor">@color/key_lf4_text</item>
<item name="backgroundTint">@color/key_lf4_background</item>
<item name="rippleColor">@color/key_lf4_ripple</item>
</style>
<style name="TTheme.Numpad.Key.Number" parent="TTheme.Numpad.Key.Large">
<item name="android:textColor">@color/key_num_text</item>