abouttreesummaryrefslogcommitdiff
path: root/res/values/styles.xml
diff options
context:
space:
mode:
authorJules Aguillon2026-05-02 19:32:21 +0200
committerGitHub2026-05-02 19:32:21 +0200
commit9c23e6c5f3459240a87898762cbfa90cef766ad7 (patch)
tree7b632f324e5d14431105ae87ea4e65dbda463d4f /res/values/styles.xml
parentd164820bca8d2182869108f8a015ce3d987d048d (diff)
downloadunexpected-keyboard-9c23e6c5f3459240a87898762cbfa90cef766ad7.tar.gz
unexpected-keyboard-9c23e6c5f3459240a87898762cbfa90cef766ad7.zip
Emoji suggestion (#1235)
Suggest an emoji in addition to the 3 suggested words when the current word matches an alias in the emoji dictionary, if available.
Diffstat (limited to 'res/values/styles.xml')
-rw-r--r--res/values/styles.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index ce8894a..9963c9e 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -13,8 +13,19 @@
<item name="android:layout_weight">1</item>
<item name="android:gravity">center</item>
<item name="android:textColor">?attr/colorLabel</item>
+ <item name="android:layout_width">match_parent</item>
+ <item name="android:layout_height">match_parent</item>
+ <item name="android:layout_weight">1</item>
+ <item name="android:textColor">?attr/colorLabel</item>
<item name="android:maxLines">1</item>
+ </style>
+ <style name="candidates_emoji">
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:layout_height">match_parent</item>
+ <item name="android:layout_marginLeft">12dp</item>
+ <item name="android:layout_weight">0</item>
<item name="android:paddingHorizontal">@dimen/candidates_padding</item>
+ <item name="android:gravity">center</item>
</style>
<style name="candidates_status">
<item name="android:layout_width">match_parent</item>