aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml/kbd_symbols_shift.xml
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2010-12-14 15:31:47 +0900
committerTadashi G. Takaoka <takaoka@google.com>2010-12-17 17:18:28 +0900
commit9b6d1d52d91f8f18952ae3841f4bb0d7309bfc0e (patch)
tree2907b32c1509f69850a3ca6dd6ac36a60341fbd9 /java/res/xml/kbd_symbols_shift.xml
parentf61287ae48c17d2afb4c9b971cbdd3ee0cc055e2 (diff)
downloadlatinime-9b6d1d52d91f8f18952ae3841f4bb0d7309bfc0e.tar.gz
latinime-9b6d1d52d91f8f18952ae3841f4bb0d7309bfc0e.tar.xz
latinime-9b6d1d52d91f8f18952ae3841f4bb0d7309bfc0e.zip
Add popupKeyboardTemplate attribute to Keyboard
This change - introduces the popupKeyboardTemplate attribute of Keyboard to specify XML Keyboard file for popup mini keyboard. - introduces the maxPopupKeyboardColumn attribute of Keyboard to specify the maximum column of popup mini keyboard. - changes the content format of the popupCharacters attribute of Key. It now represents keyLabel, codes and keyTextOutput of each key of popup mini keyboard using CSV format. Bug: 2214959 Change-Id: I539e310f7e38a049ee193de0b4ad5d7afdce37b1
Diffstat (limited to 'java/res/xml/kbd_symbols_shift.xml')
-rw-r--r--java/res/xml/kbd_symbols_shift.xml19
1 files changed, 7 insertions, 12 deletions
diff --git a/java/res/xml/kbd_symbols_shift.xml b/java/res/xml/kbd_symbols_shift.xml
index ee8d88218..368ee805b 100644
--- a/java/res/xml/kbd_symbols_shift.xml
+++ b/java/res/xml/kbd_symbols_shift.xml
@@ -26,6 +26,8 @@
latin:keyWidth="10%p"
latin:horizontalGap="@dimen/key_horizontal_gap"
latin:verticalGap="@dimen/key_bottom_gap"
+ latin:popupKeyboardTemplate="@xml/kbd_popup_template"
+ latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
>
<include
latin:keyboardLayout="@xml/kbd_key_styles" />
@@ -41,13 +43,11 @@
latin:keyLabel="|" />
<Key
latin:keyLabel="•"
- latin:popupKeyboard="@xml/kbd_popup_template"
- latin:popupCharacters="♪♥♠♦♣" />
+ latin:popupCharacters="♪,♥,♠,♦,♣" />
<Key
latin:keyLabel="√" />
<Key
latin:keyLabel="π"
- latin:popupKeyboard="@xml/kbd_popup_template"
latin:popupCharacters="Π" />
<Key
latin:keyLabel="÷" />
@@ -73,14 +73,12 @@
latin:keyLabel="°" />
<Key
latin:keyLabel="^"
- latin:popupKeyboard="@xml/kbd_popup_template"
- latin:popupCharacters="↑↓←→" />
+ latin:popupCharacters="↑,↓,←,→" />
<Key
latin:keyLabel="_" />
<Key
latin:keyLabel="="
- latin:popupKeyboard="@xml/kbd_popup_template"
- latin:popupCharacters="≠≈∞" />
+ latin:popupCharacters="≠,≈,∞" />
<Key
latin:keyLabel="[" />
<Key
@@ -100,18 +98,15 @@
latin:keyLabel="©" />
<Key
latin:keyLabel="¶"
- latin:popupKeyboard="@xml/kbd_popup_template"
latin:popupCharacters="§" />
<Key
latin:keyLabel="\\" />
<Key
latin:keyLabel="&lt;"
- latin:popupKeyboard="@xml/kbd_popup_template"
- latin:popupCharacters="≤«‹" />
+ latin:popupCharacters="≤,«,‹" />
<Key
latin:keyLabel="&gt;"
- latin:popupKeyboard="@xml/kbd_popup_template"
- latin:popupCharacters="≥»›" />
+ latin:popupCharacters="≥,»,›" />
<Key
latin:keyStyle="deleteKeyStyle"
latin:keyWidth="15%p"