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 2008, 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" |
Tadashi G. Takaoka | ff483e8 | 2011-05-12 14:49:18 +0900 | [diff] [blame] | 24 | latin:maxKeyboardHeight="@fraction/maxKeyboardHeight" |
| 25 | latin:minKeyboardHeight="@fraction/minKeyboardHeight" |
Tadashi G. Takaoka | 9f01ed5 | 2010-12-08 14:36:41 +0900 | [diff] [blame] | 26 | latin:rowHeight="25%p" |
Tadashi G. Takaoka | 2c60d6e | 2010-11-23 17:55:22 -0800 | [diff] [blame] | 27 | latin:keyWidth="26.67%p" |
| 28 | latin:horizontalGap="@dimen/key_horizontal_gap" |
| 29 | latin:verticalGap="@dimen/key_bottom_gap" |
Tadashi G. Takaoka | 9b6d1d5 | 2010-12-14 15:31:47 +0900 | [diff] [blame] | 30 | latin:popupKeyboardTemplate="@xml/kbd_popup_template" |
| 31 | latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column" |
Tadashi G. Takaoka | 2c60d6e | 2010-11-23 17:55:22 -0800 | [diff] [blame] | 32 | > |
| 33 | <include |
| 34 | latin:keyboardLayout="@xml/kbd_key_styles" /> |
Tadashi G. Takaoka | fa847fe | 2011-05-27 22:13:06 +0900 | [diff] [blame^] | 35 | <include |
| 36 | latin:keyboardLayout="@xml/kbd_numkey_styles" /> |
Tadashi G. Takaoka | 9b6d1d5 | 2010-12-14 15:31:47 +0900 | [diff] [blame] | 37 | <switch> |
Tadashi G. Takaoka | 2c60d6e | 2010-11-23 17:55:22 -0800 | [diff] [blame] | 38 | <case |
Tadashi G. Takaoka | fa847fe | 2011-05-27 22:13:06 +0900 | [diff] [blame^] | 39 | latin:passwordInput="true" |
Tadashi G. Takaoka | 2c60d6e | 2010-11-23 17:55:22 -0800 | [diff] [blame] | 40 | > |
Tadashi G. Takaoka | fa847fe | 2011-05-27 22:13:06 +0900 | [diff] [blame^] | 41 | <Row |
| 42 | latin:rowEdgeFlags="top" |
| 43 | > |
| 44 | <Key |
| 45 | latin:keyStyle="num1KeyStyle" |
| 46 | latin:keyEdgeFlags="left" /> |
| 47 | <Key |
| 48 | latin:keyStyle="num2KeyStyle" /> |
| 49 | <Key |
| 50 | latin:keyStyle="num3KeyStyle" /> |
| 51 | </Row> |
| 52 | <Row> |
| 53 | <Key |
| 54 | latin:keyStyle="num4KeyStyle" |
| 55 | latin:keyEdgeFlags="left" /> |
| 56 | <Key |
| 57 | latin:keyStyle="num5KeyStyle" /> |
| 58 | <Key |
| 59 | latin:keyStyle="num6KeyStyle" /> |
| 60 | </Row> |
| 61 | <Row> |
| 62 | <Key |
| 63 | latin:keyStyle="num7KeyStyle" |
| 64 | latin:keyEdgeFlags="left" /> |
| 65 | <Key |
| 66 | latin:keyStyle="num8KeyStyle" /> |
| 67 | <Key |
| 68 | latin:keyStyle="num9KeyStyle" /> |
| 69 | <Key |
| 70 | latin:keyStyle="deleteKeyStyle" |
| 71 | latin:keyWidth="20%p" |
| 72 | latin:keyEdgeFlags="right" /> |
| 73 | </Row> |
| 74 | <Row |
| 75 | latin:rowEdgeFlags="bottom" |
| 76 | > |
| 77 | <Spacer |
| 78 | latin:horizontalGap="26.67%p" /> |
| 79 | <Key |
| 80 | latin:keyStyle="num0KeyStyle" /> |
| 81 | <Spacer |
| 82 | latin:horizontalGap="26.67%p" /> |
| 83 | <Key |
| 84 | latin:keyStyle="returnKeyStyle" |
| 85 | latin:keyWidth="20%p" |
| 86 | latin:keyEdgeFlags="right" /> |
| 87 | </Row> |
Tadashi G. Takaoka | 2c60d6e | 2010-11-23 17:55:22 -0800 | [diff] [blame] | 88 | </case> |
Tadashi G. Takaoka | fa847fe | 2011-05-27 22:13:06 +0900 | [diff] [blame^] | 89 | <!-- latin:passwordInput="false" --> |
| 90 | <default> |
| 91 | <Row |
| 92 | latin:rowEdgeFlags="top" |
| 93 | > |
| 94 | <Key |
| 95 | latin:keyLabel="1" |
| 96 | latin:keyEdgeFlags="left" /> |
| 97 | <Key |
| 98 | latin:keyLabel="2" /> |
| 99 | <Key |
| 100 | latin:keyLabel="3" /> |
| 101 | <Key |
| 102 | latin:keyLabel="-" |
| 103 | latin:keyStyle="functionalKeyStyle" |
| 104 | latin:keyWidth="20%p" |
| 105 | latin:keyEdgeFlags="right" /> |
| 106 | </Row> |
| 107 | <Row> |
| 108 | <Key |
| 109 | latin:keyLabel="4" |
| 110 | latin:keyEdgeFlags="left" /> |
| 111 | <Key |
| 112 | latin:keyLabel="5" /> |
| 113 | <Key |
| 114 | latin:keyLabel="6" /> |
| 115 | <Key |
| 116 | latin:keyLabel="," |
| 117 | latin:keyStyle="functionalKeyStyle" |
| 118 | latin:keyWidth="20%p" |
| 119 | latin:keyEdgeFlags="right" /> |
| 120 | </Row> |
| 121 | <Row> |
| 122 | <Key |
| 123 | latin:keyLabel="7" |
| 124 | latin:keyEdgeFlags="left" /> |
| 125 | <Key |
| 126 | latin:keyLabel="8" /> |
| 127 | <Key |
| 128 | latin:keyLabel="9" /> |
| 129 | <Key |
| 130 | latin:keyStyle="deleteKeyStyle" |
| 131 | latin:keyWidth="20%p" |
| 132 | latin:keyEdgeFlags="right" /> |
| 133 | </Row> |
| 134 | <Row |
| 135 | latin:rowEdgeFlags="bottom" |
| 136 | > |
| 137 | <Key |
| 138 | latin:keyStyle="numSpaceKeyStyle" |
| 139 | latin:keyEdgeFlags="left" /> |
| 140 | <Key |
| 141 | latin:keyLabel="0" /> |
| 142 | <Key |
| 143 | latin:keyLabel="." /> |
| 144 | <Key |
| 145 | latin:keyStyle="returnKeyStyle" |
| 146 | latin:keyWidth="20%p" |
| 147 | latin:keyEdgeFlags="right" /> |
| 148 | </Row> |
| 149 | </default> |
Tadashi G. Takaoka | 2c60d6e | 2010-11-23 17:55:22 -0800 | [diff] [blame] | 150 | </switch> |
Tadashi G. Takaoka | 2c60d6e | 2010-11-23 17:55:22 -0800 | [diff] [blame] | 151 | </Keyboard> |