Tadashi G. Takaoka | d8638ff | 2011-05-26 12:50:38 +0900 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | ** |
| 5 | ** Copyright 2011, 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 | <merge |
| 22 | xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" |
| 23 | > |
| 24 | <switch> |
| 25 | <case |
| 26 | latin:mode="web" |
| 27 | > |
| 28 | <switch> |
| 29 | <case |
| 30 | latin:voiceKeyEnabled="true" |
| 31 | latin:passwordInput="false" |
| 32 | > |
| 33 | <Key |
| 34 | latin:keyStyle="webTabKeyStyle" |
| 35 | latin:keyWidth="6.5%p" /> |
| 36 | <Key |
| 37 | latin:keyStyle="micKeyStyle" |
| 38 | latin:keyWidth="6.6%p" /> |
| 39 | </case> |
| 40 | <default> |
| 41 | <Spacer |
| 42 | latin:horizontalGap="4.15%p" /> |
| 43 | <Key |
| 44 | latin:keyStyle="webTabKeyStyle" /> |
| 45 | </default> |
| 46 | </switch> |
| 47 | </case> |
| 48 | <default> |
| 49 | <switch> |
| 50 | <case |
| 51 | latin:hasSettingsKey="true" |
| 52 | latin:voiceKeyEnabled="true" |
| 53 | > |
| 54 | <Key |
| 55 | latin:keyStyle="settingsKeyStyle" |
| 56 | latin:keyWidth="6.5%p" /> |
| 57 | <Key |
| 58 | latin:keyStyle="micKeyStyle" |
| 59 | latin:keyWidth="6.6%p" /> |
| 60 | </case> |
| 61 | <case |
| 62 | latin:hasSettingsKey="true" |
| 63 | latin:voiceKeyEnabled="false" |
| 64 | > |
| 65 | <Spacer |
| 66 | latin:horizontalGap="4.15%p" /> |
| 67 | <Key |
| 68 | latin:keyStyle="settingsKeyStyle" /> |
| 69 | </case> |
| 70 | <case |
| 71 | latin:hasSettingsKey="false" |
| 72 | latin:voiceKeyEnabled="true" |
| 73 | > |
| 74 | <Spacer |
| 75 | latin:horizontalGap="4.15%p" /> |
| 76 | <Key |
| 77 | latin:keyStyle="micKeyStyle" /> |
| 78 | </case> |
| 79 | <default> |
| 80 | <Spacer |
| 81 | latin:horizontalGap="13.0%p" /> |
| 82 | </default> |
| 83 | </switch> |
| 84 | </default> |
| 85 | </switch> |
| 86 | </merge> |