aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml/kbd_symbols_shift.xml
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2010-09-16 13:10:14 +0900
committerTadashi G. Takaoka <takaoka@google.com>2010-09-16 20:02:04 +0900
commited8eabcc397134f3f832f53d0f6e50c88c182f77 (patch)
tree82e5a8f958d561865b479f3ad1b117a67578fca6 /java/res/xml/kbd_symbols_shift.xml
parent08cfebda8b535424ee5f2790ab5a15d18a995a39 (diff)
downloadlatinime-ed8eabcc397134f3f832f53d0f6e50c88c182f77.tar.gz
latinime-ed8eabcc397134f3f832f53d0f6e50c88c182f77.tar.xz
latinime-ed8eabcc397134f3f832f53d0f6e50c88c182f77.zip
Cleanup keyboard layout files
Change-Id: I095c1294b9e826b503ff741eeff9dc93ad39f060
Diffstat (limited to 'java/res/xml/kbd_symbols_shift.xml')
-rw-r--r--java/res/xml/kbd_symbols_shift.xml238
1 files changed, 150 insertions, 88 deletions
diff --git a/java/res/xml/kbd_symbols_shift.xml b/java/res/xml/kbd_symbols_shift.xml
index b72ea50e5..01c2beabf 100644
--- a/java/res/xml/kbd_symbols_shift.xml
+++ b/java/res/xml/kbd_symbols_shift.xml
@@ -18,112 +18,174 @@
*/
-->
-<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
+<Keyboard
+ xmlns:android="http://schemas.android.com/apk/res/android"
android:keyWidth="10%p"
android:horizontalGap="0px"
android:verticalGap="0px"
android:keyHeight="@dimen/key_height"
+>
+ <Row
+ android:rowEdgeFlags="top"
>
-
- <Row>
- <Key android:keyLabel="~" android:keyEdgeFlags="left"/>
- <Key android:keyLabel="`"/>
- <Key android:keyLabel="|"/>
- <Key android:keyLabel="•"
- android:popupKeyboard="@xml/kbd_popup_template"
- android:popupCharacters="♪♥♠♦♣"
- />
- <Key android:keyLabel="√"/>
- <Key android:keyLabel="π"
- android:popupKeyboard="@xml/kbd_popup_template"
- android:popupCharacters="Π"
- />
- <Key android:keyLabel="÷"/>
- <Key android:keyLabel="×"/>
- <Key android:keyLabel="{"/>
- <Key android:keyLabel="}" android:keyEdgeFlags="right"/>
+ <Key
+ android:keyLabel="~"
+ android:keyEdgeFlags="left" />
+ <Key
+ android:keyLabel="`" />
+ <Key
+ android:keyLabel="|" />
+ <Key
+ android:keyLabel="•"
+ android:popupKeyboard="@xml/kbd_popup_template"
+ android:popupCharacters="♪♥♠♦♣" />
+ <Key
+ android:keyLabel="√" />
+ <Key
+ android:keyLabel="π"
+ android:popupKeyboard="@xml/kbd_popup_template"
+ android:popupCharacters="Π" />
+ <Key
+ android:keyLabel="÷" />
+ <Key
+ android:keyLabel="×" />
+ <Key
+ android:keyLabel="{" />
+ <Key
+ android:keyLabel="}"
+ android:keyEdgeFlags="right" />
</Row>
-
<Row>
- <Key android:codes="9" android:keyLabel="\u21E5" android:keyEdgeFlags="left"/>
- <Key android:keyLabel="£"/>
- <Key android:keyLabel="¢"/>
- <Key android:keyLabel="€"/>
- <Key android:keyLabel="°"/>
- <Key android:keyLabel="^"
- android:popupKeyboard="@xml/kbd_popup_template"
- android:popupCharacters="↑↓←→"
- />
- <Key android:keyLabel="_"/>
- <Key android:keyLabel="="
- android:popupKeyboard="@xml/kbd_popup_template"
- android:popupCharacters="≠≈∞"
- />
- <Key android:keyLabel="["/>
- <Key android:keyLabel="]" android:keyEdgeFlags="right"/>
+ <Key
+ android:codes="@integer/key_tab"
+ android:keyLabel="\u21E5"
+ android:keyEdgeFlags="left" />
+ <Key
+ android:keyLabel="£" />
+ <Key
+ android:keyLabel="¢" />
+ <Key
+ android:keyLabel="€" />
+ <Key
+ android:keyLabel="°" />
+ <Key
+ android:keyLabel="^"
+ android:popupKeyboard="@xml/kbd_popup_template"
+ android:popupCharacters="↑↓←→" />
+ <Key
+ android:keyLabel="_" />
+ <Key
+ android:keyLabel="="
+ android:popupKeyboard="@xml/kbd_popup_template"
+ android:popupCharacters="≠≈∞" />
+ <Key
+ android:keyLabel="[" />
+ <Key
+ android:keyLabel="]"
+ android:keyEdgeFlags="right" />
</Row>
-
<Row>
- <Key android:codes="-1" android:keyLabel="@string/label_alt_key"
- android:keyWidth="15%p" android:isModifier="true"
- android:isSticky="true" android:keyEdgeFlags="left"/>
- <Key android:keyLabel="™"/>
- <Key android:keyLabel="®"/>
- <Key android:keyLabel="©"/>
- <Key android:keyLabel="¶"
- android:popupKeyboard="@xml/kbd_popup_template"
- android:popupCharacters="§"
- />
- <Key android:keyLabel="\\"/>
- <Key android:keyLabel="&lt;"
- android:popupKeyboard="@xml/kbd_popup_template"
- android:popupCharacters="≤«‹"
- />
- <Key android:keyLabel="&gt;"
- android:popupKeyboard="@xml/kbd_popup_template"
- android:popupCharacters="≥»›"
- />
- <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete" android:keyWidth="15%p" android:keyEdgeFlags="right"
- android:iconPreview="@drawable/sym_keyboard_feedback_delete"
- android:isRepeatable="true" android:isModifier="true"/>
+ <Key
+ android:codes="@integer/key_shift"
+ android:keyLabel="@string/label_alt_key"
+ android:keyWidth="15%p"
+ android:isModifier="true"
+ android:isSticky="true"
+ android:keyEdgeFlags="left" />
+ <Key
+ android:keyLabel="™" />
+ <Key
+ android:keyLabel="®" />
+ <Key
+ android:keyLabel="©" />
+ <Key
+ android:keyLabel="¶"
+ android:popupKeyboard="@xml/kbd_popup_template"
+ android:popupCharacters="§" />
+ <Key
+ android:keyLabel="\\" />
+ <Key
+ android:keyLabel="&lt;"
+ android:popupKeyboard="@xml/kbd_popup_template"
+ android:popupCharacters="≤«‹" />
+ <Key
+ android:keyLabel="&gt;"
+ android:popupKeyboard="@xml/kbd_popup_template"
+ android:popupCharacters="≥»›" />
+ <Key
+ android:codes="@integer/key_delete"
+ android:keyIcon="@drawable/sym_keyboard_delete"
+ android:iconPreview="@drawable/sym_keyboard_feedback_delete"
+ android:keyWidth="15%p"
+ android:isModifier="true"
+ android:isRepeatable="true"
+ android:keyEdgeFlags="right" />
</Row>
-
<Row
android:keyboardMode="@+id/mode_symbols"
android:rowEdgeFlags="bottom"
>
- <Key android:codes="-2" android:keyLabel="@string/label_alpha_key" android:keyWidth="20%p"
- android:keyEdgeFlags="left" android:isModifier="true"/>
- <Key android:keyLabel="„" android:isModifier="true"/>
- <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
- android:keyWidth="40%p"
- android:iconPreview="@drawable/sym_keyboard_feedback_space"
- android:isRepeatable="true" android:isModifier="true"/>
- <Key android:keyLabel="…" android:isModifier="true"/>
- <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
- android:keyWidth="20%p" android:keyEdgeFlags="right"
- android:iconPreview="@drawable/sym_keyboard_feedback_return"
- android:isModifier="true"/>
+ <Key
+ android:codes="@integer/key_symbol"
+ android:keyLabel="@string/label_alpha_key"
+ android:keyWidth="20%p"
+ android:isModifier="true"
+ android:keyEdgeFlags="left" />
+ <Key
+ android:keyLabel="„"
+ android:isModifier="true" />
+ <Key
+ android:codes="@integer/key_space"
+ android:keyIcon="@drawable/sym_keyboard_space"
+ android:iconPreview="@drawable/sym_keyboard_feedback_space"
+ android:keyWidth="40%p"
+ android:isModifier="true"
+ android:isRepeatable="true" />
+ <Key
+ android:keyLabel="…"
+ android:isModifier="true" />
+ <Key
+ android:codes="@integer/key_return"
+ android:keyIcon="@drawable/sym_keyboard_return"
+ android:iconPreview="@drawable/sym_keyboard_feedback_return"
+ android:keyWidth="20%p"
+ android:isModifier="true"
+ android:keyEdgeFlags="right" />
</Row>
-
<Row
android:keyboardMode="@+id/mode_symbols_with_settings_key"
android:rowEdgeFlags="bottom"
>
- <Key android:codes="-2" android:keyLabel="@string/label_alpha_key" android:keyWidth="15%p"
- android:keyEdgeFlags="left" android:isModifier="true"/>
- <Key android:codes="@integer/key_settings" android:keyIcon="@drawable/sym_keyboard_settings"
- android:iconPreview="@drawable/sym_keyboard_feedback_settings"
- android:isModifier="true"/>
- <Key android:keyLabel="„" android:isModifier="true"/>
- <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
- android:keyWidth="30%p"
- android:iconPreview="@drawable/sym_keyboard_feedback_space"
- android:isRepeatable="true" android:isModifier="true"/>
- <Key android:keyLabel="…" android:isModifier="true"/>
- <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
- android:keyWidth="25%p" android:keyEdgeFlags="right"
- android:iconPreview="@drawable/sym_keyboard_feedback_return"
- android:isModifier="true"/>
+ <Key
+ android:codes="@integer/key_symbol"
+ android:keyLabel="@string/label_alpha_key"
+ android:keyWidth="15%p"
+ android:isModifier="true"
+ android:keyEdgeFlags="left" />
+ <Key
+ android:codes="@integer/key_settings"
+ android:keyIcon="@drawable/sym_keyboard_settings"
+ android:iconPreview="@drawable/sym_keyboard_feedback_settings"
+ android:isModifier="true" />
+ <Key
+ android:keyLabel="„"
+ android:isModifier="true" />
+ <Key
+ android:codes="@integer/key_space"
+ android:keyIcon="@drawable/sym_keyboard_space"
+ android:iconPreview="@drawable/sym_keyboard_feedback_space"
+ android:keyWidth="30%p"
+ android:isModifier="true"
+ android:isRepeatable="true" />
+ <Key
+ android:keyLabel="…"
+ android:isModifier="true" />
+ <Key
+ android:codes="@integer/key_return"
+ android:keyIcon="@drawable/sym_keyboard_return"
+ android:iconPreview="@drawable/sym_keyboard_feedback_return"
+ android:keyWidth="25%p"
+ android:isModifier="true"
+ android:keyEdgeFlags="right" />
</Row>
</Keyboard>