Fix 2438785: Add missing key code to landscape keyboard and fix log spew.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user