Tadashi G. Takaoka | 2c60d6e | 2010-11-23 17:55:22 -0800 | [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="11.949%p" |
| 24 | latin:horizontalGap="@dimen/key_horizontal_gap" |
| 25 | latin:verticalGap="@dimen/key_bottom_gap" |
| 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:keyLabelOption="fontNormal|alignLeft|alignBottom" |
| 34 | latin:isModifier="true" |
| 35 | latin:keyEdgeFlags="left" /> |
| 36 | <Spacer |
| 37 | latin:horizontalGap="4.458%p" /> |
| 38 | <Key |
| 39 | latin:keyLabel="-" |
| 40 | latin:keyWidth="8.042%p" /> |
| 41 | <Key |
| 42 | latin:keyLabel="+" |
| 43 | latin:keyWidth="8.042%p" /> |
| 44 | <Key |
| 45 | latin:keyLabel="." |
| 46 | latin:keyWidth="8.042%p" /> |
| 47 | <Spacer |
| 48 | latin:horizontalGap="4.458%p" /> |
| 49 | <Key |
| 50 | latin:keyLabel="1" /> |
| 51 | <Key |
| 52 | latin:keyLabel="2" /> |
| 53 | <Key |
| 54 | latin:keyLabel="3" /> |
| 55 | <Spacer |
| 56 | latin:horizontalGap="9.360%p" /> |
| 57 | <Key |
| 58 | latin:codes="@integer/key_delete" |
| 59 | latin:keyLabel="@string/label_backspace_key" |
| 60 | latin:keyLabelOption="fontNormal|alignRight|alignBottom" |
| 61 | latin:keyWidth="9.804%p" |
| 62 | latin:isModifier="true" |
| 63 | latin:isRepeatable="true" |
| 64 | latin:keyEdgeFlags="right" /> |
| 65 | </Row> |
| 66 | <Row> |
| 67 | <Spacer |
| 68 | latin:horizontalGap="16.406%p" /> |
| 69 | <Key |
| 70 | latin:keyLabel="*" |
| 71 | latin:keyWidth="8.042%p" /> |
| 72 | <Key |
| 73 | latin:keyLabel="/" |
| 74 | latin:keyWidth="8.042%p" /> |
| 75 | <Key |
| 76 | latin:keyLabel="," |
| 77 | latin:keyWidth="8.042%p" /> |
| 78 | <Spacer |
| 79 | latin:horizontalGap="4.458%p" /> |
| 80 | <Key |
| 81 | latin:keyLabel="4" /> |
| 82 | <Key |
| 83 | latin:keyLabel="5" /> |
| 84 | <Key |
| 85 | latin:keyLabel="6" /> |
| 86 | <Spacer |
| 87 | latin:horizontalGap="4.458%p" /> |
| 88 | <Key |
| 89 | latin:codes="@integer/key_return" |
| 90 | latin:keyLabel="@string/label_return_key" |
| 91 | latin:keyLabelOption="fontNormal|alignRight|alignBottom" |
| 92 | latin:keyWidth="14.706%p" |
| 93 | latin:isModifier="true" |
| 94 | latin:keyEdgeFlags="right" /> |
| 95 | </Row> |
| 96 | <Row> |
| 97 | <!-- There is an empty area bellow the "More" key and left of the "(" key. To ignore |
| 98 | the touch event on the area, "(" is intentionally not marked as a left edge key. --> |
| 99 | <Spacer |
| 100 | latin:horizontalGap="16.406%p" /> |
| 101 | <Key |
| 102 | latin:keyLabel="(" |
| 103 | latin:keyWidth="8.042%p" /> |
| 104 | <Key |
| 105 | latin:keyLabel=")" |
| 106 | latin:keyWidth="8.042%p" /> |
| 107 | <Key |
| 108 | latin:keyLabel="=" |
| 109 | latin:keyWidth="8.042%p" /> |
| 110 | <Spacer |
| 111 | latin:horizontalGap="4.458%p" /> |
| 112 | <Key |
| 113 | latin:keyLabel="7" /> |
| 114 | <Key |
| 115 | latin:keyLabel="8" /> |
| 116 | <Key |
| 117 | latin:keyLabel="9" /> |
| 118 | <!-- There is an empty area bellow the "Enter" key and right of the "9" key. To ignore |
| 119 | the touch event on the area, "9" is intentionally not marked as a right edge key. --> |
| 120 | </Row> |
| 121 | <!-- This row is intentionally not marked as a bottom row --> |
| 122 | <Row> |
| 123 | <!-- There is an empty area bellow the "More" key and left of the "space" key. To ignore |
| 124 | the touch event on the area, "space" is intentionally not marked as a left edge key. --> |
| 125 | <Spacer |
| 126 | latin:horizontalGap="16.406%p" /> |
| 127 | <Key |
| 128 | latin:codes="@integer/key_space" |
| 129 | latin:keyIcon="@drawable/sym_keyboard_space" |
| 130 | latin:iconPreview="@drawable/sym_keyboard_feedback_space" |
| 131 | latin:keyWidth="24.127%p" /> |
| 132 | <Spacer |
| 133 | latin:horizontalGap="4.458%p" /> |
| 134 | <Key |
| 135 | latin:keyLabel="*" /> |
| 136 | <Key |
| 137 | latin:keyLabel="0" /> |
| 138 | <Key |
| 139 | latin:keyLabel="#" /> |
| 140 | <!-- There is an empty area bellow the "Enter" key and right of the "#" key. To ignore |
| 141 | the touch event on the area, "#" is intentionally not marked as a right edge key. --> |
| 142 | </Row> |
| 143 | </Keyboard> |