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