aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-05-17 18:32:24 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-05-17 18:32:24 -0700
commit817a66e7e6bc9eb0bc74bacf0431308f40185cb1 (patch)
tree6d5c469228967afa9b751246af2f2d3c4373414a /java/res
parent8ec3a42d2bb93fc6b06236411a9876215792412d (diff)
parenta08759f6b1ddfae65c063e1eb48608d8b7f4047a (diff)
downloadlatinime-817a66e7e6bc9eb0bc74bacf0431308f40185cb1.tar.gz
latinime-817a66e7e6bc9eb0bc74bacf0431308f40185cb1.tar.xz
latinime-817a66e7e6bc9eb0bc74bacf0431308f40185cb1.zip
Merge "Support large label text ratio in KeyboardView" into jb-dev
Diffstat (limited to 'java/res')
-rw-r--r--java/res/values/attrs.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml
index 7cad3f507..a18371fc9 100644
--- a/java/res/values/attrs.xml
+++ b/java/res/values/attrs.xml
@@ -55,6 +55,8 @@
<attr name="keyLargeLetterRatio" format="float" />
<!-- Size of the text for keys with multiple letters, in the proportion of key height. -->
<attr name="keyLabelRatio" format="float" />
+ <!-- Large size of the text for keys with multiple letters, in the proportion of key height. -->
+ <attr name="keyLargeLabelRatio" format="float" />
<!-- Size of the text for hint letter (= one character hint label), in the proportion of
key height. -->
<attr name="keyHintLetterRatio" format="float" />
@@ -275,7 +277,8 @@
<flag name="followKeyLargeLetterRatio" value="0x40" />
<flag name="followKeyLetterRatio" value="0x80" />
<flag name="followKeyLabelRatio" value="0xC0" />
- <flag name="followKeyHintLabelRatio" value="0x100" />
+ <flag name="followKeyLargeLabelRatio" value="0x100" />
+ <flag name="followKeyHintLabelRatio" value="0x140" />
<flag name="hasPopupHint" value="0x200" />
<flag name="hasShiftedLetterHint" value="0x400" />
<flag name="hasHintLabel" value="0x800" />