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 | > |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 28 | <include |
| 29 | latin:keyboardLayout="@xml/kbd_key_styles" /> |
Tadashi G. Takaoka | 2c60d6e | 2010-11-23 17:55:22 -0800 | [diff] [blame] | 30 | <!-- This row is intentionally not marked as a top row --> |
| 31 | <Row> |
| 32 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 33 | latin:keyStyle="tabKeyStyle" |
| 34 | latin:keyLabelOption="alignLeft" |
Tadashi G. Takaoka | 2c60d6e | 2010-11-23 17:55:22 -0800 | [diff] [blame] | 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 |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 58 | latin:keyStyle="deleteKeyStyle" |
Tadashi G. Takaoka | 2c60d6e | 2010-11-23 17:55:22 -0800 | [diff] [blame] | 59 | latin:keyWidth="9.804%p" |
Tadashi G. Takaoka | 2c60d6e | 2010-11-23 17:55:22 -0800 | [diff] [blame] | 60 | latin:keyEdgeFlags="right" /> |
| 61 | </Row> |
| 62 | <Row> |
| 63 | <Spacer |
| 64 | latin:horizontalGap="16.406%p" /> |
| 65 | <Key |
| 66 | latin:keyLabel="*" |
| 67 | latin:keyWidth="8.042%p" /> |
| 68 | <Key |
| 69 | latin:keyLabel="/" |
| 70 | latin:keyWidth="8.042%p" /> |
| 71 | <Key |
| 72 | latin:keyLabel="," |
| 73 | latin:keyWidth="8.042%p" /> |
| 74 | <Spacer |
| 75 | latin:horizontalGap="4.458%p" /> |
| 76 | <Key |
| 77 | latin:keyLabel="4" /> |
| 78 | <Key |
| 79 | latin:keyLabel="5" /> |
| 80 | <Key |
| 81 | latin:keyLabel="6" /> |
| 82 | <Spacer |
| 83 | latin:horizontalGap="4.458%p" /> |
| 84 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 85 | latin:keyStyle="returnKeyStyle" |
Tadashi G. Takaoka | 2c60d6e | 2010-11-23 17:55:22 -0800 | [diff] [blame] | 86 | latin:keyWidth="14.706%p" |
Tadashi G. Takaoka | 2c60d6e | 2010-11-23 17:55:22 -0800 | [diff] [blame] | 87 | latin:keyEdgeFlags="right" /> |
| 88 | </Row> |
| 89 | <Row> |
| 90 | <!-- There is an empty area bellow the "More" key and left of the "(" key. To ignore |
| 91 | the touch event on the area, "(" is intentionally not marked as a left edge key. --> |
| 92 | <Spacer |
| 93 | latin:horizontalGap="16.406%p" /> |
| 94 | <Key |
| 95 | latin:keyLabel="(" |
| 96 | latin:keyWidth="8.042%p" /> |
| 97 | <Key |
| 98 | latin:keyLabel=")" |
| 99 | latin:keyWidth="8.042%p" /> |
| 100 | <Key |
| 101 | latin:keyLabel="=" |
| 102 | latin:keyWidth="8.042%p" /> |
| 103 | <Spacer |
| 104 | latin:horizontalGap="4.458%p" /> |
| 105 | <Key |
| 106 | latin:keyLabel="7" /> |
| 107 | <Key |
| 108 | latin:keyLabel="8" /> |
| 109 | <Key |
| 110 | latin:keyLabel="9" /> |
| 111 | <!-- There is an empty area bellow the "Enter" key and right of the "9" key. To ignore |
| 112 | the touch event on the area, "9" is intentionally not marked as a right edge key. --> |
| 113 | </Row> |
| 114 | <!-- This row is intentionally not marked as a bottom row --> |
| 115 | <Row> |
| 116 | <!-- There is an empty area bellow the "More" key and left of the "space" key. To ignore |
| 117 | the touch event on the area, "space" is intentionally not marked as a left edge key. --> |
| 118 | <Spacer |
| 119 | latin:horizontalGap="16.406%p" /> |
| 120 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 121 | latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle" |
Tadashi G. Takaoka | 2c60d6e | 2010-11-23 17:55:22 -0800 | [diff] [blame] | 122 | latin:keyWidth="24.127%p" /> |
| 123 | <Spacer |
| 124 | latin:horizontalGap="4.458%p" /> |
| 125 | <Key |
| 126 | latin:keyLabel="*" /> |
| 127 | <Key |
| 128 | latin:keyLabel="0" /> |
| 129 | <Key |
| 130 | latin:keyLabel="#" /> |
| 131 | <!-- There is an empty area bellow the "Enter" key and right of the "#" key. To ignore |
| 132 | the touch event on the area, "#" is intentionally not marked as a right edge key. --> |
| 133 | </Row> |
| 134 | </Keyboard> |