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