aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-08-29 08:13:29 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-08-29 08:13:29 -0700
commit3b71e5fae6b8e357cf8b00cda0b5292c72b2500f (patch)
treeafc07a8fb42b1bb5272dec019e9a61cf38bff40e /java/res
parent2315bfc7c8df0f6d9fb627456f2a298f5580b52d (diff)
parent83da6c18fb2314dd45d3244a23ba59a5e0e21cd6 (diff)
downloadlatinime-3b71e5fae6b8e357cf8b00cda0b5292c72b2500f.tar.gz
latinime-3b71e5fae6b8e357cf8b00cda0b5292c72b2500f.tar.xz
latinime-3b71e5fae6b8e357cf8b00cda0b5292c72b2500f.zip
Merge "Add keyLetterSize and keyLabelSize as KeyboardView attribute"
Diffstat (limited to 'java/res')
-rw-r--r--java/res/values/attrs.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml
index 4cabe93a8..8362226d6 100644
--- a/java/res/values/attrs.xml
+++ b/java/res/values/attrs.xml
@@ -38,11 +38,16 @@
checkable+checked+pressed. -->
<attr name="keyBackground" format="reference" />
+ <!-- Size of the text for one letter keys. If not defined, keyLetterRatio takes effect. -->
+ <attr name="keyLetterSize" format="float" />
+ <!-- Size of the text for keys with multiple letters. If not defined, keyLabelRatio takes
+ effect. -->
+ <attr name="keyLabelSize" format="float" />
<!-- Size of the text for one letter keys, in the proportion of key height. -->
<attr name="keyLetterRatio" format="float" />
<!-- Large size of the text for one letter keys, in the proportion of key height. -->
<attr name="keyLargeLetterRatio" format="float" />
- <!-- Size of the text for keys with some text, in the proportion of key height. -->
+ <!-- Size of the text for keys with multiple letters, in the proportion of key height. -->
<attr name="keyLabelRatio" format="float" />
<!-- Size of the text for hint letter (= one character hint label), in the proportion of
key height. -->