• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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<merge
22    xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
23>
24    <Row
25        latin:keyWidth="10%p"
26    >
27        <switch>
28            <case
29                latin:hasSettingsKey="false"
30                latin:navigateAction="false"
31            >
32                <Key
33                    latin:keyStyle="toAlphaKeyStyle"
34                    latin:keyWidth="15%p" />
35                <include
36                    latin:keyboardLayout="@xml/kbd_symbols_f1" />
37                <Key
38                    latin:keyStyle="spaceKeyStyle"
39                    latin:keyWidth="50%p" />
40                <Key
41                    latin:keyStyle="punctuationKeyStyle" />
42                <Key
43                    latin:keyStyle="returnKeyStyle"
44                    latin:keyWidth="fillRight" />
45            </case>
46            <!-- hasSettingsKey="true" or navigateAction="true" -->
47            <default>
48                <Key
49                    latin:keyStyle="toAlphaKeyStyle"
50                    latin:keyWidth="13.75%p" />
51                <include
52                    latin:keyboardLayout="@xml/kbd_settings_or_tab" />
53                <include
54                    latin:keyboardLayout="@xml/kbd_qwerty_f1" />
55                <Key
56                    latin:keyStyle="spaceKeyStyle"
57                    latin:keyWidth="35.83%p" />
58                <Key
59                    latin:keyStyle="punctuationKeyStyle"
60                    latin:keyWidth="9.2%p" />
61                <Key
62                    latin:keyStyle="returnKeyStyle"
63                    latin:keyWidth="fillRight" />
64            </default>
65        </switch>
66    </Row>
67</merge>
68