diff options
author | Jim Miller <jaggies@google.com> | 2010-02-11 17:27:22 -0800 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2010-02-11 17:28:29 -0800 |
commit | ec52eedc2ceb623b503f6b82eb560c0e9a6e4619 (patch) | |
tree | 076d357617c371b534a39dfa826fe412406ec6aa /core | |
parent | 7356b0b0661f61a161ac6771e4325ad5f687cb2e (diff) | |
download | frameworks_base-ec52eedc2ceb623b503f6b82eb560c0e9a6e4619.zip frameworks_base-ec52eedc2ceb623b503f6b82eb560c0e9a6e4619.tar.gz frameworks_base-ec52eedc2ceb623b503f6b82eb560c0e9a6e4619.tar.bz2 |
Fix 2438785: Add missing key code to landscape keyboard and fix log spew.
Diffstat (limited to 'core')
-rw-r--r-- | core/java/com/android/internal/widget/PasswordEntryKeyboard.java | 2 | ||||
-rwxr-xr-x | core/res/res/xml-land/password_kbd_qwerty.xml | 7 | ||||
-rwxr-xr-x | core/res/res/xml-land/password_kbd_qwerty_shifted.xml | 4 |
3 files changed, 6 insertions, 7 deletions
diff --git a/core/java/com/android/internal/widget/PasswordEntryKeyboard.java b/core/java/com/android/internal/widget/PasswordEntryKeyboard.java index c901472..e1a6737 100644 --- a/core/java/com/android/internal/widget/PasswordEntryKeyboard.java +++ b/core/java/com/android/internal/widget/PasswordEntryKeyboard.java @@ -93,7 +93,7 @@ public class PasswordEntryKeyboard extends Keyboard { LatinKey key = new LatinKey(res, parent, x, y, parser); final int code = key.codes[0]; if (code >=0 && code != '\n' && (code < 32 || code > 127)) { - Log.w(TAG, "Key code for " + key.label + " is not latin-1"); + // Log.w(TAG, "Key code for " + key.label + " is not latin-1"); key.label = " "; key.setEnabled(false); } diff --git a/core/res/res/xml-land/password_kbd_qwerty.xml b/core/res/res/xml-land/password_kbd_qwerty.xml index 8245cc1..700c527 100755 --- a/core/res/res/xml-land/password_kbd_qwerty.xml +++ b/core/res/res/xml-land/password_kbd_qwerty.xml @@ -77,10 +77,9 @@ android:iconPreview="@drawable/sym_keyboard_feedback_space" android:keyWidth="20%p"/> <Key android:keyLabel="=" /> - <Key android:keyLabel="." - android:keyWidth="10%p"/> - <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" - android:iconPreview="@drawable/sym_keyboard_feedback_return" + <Key android:keyLabel="." android:keyWidth="10%p"/> + <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_ok" + android:iconPreview="@drawable/sym_keyboard_feedback_ok" android:keyWidth="20%p" android:keyEdgeFlags="right"/> </Row> diff --git a/core/res/res/xml-land/password_kbd_qwerty_shifted.xml b/core/res/res/xml-land/password_kbd_qwerty_shifted.xml index 6117e78..1e37b6c 100755 --- a/core/res/res/xml-land/password_kbd_qwerty_shifted.xml +++ b/core/res/res/xml-land/password_kbd_qwerty_shifted.xml @@ -79,8 +79,8 @@ android:keyWidth="20%p"/> <Key android:keyLabel="+" /> <Key android:keyLabel="."/> - <Key android:keyIcon="@drawable/sym_keyboard_return" - android:iconPreview="@drawable/sym_keyboard_feedback_return" + <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_ok" + android:iconPreview="@drawable/sym_keyboard_feedback_ok" android:keyWidth="20%p" android:keyEdgeFlags="right"/> </Row> |