abouttreesummaryrefslogcommitdiff
path: root/res
diff options
context:
space:
mode:
authorJules Aguillon2024-02-17 19:31:52 +0100
committerJules Aguillon2024-02-17 23:28:31 +0100
commit146d5203254aff5fe19b502a922c60a84c31686a (patch)
treec42662fbb6cb0e849694ce44be448ef2b1e1cadf /res
parent065d9520e571eccca21e28d0e4003ebd4b7079f4 (diff)
downloadunexpected-keyboard-146d5203254aff5fe19b502a922c60a84c31686a.tar.gz
unexpected-keyboard-146d5203254aff5fe19b502a922c60a84c31686a.zip
compose: Grey out keys that are not in sequence
Keys that are not in the pending compose sequence are greyed out with the new 'FLAG_GREYED' flag.
Diffstat (limited to 'res')
-rw-r--r--res/values/themes.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/values/themes.xml b/res/values/themes.xml
index ef3ede6..a1892d3 100644
--- a/res/values/themes.xml
+++ b/res/values/themes.xml
@@ -12,6 +12,7 @@
<attr name="colorLabelActivated" format="color"/>
<attr name="colorLabelLocked" format="color"/>
<attr name="secondaryDimming" format="float"/>
+ <attr name="greyedDimming" format="float"/>
<!-- Corner labels -->
<attr name="colorSubLabel" format="color"/>
<!-- Borders -->
@@ -39,6 +40,7 @@
<item name="keyBorderWidth">0dp</item>
<item name="keyBorderWidthActivated">0dp</item>
<item name="secondaryDimming">0.25</item>
+ <item name="greyedDimming">0.5</item>
<item name="emoji_key_bg" type="color">?attr/emoji_button_bg</item>
<item name="emoji_key_text" type="color">?attr/colorLabel</item>
</style>