From 0ec72d9d9524ef78bd82e651b5fc94d605d34ece Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Sun, 21 Nov 2010 18:35:13 -0500 Subject: Add the characters <>`^ to the alt-sym dialog. The G2's keyboard lacks a number of special characters: ` ^ [ ] { } \ | < > Some of these are handled by the character picker that pops up when pressing alt-sym (alt and the space bar) but not all. This change adds the last few missing characters so it is now possible to access the full qwerty character set when using the physical keyboard. I am only familiar with the G1/G2 phones so I do not know what characters other phones may be lacking. Long term it may be useful to make this character picker customizable for each phone model. For now this trivial patch is sufficient to make me happy. Change-Id: I8d1592ae6731620c1eeacfce39fbae8443db6884 --- core/java/android/text/method/QwertyKeyListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/text/method/QwertyKeyListener.java b/core/java/android/text/method/QwertyKeyListener.java index 7a1b6aa..d6c9855 100644 --- a/core/java/android/text/method/QwertyKeyListener.java +++ b/core/java/android/text/method/QwertyKeyListener.java @@ -438,7 +438,7 @@ public class QwertyKeyListener extends BaseKeyListener { PICKER_SETS.put('y', "\u00FD\u00FF"); PICKER_SETS.put('z', "\u017A\u017C\u017E"); PICKER_SETS.put(KeyCharacterMap.PICKER_DIALOG_INPUT, - "\u2026\u00A5\u2022\u00AE\u00A9\u00B1[]{}\\|"); + "\u2026\u00A5\u2022\u00AE\u00A9\u00B1[]{}<>`^\\|"); PICKER_SETS.put('/', "\\"); // From packages/inputmethods/LatinIME/res/xml/kbd_symbols.xml -- cgit v1.1