summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorelektroschmock <elektroschmock78@googlemail.com>2012-10-25 18:54:52 +0200
committerGerrit Code Review <gerrit@review.cyanogenmod.com>2012-11-06 00:31:13 -0800
commitc452ca44b487e2e3dd405cdbfe6529f00eaf2c5b (patch)
treee7f8e71eb8bc5db94a87c8dcb8fd01cccd786795
parentd5aecce314a99a6ba4e1a754bbdaf5e556216d1a (diff)
downloadandroid_packages_inputmethods_LatinIME-c452ca44b487e2e3dd405cdbfe6529f00eaf2c5b.tar.gz
android_packages_inputmethods_LatinIME-c452ca44b487e2e3dd405cdbfe6529f00eaf2c5b.tar.bz2
android_packages_inputmethods_LatinIME-c452ca44b487e2e3dd405cdbfe6529f00eaf2c5b.zip
Make keyboard hints a better visible
Patch Set 1: User were complaining about not seeing the hints at bad light conditions. Change color of the hints to 'holo_blue_light' Also fix QWERTZ keyboard hints in line three for 600dp and 768dp some of the hints were duplicated Patch Set 2: Adjust hint color Change-Id: Ied9440eccd9ee74e6a5ad38c339a8aa9219ea8ca
-rw-r--r--java/res/values/styles.xml2
-rw-r--r--java/res/xml-sw600dp/rowkeys_qwertz3.xml56
-rw-r--r--java/res/xml-sw768dp/rowkeys_qwertz3.xml56
3 files changed, 113 insertions, 1 deletions
diff --git a/java/res/values/styles.xml b/java/res/values/styles.xml
index e9b0470ea..0595c3d74 100644
--- a/java/res/values/styles.xml
+++ b/java/res/values/styles.xml
@@ -303,7 +303,7 @@
<item name="keyBackground">@drawable/btn_keyboard_key_ics</item>
<item name="keyTextStyle">bold</item>
<item name="keyTextInactivatedColor">#66E0E4E5</item>
- <item name="keyHintLetterColor">#80000000</item>
+ <item name="keyHintLetterColor">#80E0E4E5</item>
<item name="keyHintLabelColor">#A0FFFFFF</item>
<item name="keyShiftedLetterHintInactivatedColor">#66E0E4E5</item>
<item name="keyShiftedLetterHintActivatedColor">#FFFFFFFF</item>
diff --git a/java/res/xml-sw600dp/rowkeys_qwertz3.xml b/java/res/xml-sw600dp/rowkeys_qwertz3.xml
new file mode 100644
index 000000000..f3780b7f7
--- /dev/null
+++ b/java/res/xml-sw600dp/rowkeys_qwertz3.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2012, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<merge
+ xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
+>
+ <Key
+ latin:keyLabel="y"
+ latin:keyHintLabel="&lt;"
+ latin:additionalMoreKeys="&lt;"
+ latin:moreKeys="!text/more_keys_for_y" />
+ <Key
+ latin:keyLabel="x"
+ latin:keyHintLabel="&gt;"
+ latin:additionalMoreKeys="&gt;" />
+ <Key
+ latin:keyLabel="c"
+ latin:keyHintLabel="="
+ latin:additionalMoreKeys="="
+ latin:moreKeys="!text/more_keys_for_c" />
+ <Key
+ latin:keyLabel="v"
+ latin:keyHintLabel=":"
+ latin:additionalMoreKeys=":"
+ latin:moreKeys="!text/more_keys_for_v" />
+ <Key
+ latin:keyLabel="b"
+ latin:keyHintLabel=";"
+ latin:additionalMoreKeys=";" />
+ <Key
+ latin:keyLabel="n"
+ latin:keyHintLabel="("
+ latin:additionalMoreKeys="("
+ latin:moreKeys="!text/more_keys_for_n" />
+ <Key
+ latin:keyLabel="m"
+ latin:keyHintLabel=")"
+ latin:additionalMoreKeys=")" />
+</merge>
diff --git a/java/res/xml-sw768dp/rowkeys_qwertz3.xml b/java/res/xml-sw768dp/rowkeys_qwertz3.xml
new file mode 100644
index 000000000..f3780b7f7
--- /dev/null
+++ b/java/res/xml-sw768dp/rowkeys_qwertz3.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2012, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<merge
+ xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
+>
+ <Key
+ latin:keyLabel="y"
+ latin:keyHintLabel="&lt;"
+ latin:additionalMoreKeys="&lt;"
+ latin:moreKeys="!text/more_keys_for_y" />
+ <Key
+ latin:keyLabel="x"
+ latin:keyHintLabel="&gt;"
+ latin:additionalMoreKeys="&gt;" />
+ <Key
+ latin:keyLabel="c"
+ latin:keyHintLabel="="
+ latin:additionalMoreKeys="="
+ latin:moreKeys="!text/more_keys_for_c" />
+ <Key
+ latin:keyLabel="v"
+ latin:keyHintLabel=":"
+ latin:additionalMoreKeys=":"
+ latin:moreKeys="!text/more_keys_for_v" />
+ <Key
+ latin:keyLabel="b"
+ latin:keyHintLabel=";"
+ latin:additionalMoreKeys=";" />
+ <Key
+ latin:keyLabel="n"
+ latin:keyHintLabel="("
+ latin:additionalMoreKeys="("
+ latin:moreKeys="!text/more_keys_for_n" />
+ <Key
+ latin:keyLabel="m"
+ latin:keyHintLabel=")"
+ latin:additionalMoreKeys=")" />
+</merge>