From 2d80400a23bb2bd777e09421fc76ac632f7ac705 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" <takaoka@google.com> Date: Tue, 30 Aug 2011 14:15:55 +0900 Subject: [PATCH] Fix keyLetterSize and keyLabelSize format This is a followup of Iea7f8f34. Bug: 5023981 Change-Id: I375a1647343e1d5fa80b328a6824f6c549135e80 --- java/res/values/attrs.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml index 8362226d63..bc1bb08011 100644 --- a/java/res/values/attrs.xml +++ b/java/res/values/attrs.xml @@ -39,10 +39,10 @@ <attr name="keyBackground" format="reference" /> <!-- Size of the text for one letter keys. If not defined, keyLetterRatio takes effect. --> - <attr name="keyLetterSize" format="float" /> + <attr name="keyLetterSize" format="dimension" /> <!-- Size of the text for keys with multiple letters. If not defined, keyLabelRatio takes effect. --> - <attr name="keyLabelSize" format="float" /> + <attr name="keyLabelSize" format="dimension" /> <!-- 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. --> -- GitLab