aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/values
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-10-14 12:21:17 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-10-14 12:21:17 -0700
commitd2bc850c4c60dbb70e1a5edcf7f4dc4c64752fa2 (patch)
tree80b9f5effa11bfb22500ea29095eb2899d480277 /java/res/values
parent75c4b5fe1bbc7736d05abd7940825a30339c65fc (diff)
parent908a2f63949687c9e7acb2e3d50fd50815582e8b (diff)
downloadlatinime-d2bc850c4c60dbb70e1a5edcf7f4dc4c64752fa2.tar.gz
latinime-d2bc850c4c60dbb70e1a5edcf7f4dc4c64752fa2.tar.xz
latinime-d2bc850c4c60dbb70e1a5edcf7f4dc4c64752fa2.zip
am 908a2f63: Merge "Special handling of one key mini-keyboard to mitigate visual flicker" into ics-mr0
* commit '908a2f63949687c9e7acb2e3d50fd50815582e8b': Special handling of one key mini-keyboard to mitigate visual flicker
Diffstat (limited to 'java/res/values')
-rw-r--r--java/res/values/attrs.xml4
-rw-r--r--java/res/values/styles.xml2
2 files changed, 6 insertions, 0 deletions
diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml
index 4dfa5ab97..e569e83b1 100644
--- a/java/res/values/attrs.xml
+++ b/java/res/values/attrs.xml
@@ -88,6 +88,10 @@
<attr name="keyPreviewLeftBackground" format="reference" />
<!-- The background for the right edge key press feedback. -->
<attr name="keyPreviewRightBackground" format="reference" />
+ <!-- The width of rectangle part of the key press feedback background. -->
+ <attr name="keyPreviewBackgroundWidth" format="dimension" />
+ <!-- The height of rectangle part of the key press feedback background. -->
+ <attr name="keyPreviewBackgroundHeight" format="dimension" />
<!-- The text color for key press feedback. -->
<attr name="keyPreviewTextColor" format="color" />
<!-- Vertical offset of the key press feedback from the key. -->
diff --git a/java/res/values/styles.xml b/java/res/values/styles.xml
index 30c0e5a38..43aa58388 100644
--- a/java/res/values/styles.xml
+++ b/java/res/values/styles.xml
@@ -259,6 +259,8 @@
<item name="keyPreviewBackground">@drawable/keyboard_key_feedback_ics</item>
<item name="keyPreviewLeftBackground">@drawable/keyboard_key_feedback_left_ics</item>
<item name="keyPreviewRightBackground">@drawable/keyboard_key_feedback_right_ics</item>
+ <item name="keyPreviewBackgroundWidth">@dimen/keyboard_key_feedback_background_holo_width</item>
+ <item name="keyPreviewBackgroundHeight">@dimen/keyboard_key_feedback_background_holo_height</item>
<item name="keyPreviewTextColor">#FFFFFFFF</item>
<item name="keyPreviewHeight">@dimen/key_preview_height_ics</item>
<item name="keyPreviewOffset">@dimen/key_preview_offset_ics</item>