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