Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | ** |
| 5 | ** Copyright 2010, 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 |
| 22 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 23 | android:keyWidth="7.5%p" |
| 24 | android:horizontalGap="0px" |
| 25 | android:verticalGap="0px" |
| 26 | android:keyHeight="@dimen/key_height" |
| 27 | > |
Tadashi G. Takaoka | b514d3f | 2010-09-28 09:39:19 +0900 | [diff] [blame^] | 28 | <Row> |
| 29 | <!-- This row is intentionally not marked as a top row --> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 30 | <Key |
| 31 | android:codes="@integer/key_tab" |
| 32 | android:keyLabel="Tab" |
| 33 | android:keyEdgeFlags="left" /> |
| 34 | <Key |
| 35 | android:keyLabel="1" /> |
| 36 | <Key |
| 37 | android:keyLabel="2" /> |
| 38 | <Key |
| 39 | android:keyLabel="3" /> |
| 40 | <Key |
| 41 | android:keyLabel="4" /> |
| 42 | <Key |
| 43 | android:keyLabel="5" /> |
| 44 | <Key |
| 45 | android:keyLabel="6" /> |
| 46 | <Key |
| 47 | android:keyLabel="7" /> |
| 48 | <Key |
| 49 | android:keyLabel="8" /> |
| 50 | <Key |
| 51 | android:keyLabel="9" /> |
| 52 | <Key |
| 53 | android:keyLabel="0" /> |
| 54 | <Key |
| 55 | android:keyLabel="~" /> |
| 56 | <Key |
| 57 | android:codes="@integer/key_delete" |
| 58 | android:keyIcon="@drawable/sym_keyboard_delete" |
| 59 | android:iconPreview="@drawable/sym_keyboard_feedback_delete" |
| 60 | android:keyWidth="10.5%p" |
| 61 | android:isModifier="true" |
| 62 | android:isRepeatable="true" |
| 63 | android:keyEdgeFlags="right" /> |
| 64 | </Row> |
| 65 | <Row> |
| 66 | <Key |
| 67 | android:codes="@integer/key_symbol" |
Tadashi G. Takaoka | b514d3f | 2010-09-28 09:39:19 +0900 | [diff] [blame^] | 68 | android:keyLabel="@string/label_alpha_key" |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 69 | android:keyWidth="8.75%p" |
| 70 | android:isModifier="true" |
| 71 | android:keyEdgeFlags="left" /> |
| 72 | <Key |
| 73 | android:keyLabel="\@" /> |
| 74 | <Key |
| 75 | android:keyLabel="#" /> |
| 76 | <Key |
| 77 | android:keyLabel="$" /> |
| 78 | <Key |
| 79 | android:keyLabel="%" /> |
| 80 | <Key |
| 81 | android:keyLabel="^" /> |
| 82 | <Key |
| 83 | android:keyLabel="&" /> |
| 84 | <Key |
| 85 | android:keyLabel="*" /> |
| 86 | <Key |
| 87 | android:keyLabel="-" /> |
| 88 | <Key |
| 89 | android:keyLabel="+" /> |
| 90 | <Key |
| 91 | android:keyLabel="(" /> |
| 92 | <Key |
| 93 | android:keyLabel=")" /> |
| 94 | <Key |
| 95 | android:codes="@integer/key_return" |
| 96 | android:keyIcon="@drawable/sym_keyboard_return" |
| 97 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
| 98 | android:keyWidth="8.75%p" |
| 99 | android:isModifier="true" |
| 100 | android:keyEdgeFlags="right" /> |
| 101 | </Row> |
| 102 | <Row> |
| 103 | <Key |
| 104 | android:codes="@integer/key_shift" |
| 105 | android:keyIcon="@drawable/sym_keyboard_shift" |
| 106 | android:iconPreview="@drawable/sym_keyboard_feedback_shift" |
| 107 | android:keyWidth="12.5%p" |
| 108 | android:isModifier="true" |
| 109 | android:isSticky="true" |
| 110 | android:keyEdgeFlags="left" /> |
| 111 | <Key |
| 112 | android:keyLabel="!" /> |
| 113 | <Key |
| 114 | android:keyLabel=""" /> |
| 115 | <Key |
| 116 | android:keyLabel="\'" /> |
| 117 | <Key |
| 118 | android:keyLabel=":" /> |
| 119 | <Key |
| 120 | android:keyLabel=";" /> |
| 121 | <Key |
| 122 | android:keyLabel="/" /> |
| 123 | <Key |
| 124 | android:keyLabel="\\" /> |
| 125 | <Key |
| 126 | android:keyLabel="," /> |
| 127 | <Key |
| 128 | android:keyLabel="." /> |
| 129 | <Key |
| 130 | android:keyLabel="\?" /> |
| 131 | <Key |
| 132 | android:codes="@integer/key_shift" |
| 133 | android:keyIcon="@drawable/sym_keyboard_shift" |
| 134 | android:iconPreview="@drawable/sym_keyboard_feedback_shift" |
| 135 | android:keyWidth="12.5%p" |
| 136 | android:isModifier="true" |
| 137 | android:isSticky="true" |
Tadashi G. Takaoka | b514d3f | 2010-09-28 09:39:19 +0900 | [diff] [blame^] | 138 | android:keyEdgeFlags="right" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 139 | </Row> |
Tadashi G. Takaoka | b514d3f | 2010-09-28 09:39:19 +0900 | [diff] [blame^] | 140 | <Row> |
| 141 | <!-- This row is intentionally not marked as a bottom row --> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 142 | <Key |
| 143 | android:keyLabel="<" |
| 144 | android:horizontalGap="16.25%p" /> |
| 145 | <Key |
| 146 | android:keyLabel=">" /> |
| 147 | <Key |
| 148 | android:codes="@integer/key_space" |
| 149 | android:keyIcon="@drawable/sym_keyboard_space" |
| 150 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| 151 | android:keyWidth="37.5%p" |
| 152 | android:isModifier="true" /> |
| 153 | <Key |
| 154 | android:keyLabel="[" /> |
| 155 | <Key |
| 156 | android:keyLabel="]" /> |
| 157 | </Row> |
| 158 | </Keyboard> |