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 | abd7392 | 2011-06-02 21:11:45 +0900 | [diff] [blame] | 23 | latin:keyWidth="13.250%p" |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 24 | > |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 25 | <include |
| 26 | latin:keyboardLayout="@xml/kbd_key_styles" /> |
| 27 | <include |
| 28 | latin:keyboardLayout="@xml/kbd_numkey_styles" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 29 | <!-- This row is intentionally not marked as a top row --> |
| 30 | <Row> |
| 31 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 32 | latin:keyStyle="tabKeyStyle" |
| 33 | latin:keyLabelOption="alignLeft" |
Tadashi G. Takaoka | abd7392 | 2011-06-02 21:11:45 +0900 | [diff] [blame] | 34 | latin:keyWidth="11.172%p" |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 35 | latin:keyEdgeFlags="left" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 36 | <Key |
Tadashi G. Takaoka | 9d9522a | 2011-06-15 12:36:53 +0900 | [diff] [blame] | 37 | latin:keyLabel="-" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 38 | latin:keyXPos="20.400%p" |
| 39 | latin:keyWidth="8.047%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 40 | <Key |
Tadashi G. Takaoka | 9d9522a | 2011-06-15 12:36:53 +0900 | [diff] [blame] | 41 | latin:keyLabel="+" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 42 | latin:keyWidth="8.047%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 43 | <Key |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 44 | latin:keyStyle="num1KeyStyle" |
Tadashi G. Takaoka | abd7392 | 2011-06-02 21:11:45 +0900 | [diff] [blame] | 45 | latin:keyXPos="43.125%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 46 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 47 | latin:keyStyle="num2KeyStyle" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 48 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 49 | latin:keyStyle="num3KeyStyle" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 50 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 51 | latin:keyStyle="deleteKeyStyle" |
Tadashi G. Takaoka | abd7392 | 2011-06-02 21:11:45 +0900 | [diff] [blame] | 52 | latin:keyXPos="-11.172%p" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 53 | latin:keyWidth="fillRight" |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 54 | latin:keyEdgeFlags="right" /> |
| 55 | </Row> |
| 56 | <Row> |
| 57 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 58 | latin:keyStyle="moreKeyStyle" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 59 | latin:keyWidth="11.172%p" |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 60 | latin:keyEdgeFlags="left" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 61 | <Key |
Tadashi G. Takaoka | 9d9522a | 2011-06-15 12:36:53 +0900 | [diff] [blame] | 62 | latin:keyLabel="," |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 63 | latin:keyXPos="20.400%p" |
| 64 | latin:keyWidth="8.047%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 65 | <Key |
Tadashi G. Takaoka | 9d9522a | 2011-06-15 12:36:53 +0900 | [diff] [blame] | 66 | latin:keyLabel="." |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 67 | latin:keyWidth="8.047%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 68 | <Key |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 69 | latin:keyStyle="num4KeyStyle" |
Tadashi G. Takaoka | abd7392 | 2011-06-02 21:11:45 +0900 | [diff] [blame] | 70 | latin:keyXPos="43.125%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 71 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 72 | latin:keyStyle="num5KeyStyle" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 73 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 74 | latin:keyStyle="num6KeyStyle" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 75 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 76 | latin:keyStyle="returnKeyStyle" |
Tadashi G. Takaoka | abd7392 | 2011-06-02 21:11:45 +0900 | [diff] [blame] | 77 | latin:keyXPos="-11.172%p" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 78 | latin:keyWidth="fillRight" |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 79 | latin:keyEdgeFlags="right" /> |
| 80 | </Row> |
| 81 | <Row> |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 82 | <!-- There is an empty area below the "More" key and left of the "(" key. To ignore |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 83 | the touch event on the area, "(" is intentionally not marked as a left edge key. --> |
| 84 | <Key |
Tadashi G. Takaoka | 9d9522a | 2011-06-15 12:36:53 +0900 | [diff] [blame] | 85 | latin:keyLabel="(" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 86 | latin:keyXPos="20.400%p" |
| 87 | latin:keyWidth="8.047%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 88 | <Key |
Tadashi G. Takaoka | 9d9522a | 2011-06-15 12:36:53 +0900 | [diff] [blame] | 89 | latin:keyLabel=")" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 90 | latin:keyWidth="8.047%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 91 | <Key |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 92 | latin:keyStyle="num7KeyStyle" |
Tadashi G. Takaoka | abd7392 | 2011-06-02 21:11:45 +0900 | [diff] [blame] | 93 | latin:keyXPos="43.125%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 94 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 95 | latin:keyStyle="num8KeyStyle" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 96 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 97 | latin:keyStyle="num9KeyStyle" /> |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 98 | <!-- There is an empty area below the "Enter" key and right of the "9" key. To ignore |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 99 | the touch event on the area, "9" is intentionally not marked as a right edge key. --> |
| 100 | </Row> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 101 | <!-- This row is intentionally not marked as a bottom row --> |
| 102 | <Row> |
Tadashi G. Takaoka | 4199e29 | 2011-02-23 20:31:08 +0900 | [diff] [blame] | 103 | <switch> |
| 104 | <case latin:hasSettingsKey="true"> |
| 105 | <Key |
| 106 | latin:keyStyle="settingsKeyStyle" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 107 | latin:keyWidth="8.047%p" /> |
Tadashi G. Takaoka | 4199e29 | 2011-02-23 20:31:08 +0900 | [diff] [blame] | 108 | </case> |
Tadashi G. Takaoka | 4199e29 | 2011-02-23 20:31:08 +0900 | [diff] [blame] | 109 | </switch> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 110 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 111 | latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 112 | latin:keyXPos="20.400%p" |
Tadashi G. Takaoka | 7ab9f60 | 2011-01-18 14:08:40 +0900 | [diff] [blame] | 113 | latin:keyWidth="16.084%p" /> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 114 | <Key |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 115 | latin:keyStyle="numStarKeyStyle" |
Tadashi G. Takaoka | abd7392 | 2011-06-02 21:11:45 +0900 | [diff] [blame] | 116 | latin:keyXPos="43.125%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="num0KeyStyle" /> |
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="numPoundKeyStyle" /> |
Tadashi G. Takaoka | 0f901aa | 2011-01-13 13:43:39 +0900 | [diff] [blame] | 121 | <switch> |
| 122 | <case |
| 123 | latin:voiceKeyEnabled="true" |
| 124 | > |
| 125 | <Key |
Tadashi G. Takaoka | c2a2178 | 2011-06-21 23:38:42 +0900 | [diff] [blame^] | 126 | latin:keyStyle="shortcutKeyStyle" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 127 | latin:keyXPos="-8.047%p" |
| 128 | latin:keyWidth="fillRight" /> |
Tadashi G. Takaoka | 0f901aa | 2011-01-13 13:43:39 +0900 | [diff] [blame] | 129 | </case> |
| 130 | </switch> |
Tadashi G. Takaoka | 4d3a4dc | 2010-10-09 01:06:26 +0900 | [diff] [blame] | 131 | </Row> |
| 132 | </Keyboard> |