• 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<Keyboard
22    xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
23    latin:keyWidth="13.250%p"
24>
25    <include
26        latin:keyboardLayout="@xml/kbd_key_styles" />
27    <include
28        latin:keyboardLayout="@xml/kbd_numkey_styles" />
29    <Row>
30        <Key
31            latin:keyStyle="tabKeyStyle"
32            latin:keyLabelOption="alignLeft"
33            latin:keyWidth="11.172%p" />
34        <Key
35            latin:keyLabel="-"
36            latin:keyStyle="numKeyStyle"
37            latin:keyXPos="13.829%p"
38            latin:keyWidth="8.047%p" />
39        <Key
40            latin:keyLabel="+"
41            latin:keyStyle="numKeyStyle"
42            latin:keyWidth="8.047%p" />
43        <Key
44            latin:code="44"
45            latin:keyLabel="@string/label_pause_key"
46            latin:keyLabelOption="followKeyHintLabelRatio|autoXScale"
47            latin:keyWidth="8.047%p" />
48        <Key
49            latin:keyStyle="num1KeyStyle"
50            latin:keyXPos="43.125%p" />
51        <Key
52            latin:keyStyle="num2KeyStyle" />
53        <Key
54            latin:keyStyle="num3KeyStyle" />
55        <Key
56            latin:keyStyle="deleteKeyStyle"
57            latin:keyXPos="-11.172%p"
58            latin:keyWidth="fillRight" />
59    </Row>
60    <Row>
61        <Key
62            latin:keyStyle="backFromMoreSymbolKeyStyle"
63            latin:keyWidth="11.172%p" />
64        <Key
65            latin:keyLabel=","
66            latin:keyStyle="numKeyStyle"
67            latin:keyXPos="13.829%p"
68            latin:keyWidth="8.047%p" />
69        <Key
70            latin:keyLabel="."
71            latin:keyStyle="numKeyStyle"
72            latin:keyWidth="8.047%p" />
73        <Key
74            latin:code="59"
75            latin:keyLabel="@string/label_wait_key"
76            latin:keyLabelOption="followKeyHintLabelRatio|autoXScale"
77            latin:keyWidth="8.047%p" />
78        <Key
79            latin:keyStyle="num4KeyStyle"
80            latin:keyXPos="43.125%p" />
81        <Key
82            latin:keyStyle="num5KeyStyle" />
83        <Key
84            latin:keyStyle="num6KeyStyle" />
85        <Key
86            latin:keyStyle="returnKeyStyle"
87            latin:keyXPos="-11.172%p"
88            latin:keyWidth="fillRight" />
89    </Row>
90    <Row>
91        <!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
92        <Spacer
93            latin:keyWidth="13.829%p" />
94        <Key
95            latin:keyLabel="("
96            latin:keyStyle="numKeyStyle"
97            latin:keyWidth="8.047%p" />
98        <Key
99            latin:keyLabel=")"
100            latin:keyStyle="numKeyStyle"
101            latin:keyWidth="8.047%p" />
102        <Key
103            latin:keyLabel="N"
104            latin:keyStyle="numKeyStyle"
105            latin:keyWidth="8.047%p" />
106        <Key
107            latin:keyStyle="num7KeyStyle"
108            latin:keyXPos="43.125%p" />
109        <Key
110            latin:keyStyle="num8KeyStyle" />
111        <Key
112            latin:keyStyle="num9KeyStyle" />
113        <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
114        <Spacer
115            latin:keyWidth="0%p" />
116    </Row>
117    <Row>
118        <switch>
119            <case latin:hasSettingsKey="true">
120                <Key
121                    latin:keyStyle="settingsKeyStyle"
122                    latin:keyWidth="8.047%p" />
123            </case>
124            <default>
125                <!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
126                <Spacer
127                    latin:keyWidth="8.047%p" />
128            </default>
129        </switch>
130        <Key
131            latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
132            latin:keyXPos="13.829%p"
133            latin:keyWidth="24.140%p" />
134        <Key
135            latin:keyStyle="numStarKeyStyle"
136            latin:keyXPos="43.125%p" />
137        <Key
138            latin:keyStyle="num0KeyStyle" />
139        <Key
140            latin:keyLabel="#"
141            latin:keyStyle="numKeyStyle" />
142        <switch>
143            <case
144                latin:shortcutKeyEnabled="true"
145            >
146                <Key
147                    latin:keyStyle="shortcutKeyStyle"
148                    latin:keyXPos="-8.047%p"
149                    latin:keyWidth="fillRight" />
150            </case>
151            <default>
152                <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
153                <Spacer
154                    latin:keyWidth="0%p" />
155            </default>
156        </switch>
157    </Row>
158</Keyboard>
159