abouttreesummaryrefslogcommitdiff
path: root/res/values/styles.xml
diff options
context:
space:
mode:
authorJules Aguillon2021-12-28 19:12:50 +0100
committerJules Aguillon2021-12-28 19:12:50 +0100
commit40b1ec63a932606fb432ee81801acf147e9ee70e (patch)
tree8215f0203f449be7b1d2f06199f4ae726e3edd6c /res/values/styles.xml
parent93704cca0ace3bff31dea5d3841ba185ad89398a (diff)
downloadunexpected-keyboard-40b1ec63a932606fb432ee81801acf147e9ee70e.tar.gz
unexpected-keyboard-40b1ec63a932606fb432ee81801acf147e9ee70e.zip
Use the themes abstraction
Themes replace 'colors.xml' and soon will replace 'dimens.xml'.
Diffstat (limited to 'res/values/styles.xml')
-rw-r--r--res/values/styles.xml13
1 files changed, 9 insertions, 4 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 7dcbb33..bad63e1 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -4,8 +4,8 @@
<item name="android:padding">1px</item>
<item name="android:gravity">center</item>
<item name="android:minHeight">@dimen/label_text_size</item>
- <item name="android:background">@color/emoji_button_bg</item>
- <item name="android:textColor">@color/emoji_key_text</item>
+ <item name="android:background">?attr/emoji_button_bg</item>
+ <item name="android:textColor">?attr/emoji_key_text</item>
<item name="android:textSize">@dimen/label_text_size</item>
</style>
<style name="emojiKeyButton">
@@ -13,8 +13,13 @@
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_weight">1</item>
<item name="android:padding">0px</item>
- <item name="android:background">@color/emoji_key_bg</item>
- <item name="android:textColor">@color/emoji_key_text</item>
+ <item name="android:background">?attr/emoji_key_bg</item>
+ <item name="android:textColor">?attr/emoji_key_text</item>
<item name="android:textSize">@dimen/label_text_size</item>
</style>
+ <!-- Passed to TextView.setTextAppearance -->
+ <style name="emojiGridButton">
+ <item name="android:textSize">@dimen/emoji_text_size</item>
+ <item name="android:textColor">?attr/emoji_color</item>
+ </style>
</resources>