Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +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:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 23 | latin:keyWidth="8.2%p" |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 24 | latin:horizontalGap="@dimen/key_horizontal_gap" |
| 25 | latin:verticalGap="@dimen/key_bottom_gap" |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 26 | latin:keyHeight="@dimen/key_height" |
| 27 | > |
| 28 | <!-- This row is intentionally not marked as a top row --> |
| 29 | <Row> |
| 30 | <Key |
| 31 | latin:codes="@integer/key_tab" |
| 32 | latin:keyLabel="@string/label_tab_key" |
Tadashi G. Takaoka | cd39f2a | 2010-11-20 08:03:24 -0800 | [diff] [blame^] | 33 | latin:keyLabelOption="fontItalic|alignLeft|alignBottom" |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 34 | latin:keyWidth="12.1%p" |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 35 | latin:isModifier="true" |
| 36 | latin:keyEdgeFlags="left" /> |
| 37 | <!-- To match one character label size with "Tab", I placed spaces around the char '-' |
| 38 | and '+'. --> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 39 | <Spacer |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 40 | latin:horizontalGap="8.1%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 41 | <Key |
| 42 | latin:codes="45" |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 43 | latin:keyLabel=" - " /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 44 | <Key |
| 45 | latin:codes="43" |
| 46 | latin:keyLabel=" + " /> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 47 | <Spacer |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 48 | latin:horizontalGap="8.1%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 49 | <Key |
| 50 | latin:codes="49" |
| 51 | latin:keyIcon="@drawable/sym_keyboard_num1" |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 52 | latin:keyWidth="12.1%p " /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 53 | <Key |
| 54 | latin:codes="50" |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 55 | latin:keyIcon="@drawable/sym_keyboard_num2" |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 56 | latin:keyWidth="12.1%p " /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 57 | <Key |
| 58 | latin:codes="51" |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 59 | latin:keyIcon="@drawable/sym_keyboard_num3" |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 60 | latin:keyWidth="12.1%p " /> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 61 | <Spacer |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 62 | latin:horizontalGap="4.0%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 63 | <Key |
| 64 | latin:codes="@integer/key_delete" |
Tadashi G. Takaoka | cd39f2a | 2010-11-20 08:03:24 -0800 | [diff] [blame^] | 65 | latin:keyLabel="@string/label_backspace_key" |
| 66 | latin:keyLabelOption="fontItalic|alignRight|alignBottom" |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 67 | latin:keyWidth="15.0%p" |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 68 | latin:isModifier="true" |
| 69 | latin:isRepeatable="true" |
| 70 | latin:keyEdgeFlags="right" /> |
| 71 | </Row> |
| 72 | <Row> |
| 73 | <Key |
| 74 | latin:codes="@integer/key_symbol" |
| 75 | latin:keyLabel="@string/label_more_key" |
Tadashi G. Takaoka | cd39f2a | 2010-11-20 08:03:24 -0800 | [diff] [blame^] | 76 | latin:keyLabelOption="fontItalic|alignLeft|alignBottom" |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 77 | latin:keyWidth="12.1%p" |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 78 | latin:isModifier="true" |
| 79 | latin:isSticky="true" |
| 80 | latin:keyEdgeFlags="left" /> |
| 81 | <!-- To match one character label size with "More", I placed spaces around the char ',' |
| 82 | and '.'. --> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 83 | <Spacer |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 84 | latin:horizontalGap="8.1%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 85 | <Key |
| 86 | latin:codes="44" |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 87 | latin:keyLabel=" , " /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 88 | <Key |
| 89 | latin:codes="46" |
| 90 | latin:keyLabel=" . " /> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 91 | <Spacer |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 92 | latin:horizontalGap="8.1%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 93 | <Key |
| 94 | latin:codes="52" |
| 95 | latin:keyIcon="@drawable/sym_keyboard_num4" |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 96 | latin:keyWidth="12.1%p " /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 97 | <Key |
| 98 | latin:codes="53" |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 99 | latin:keyIcon="@drawable/sym_keyboard_num5" |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 100 | latin:keyWidth="12.1%p " /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 101 | <Key |
| 102 | latin:codes="54" |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 103 | latin:keyIcon="@drawable/sym_keyboard_num6" |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 104 | latin:keyWidth="12.1%p " /> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 105 | <Spacer |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 106 | latin:horizontalGap="4.0%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 107 | <Key |
| 108 | latin:codes="@integer/key_return" |
Tadashi G. Takaoka | cd39f2a | 2010-11-20 08:03:24 -0800 | [diff] [blame^] | 109 | latin:keyLabel="@string/label_return_key" |
| 110 | latin:keyLabelOption="fontItalic|alignRight|alignBottom" |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 111 | latin:keyWidth="15.0%p" |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 112 | latin:isModifier="true" |
| 113 | latin:keyEdgeFlags="right" /> |
| 114 | </Row> |
| 115 | <Row> |
| 116 | <!-- To match one character label size with "More", I placed spaces around the char '(' |
| 117 | and ')'. --> |
| 118 | <!-- There is an empty area bellow the "More" key and left of the "(" key. To ignore |
| 119 | the touch event on the area, "(" is intentionally not marked as a left edge key. --> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 120 | <Spacer |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 121 | latin:horizontalGap="20.2%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 122 | <Key |
| 123 | latin:codes="40" |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 124 | latin:keyLabel=" ( " /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 125 | <Key |
| 126 | latin:codes="41" |
| 127 | latin:keyLabel=" ) " /> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 128 | <Spacer |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 129 | latin:horizontalGap="8.1%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 130 | <Key |
| 131 | latin:codes="55" |
| 132 | latin:keyIcon="@drawable/sym_keyboard_num7" |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 133 | latin:keyWidth="12.1%p " /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 134 | <Key |
| 135 | latin:codes="56" |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 136 | latin:keyIcon="@drawable/sym_keyboard_num8" |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 137 | latin:keyWidth="12.1%p " /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 138 | <Key |
| 139 | latin:codes="57" |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 140 | latin:keyIcon="@drawable/sym_keyboard_num9" |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 141 | latin:keyWidth="12.1%p " /> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 142 | <!-- There is an empty area bellow the "Enter" key and right of the "9" key. To ignore |
| 143 | the touch event on the area, "9" is intentionally not marked as a right edge key. --> |
| 144 | </Row> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 145 | <!-- This row is intentionally not marked as a bottom row --> |
| 146 | <Row> |
| 147 | <!-- There is an empty area bellow the "More" key and left of the "space" key. To ignore |
| 148 | the touch event on the area, "space" is intentionally not marked as a left edge key. --> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 149 | <Spacer |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 150 | latin:horizontalGap="20.2%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 151 | <Key |
| 152 | latin:codes="@integer/key_space" |
| 153 | latin:keyIcon="@drawable/sym_keyboard_space" |
| 154 | latin:iconPreview="@drawable/sym_keyboard_feedback_space" |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 155 | latin:keyWidth="16.4%p" /> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 156 | <Spacer |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 157 | latin:horizontalGap="8.1%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 158 | <Key |
| 159 | latin:codes="42" |
| 160 | latin:keyIcon="@drawable/sym_keyboard_numstar" |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 161 | latin:keyWidth="12.1%p " /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 162 | <Key |
| 163 | latin:codes="48" |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 164 | latin:keyIcon="@drawable/sym_keyboard_num0" |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 165 | latin:keyWidth="12.1%p " /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 166 | <Key |
| 167 | latin:codes="35" |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 168 | latin:keyIcon="@drawable/sym_keyboard_numpound" |
Tadashi G. Takaoka | e302b19 | 2010-11-09 07:32:47 +0900 | [diff] [blame] | 169 | latin:keyWidth="12.1%p " /> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 170 | <!-- There is an empty area bellow the "Enter" key and right of the "#" key. To ignore |
| 171 | the touch event on the area, "#" is intentionally not marked as a right edge key. --> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 172 | </Row> |
| 173 | </Keyboard> |