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