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 | 9f01ed5 | 2010-12-08 14:36:41 +0900 | [diff] [blame] | 23 | latin:keyboardHeight="@dimen/keyboardHeight" |
| 24 | latin:maxKeyboardHeight="50%p" |
| 25 | latin:rowHeight="25%p" |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 26 | latin:keyWidth="11.949%p" |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 27 | latin:horizontalGap="@dimen/key_horizontal_gap" |
| 28 | latin:verticalGap="@dimen/key_bottom_gap" |
Tadashi G. Takaoka | 9b6d1d5 | 2010-12-14 15:31:47 +0900 | [diff] [blame] | 29 | latin:popupKeyboardTemplate="@xml/kbd_popup_template" |
| 30 | latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column" |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 31 | > |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 32 | <include |
| 33 | latin:keyboardLayout="@xml/kbd_key_styles" /> |
| 34 | <include |
| 35 | latin:keyboardLayout="@xml/kbd_numkey_styles" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 36 | <!-- This row is intentionally not marked as a top row --> |
| 37 | <Row> |
| 38 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 39 | latin:keyStyle="tabKeyStyle" |
| 40 | latin:keyLabelOption="alignLeft" |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 41 | latin:keyEdgeFlags="left" /> |
| 42 | <!-- To match one character label size with "Tab", I placed spaces around the char '-' |
| 43 | and '+'. --> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 44 | <Spacer |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 45 | latin:horizontalGap="8.470%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 46 | <Key |
| 47 | latin:codes="45" |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 48 | latin:keyLabel=" - " |
| 49 | latin:keyWidth="8.042%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 50 | <Key |
| 51 | latin:codes="43" |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 52 | latin:keyLabel=" + " |
| 53 | latin:keyWidth="8.042%p" /> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 54 | <Spacer |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 55 | latin:horizontalGap="8.479%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 56 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 57 | latin:keyStyle="num1KeyStyle" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 58 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 59 | latin:keyStyle="num2KeyStyle" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 60 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 61 | latin:keyStyle="num3KeyStyle" /> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 62 | <Spacer |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 63 | latin:horizontalGap="9.360%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 64 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 65 | latin:keyStyle="deleteKeyStyle" |
| 66 | latin:keyWidth="9.804%p" |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 67 | latin:keyEdgeFlags="right" /> |
| 68 | </Row> |
| 69 | <Row> |
| 70 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 71 | latin:keyStyle="moreKeyStyle" |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 72 | latin:keyEdgeFlags="left" /> |
| 73 | <!-- To match one character label size with "More", I placed spaces around the char ',' |
| 74 | and '.'. --> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 75 | <Spacer |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 76 | latin:horizontalGap="8.470%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 77 | <Key |
| 78 | latin:codes="44" |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 79 | latin:keyLabel=" , " |
| 80 | latin:keyWidth="8.042%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 81 | <Key |
| 82 | latin:codes="46" |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 83 | latin:keyLabel=" . " |
| 84 | latin:keyWidth="8.042%p" /> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 85 | <Spacer |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 86 | latin:horizontalGap="8.479%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 87 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 88 | latin:keyStyle="num4KeyStyle" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 89 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 90 | latin:keyStyle="num5KeyStyle" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 91 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 92 | latin:keyStyle="num6KeyStyle" /> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 93 | <Spacer |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 94 | latin:horizontalGap="4.458%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 95 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 96 | latin:keyStyle="returnKeyStyle" |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 97 | latin:keyWidth="14.706%p" |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 98 | latin:keyEdgeFlags="right" /> |
| 99 | </Row> |
| 100 | <Row> |
| 101 | <!-- To match one character label size with "More", I placed spaces around the char '(' |
| 102 | and ')'. --> |
| 103 | <!-- There is an empty area bellow the "More" key and left of the "(" key. To ignore |
| 104 | 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] | 105 | <Spacer |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 106 | latin:horizontalGap="20.427%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 107 | <Key |
| 108 | latin:codes="40" |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 109 | latin:keyLabel=" ( " |
| 110 | latin:keyWidth="8.042%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 111 | <Key |
| 112 | latin:codes="41" |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 113 | latin:keyLabel=" ) " |
| 114 | latin:keyWidth="8.042%p" /> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 115 | <Spacer |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 116 | latin:horizontalGap="8.479%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 117 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 118 | latin:keyStyle="num7KeyStyle" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 119 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 120 | latin:keyStyle="num8KeyStyle" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 121 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 122 | latin:keyStyle="num9KeyStyle" /> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 123 | <!-- There is an empty area bellow the "Enter" key and right of the "9" key. To ignore |
| 124 | the touch event on the area, "9" is intentionally not marked as a right edge key. --> |
| 125 | </Row> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 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. --> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 130 | <Spacer |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 131 | latin:horizontalGap="20.427%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 132 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 133 | latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle" |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 134 | latin:keyWidth="16.085%p" /> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 135 | <Spacer |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 136 | latin:horizontalGap="8.479%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 137 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 138 | latin:keyStyle="numStarKeyStyle" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 139 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 140 | latin:keyStyle="num0KeyStyle" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 141 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 142 | latin:keyStyle="numPoundKeyStyle" /> |
Tadashi G. Takaoka | 2ff2a04 | 2010-12-07 14:06:32 +0900 | [diff] [blame] | 143 | <Key |
| 144 | latin:keyStyle="micKeyStyle" |
| 145 | latin:keyWidth="8.042%p" /> |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 146 | <!-- There is an empty area bellow the "Enter" key and right of the "#" key. To ignore |
| 147 | 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] | 148 | </Row> |
| 149 | </Keyboard> |