The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | ** |
| 5 | ** Copyright 2008, The Android Open Source Project |
| 6 | ** |
| 7 | ** Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | ** you may not use this file except in compliance with the License. |
| 9 | ** You may obtain a copy of the License at |
| 10 | ** |
| 11 | ** http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | ** |
| 13 | ** Unless required by applicable law or agreed to in writing, software |
| 14 | ** distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | ** See the License for the specific language governing permissions and |
| 17 | ** limitations under the License. |
| 18 | */ |
| 19 | --> |
| 20 | |
| 21 | <Keyboard xmlns:android="http://schemas.android.com/apk/res/android" |
| 22 | android:keyWidth="10%p" |
| 23 | android:horizontalGap="0px" |
| 24 | android:verticalGap="0px" |
| 25 | android:keyHeight="@dimen/key_height" |
| 26 | > |
| 27 | |
| 28 | <Row> |
| 29 | <Key android:codes="49" android:keyLabel="1" android:keyEdgeFlags="left" |
| 30 | android:popupKeyboard="@xml/kbd_popup_template" |
| 31 | android:popupCharacters="¹½⅓¼⅛" |
| 32 | /> |
| 33 | <Key android:codes="50" android:keyLabel="2" |
| 34 | android:popupKeyboard="@xml/kbd_popup_template" |
| 35 | android:popupCharacters="²⅔" |
| 36 | /> |
| 37 | <Key android:codes="51" android:keyLabel="3" |
| 38 | android:popupKeyboard="@xml/kbd_popup_template" |
| 39 | android:popupCharacters="³¾⅜" |
| 40 | /> |
| 41 | <Key android:codes="52" android:keyLabel="4" |
| 42 | android:popupKeyboard="@xml/kbd_popup_template" |
| 43 | android:popupCharacters="⁴" |
| 44 | /> |
| 45 | <Key android:codes="53" android:keyLabel="5" |
| 46 | android:popupKeyboard="@xml/kbd_popup_template" |
| 47 | android:popupCharacters="⅝" |
| 48 | /> |
| 49 | <Key android:codes="54" android:keyLabel="6"/> |
| 50 | <Key android:codes="55" android:keyLabel="7" |
| 51 | android:popupKeyboard="@xml/kbd_popup_template" |
| 52 | android:popupCharacters="⅞" |
| 53 | /> |
| 54 | <Key android:codes="56" android:keyLabel="8"/> |
| 55 | <Key android:codes="57" android:keyLabel="9"/> |
| 56 | <Key android:codes="48" android:keyLabel="0" |
| 57 | android:popupKeyboard="@xml/kbd_popup_template" |
| 58 | android:popupCharacters="ⁿ∅" |
| 59 | android:keyEdgeFlags="right"/> |
| 60 | </Row> |
| 61 | |
| 62 | <Row> |
| 63 | <Key android:codes="64" android:keyLabel="\@" android:keyEdgeFlags="left"/> |
| 64 | <Key android:codes="35" android:keyLabel="\#"/> |
| 65 | <Key android:codes="36" android:keyLabel="$" |
| 66 | android:popupKeyboard="@xml/kbd_popup_template" |
| 67 | android:popupCharacters="¢£€¥₣₤₱" |
| 68 | /> |
| 69 | <Key android:codes="37" android:keyLabel="%" |
| 70 | android:popupKeyboard="@xml/kbd_popup_template" |
| 71 | android:popupCharacters="‰" |
| 72 | /> |
| 73 | <Key android:codes="38" android:keyLabel="&"/> |
| 74 | <Key android:codes="42" android:keyLabel="*" |
| 75 | android:popupKeyboard="@xml/kbd_popup_template" |
Daniel Sandler | cb3b687 | 2009-11-12 13:46:52 -0800 | [diff] [blame] | 76 | android:popupCharacters="†‡★" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 77 | /> |
| 78 | <Key android:codes="45" android:keyLabel="-" |
| 79 | android:popupKeyboard="@xml/kbd_popup_template" |
Amith Yamasani | 4032c24 | 2010-03-01 23:18:48 -0800 | [diff] [blame] | 80 | android:popupCharacters="_–—" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 81 | /> |
| 82 | <Key android:keyLabel="+" |
| 83 | android:popupKeyboard="@xml/kbd_popup_template" |
| 84 | android:popupCharacters="±" |
| 85 | /> |
| 86 | <Key android:codes="40" android:keyLabel="(" |
| 87 | android:popupKeyboard="@xml/kbd_popup_template" |
| 88 | android:popupCharacters="[{<" |
| 89 | /> |
| 90 | <Key android:codes="41" android:keyLabel=")" android:keyEdgeFlags="right" |
| 91 | android:popupKeyboard="@xml/kbd_popup_template" |
| 92 | android:popupCharacters="]}>" |
| 93 | /> |
| 94 | </Row> |
| 95 | |
| 96 | <Row> |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 97 | <Key android:codes="-1" android:keyLabel="@string/label_alt_key" |
| 98 | android:keyWidth="15%p" android:isModifier="true" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 99 | android:isSticky="true" android:keyEdgeFlags="left"/> |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 100 | <Key android:codes="33" android:keyLabel="!" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 101 | android:popupKeyboard="@xml/kbd_popup_template" |
| 102 | android:popupCharacters="¡" |
| 103 | /> |
| 104 | <Key android:codes="34" android:keyLabel=""" |
| 105 | android:popupKeyboard="@xml/kbd_popup_template" |
| 106 | android:popupCharacters="“”«»˝" |
| 107 | /> |
Daniel Sandler | 4698456 | 2009-10-29 13:28:46 -0400 | [diff] [blame] | 108 | <Key android:codes="39" android:keyLabel="\'" |
| 109 | android:popupKeyboard="@xml/kbd_popup_template" |
| 110 | android:popupCharacters="‘’" |
| 111 | /> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 112 | <Key android:codes="58" android:keyLabel=":"/> |
| 113 | <Key android:codes="59" android:keyLabel=";"/> |
| 114 | <Key android:codes="47" android:keyLabel="/" /> |
| 115 | <Key android:codes="63" android:keyLabel="\?" |
| 116 | android:popupKeyboard="@xml/kbd_popup_template" |
| 117 | android:popupCharacters="¿" |
| 118 | /> |
| 119 | <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete" android:keyWidth="15%p" android:keyEdgeFlags="right" |
| 120 | android:iconPreview="@drawable/sym_keyboard_feedback_delete" |
| 121 | android:isRepeatable="true"/> |
| 122 | </Row> |
Amith Yamasani | 36fcf25 | 2009-10-12 13:48:35 -0700 | [diff] [blame] | 123 | |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 124 | <Row android:rowEdgeFlags="bottom"> |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 125 | <Key android:codes="-2" android:keyLabel="@string/label_alpha_key" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 126 | android:keyWidth="20%p" android:keyEdgeFlags="left"/> |
Amith Yamasani | b1cd701 | 2010-01-28 07:33:27 -0800 | [diff] [blame] | 127 | <Key android:codes="@integer/key_f1" android:keyWidth="10%p"/> |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 128 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
| 129 | android:keyWidth="40%p" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 130 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| 131 | android:isRepeatable="true"/> |
Ken Wakasa | 971e301 | 2010-03-04 18:51:31 +0900 | [diff] [blame] | 132 | <Key android:codes="46" android:keyLabel="." |
| 133 | android:popupKeyboard="@xml/popup_punctuation" |
| 134 | android:keyWidth="10%p"/> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 135 | <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" android:keyWidth="20%p" android:keyEdgeFlags="right" |
| 136 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
| 137 | /> |
| 138 | </Row> |
Daniel Sandler | 4698456 | 2009-10-29 13:28:46 -0400 | [diff] [blame] | 139 | </Keyboard> |