blob: 4eb493a6e675dba461ba3d375f4aec06e0f8c578 [file] [log] [blame]
Tadashi G. Takaoka3f72d812011-05-17 13:49:41 +09001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
Tadashi G. Takaokaf5443e42011-05-19 14:03:03 +09005** Copyright 2011, The Android Open Source Project
Tadashi G. Takaoka3f72d812011-05-17 13:49:41 +09006**
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:keyboardHeight="@dimen/keyboardHeight"
24 latin:maxKeyboardHeight="50%p"
25 latin:rowHeight="25%p"
26 latin:horizontalGap="@dimen/key_horizontal_gap"
27 latin:verticalGap="@dimen/key_bottom_gap"
28 latin:popupKeyboardTemplate="@xml/kbd_popup_template"
29 latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
30>
31 <include
32 latin:keyboardLayout="@xml/kbd_key_styles" />
33 <include
34 latin:keyboardLayout="@xml/kbd_currency_key_styles" />
Tadashi G. Takaokad8638ff2011-05-26 12:50:38 +090035 <!-- This row is intentionally not marked as a top row -->
Tadashi G. Takaoka3f72d812011-05-17 13:49:41 +090036 <Row
Tadashi G. Takaoka6b38a5f2011-05-27 02:38:11 +090037 latin:keyWidth="9.0%p"
Tadashi G. Takaoka3f72d812011-05-17 13:49:41 +090038 >
39 <Key
Tadashi G. Takaoka3f72d812011-05-17 13:49:41 +090040 latin:keyLabel="1"
Tadashi G. Takaokad8638ff2011-05-26 12:50:38 +090041 latin:popupCharacters="¹,½,⅓,¼,⅛" />
Tadashi G. Takaoka3f72d812011-05-17 13:49:41 +090042 <Key
43 latin:keyLabel="2"
44 latin:popupCharacters="²,⅔" />
45 <Key
46 latin:keyLabel="3"
47 latin:popupCharacters="³,¾,⅜" />
48 <Key
49 latin:keyLabel="4"
50 latin:popupCharacters="⁴" />
51 <Key
52 latin:keyLabel="5"
53 latin:popupCharacters="⅝" />
54 <Key
55 latin:keyLabel="6" />
56 <Key
57 latin:keyLabel="7"
58 latin:popupCharacters="⅞" />
59 <Key
60 latin:keyLabel="8" />
61 <Key
62 latin:keyLabel="9" />
63 <Key
64 latin:keyLabel="0"
Tadashi G. Takaokad8638ff2011-05-26 12:50:38 +090065 latin:popupCharacters="ⁿ,∅" />
66 <Key
67 latin:keyStyle="deleteKeyStyle"
Tadashi G. Takaoka6b38a5f2011-05-27 02:38:11 +090068 latin:keyXPos="-10.0%p"
69 latin:keyWidth="-10.0%p"
Tadashi G. Takaoka3f72d812011-05-17 13:49:41 +090070 latin:keyEdgeFlags="right" />
71 </Row>
Tadashi G. Takaokad8638ff2011-05-26 12:50:38 +090072 <Row
73 latin:keyWidth="9.0%p"
74 >
Tadashi G. Takaoka3f72d812011-05-17 13:49:41 +090075 <Key
Tadashi G. Takaoka6b38a5f2011-05-27 02:38:11 +090076 latin:keyLabel="#"
77 latin:keyXPos="4.5%p" />
Tadashi G. Takaoka3f72d812011-05-17 13:49:41 +090078 <Key
79 latin:keyStyle="currencyKeyStyle" />
80 <Key
81 latin:keyLabel="%"
82 latin:popupCharacters="‰" />
83 <Key
84 latin:keyLabel="&amp;" />
85 <Key
86 latin:keyLabel="*"
87 latin:popupCharacters="†,‡,★" />
88 <Key
89 latin:keyLabel="-"
90 latin:popupCharacters="_,–,—" />
91 <Key
92 latin:keyLabel="+"
93 latin:popupCharacters="±" />
94 <Key
95 latin:keyLabel="("
96 latin:popupCharacters="[,{,&lt;" />
97 <Key
98 latin:keyLabel=")"
Tadashi G. Takaokad8638ff2011-05-26 12:50:38 +090099 latin:popupCharacters="],},&gt;" />
100 <Key
101 latin:keyStyle="returnKeyStyle"
Tadashi G. Takaoka6b38a5f2011-05-27 02:38:11 +0900102 latin:keyXPos="-14.6%p"
103 latin:keyWidth="-14.6%p"
Tadashi G. Takaoka3f72d812011-05-17 13:49:41 +0900104 latin:keyEdgeFlags="right" />
105 </Row>
Tadashi G. Takaokad8638ff2011-05-26 12:50:38 +0900106 <Row
107 latin:keyWidth="8.9%p"
108 >
Tadashi G. Takaoka3f72d812011-05-17 13:49:41 +0900109 <Key
Tadashi G. Takaokad8638ff2011-05-26 12:50:38 +0900110 latin:keyStyle="moreKeyStyle"
Tadashi G. Takaoka2f894882011-06-01 16:16:57 +0900111 latin:keyWidth="10.0%p"
Tadashi G. Takaoka3f72d812011-05-17 13:49:41 +0900112 latin:keyEdgeFlags="left" />
113 <Key
Tadashi G. Takaokad8638ff2011-05-26 12:50:38 +0900114 latin:keyLabel="&lt;"
115 latin:popupCharacters="≤,«,‹" />
Tadashi G. Takaoka3f72d812011-05-17 13:49:41 +0900116 <Key
Tadashi G. Takaokad8638ff2011-05-26 12:50:38 +0900117 latin:keyLabel="&gt;"
118 latin:popupCharacters="≥,»,›" />
Tadashi G. Takaoka3f72d812011-05-17 13:49:41 +0900119 <Key
Tadashi G. Takaokad8638ff2011-05-26 12:50:38 +0900120 latin:keyLabel="="
121 latin:popupCharacters="≠,≈" />
122 <switch>
123 <case
124 latin:languageCode="ru"
125 >
126 <Key
127 latin:keyLabel=":" />
128 </case>
129 <case
130 latin:mode="url"
131 >
132 <Key
133 latin:keyLabel="\'"
134 latin:popupCharacters="‘,’,‚,‛" />
135 </case>
136 <default>
137 <Key
138 latin:keyLabel=":" />
139 </default>
140 </switch>
Tadashi G. Takaoka3f72d812011-05-17 13:49:41 +0900141 <Key
142 latin:keyLabel=";" />
Tadashi G. Takaokad8638ff2011-05-26 12:50:38 +0900143 <switch>
144 <case
145 latin:languageCode="ru"
146 >
147 <Key
148 latin:keyLabel="\'"
149 latin:popupCharacters="‘,’,‚,‛" />
150 <!-- Note: DroidSans doesn't have double-high-reversed-quotation
151 '\u201f' glyph. -->
152 <!-- latin:popupCharacters="“,”,„,‟,«,»" -->
153 <Key
154 latin:keyLabel="&quot;"
155 latin:popupCharacters="“,”,«,»" />
156 <Key
157 latin:keyLabel="." />
158 <Key
159 latin:keyLabel="," />
160 </case>
161 <default>
162 <Key
163 latin:keyLabel="," />
164 <Key
165 latin:keyLabel="." />
166 <Key
167 latin:keyLabel="!"
168 latin:popupCharacters="¡" />
169 <Key
170 latin:keyLabel="\?"
171 latin:popupCharacters="¿" />
172 </default>
173 </switch>
174 <Key
Tadashi G. Takaoka6b38a5f2011-05-27 02:38:11 +0900175 latin:keyLabel="/"
176 latin:keyWidth="0%p" />
Tadashi G. Takaokad8638ff2011-05-26 12:50:38 +0900177 </Row>
178 <!-- This row is intentionally not marked as a bottom row -->
179 <Row
180 latin:keyWidth="8.9%p"
181 >
182 <Key
Tadashi G. Takaoka48a00c42011-06-02 10:04:05 +0900183 latin:keyStyle="toAlphaKeyStyle"
Tadashi G. Takaokad8638ff2011-05-26 12:50:38 +0900184 latin:keyLabelOption="alignLeft"
185 latin:keyWidth="13.0%p"
186 latin:keyEdgeFlags="left" />
Tadashi G. Takaoka3f72d812011-05-17 13:49:41 +0900187 <Key
Tadashi G. Takaoka6b38a5f2011-05-27 02:38:11 +0900188 latin:keyStyle="tabKeyStyle" />
Tadashi G. Takaoka3f72d812011-05-17 13:49:41 +0900189 <Key
Tadashi G. Takaokad8638ff2011-05-26 12:50:38 +0900190 latin:keyLabel="\@" />
Tadashi G. Takaoka3f72d812011-05-17 13:49:41 +0900191 <Key
Tadashi G. Takaokad8638ff2011-05-26 12:50:38 +0900192 latin:keyStyle="spaceKeyStyle"
Tadashi G. Takaoka2f894882011-06-01 16:16:57 +0900193 latin:keyXPos="30.750%p"
194 latin:keyWidth="39.750%p" />
Tadashi G. Takaokad8638ff2011-05-26 12:50:38 +0900195 <switch>
196 <case
197 latin:languageCode="ru"
198 >
199 <Key
Tadashi G. Takaoka6b38a5f2011-05-27 02:38:11 +0900200 latin:keyLabel="_"
Tadashi G. Takaoka2f894882011-06-01 16:16:57 +0900201 latin:keyWidth="9.750%p" />
Tadashi G. Takaokad8638ff2011-05-26 12:50:38 +0900202 <Key
Tadashi G. Takaoka6b38a5f2011-05-27 02:38:11 +0900203 latin:keyLabel="-"
Tadashi G. Takaoka2f894882011-06-01 16:16:57 +0900204 latin:keyWidth="9.750%p" />
Tadashi G. Takaokad8638ff2011-05-26 12:50:38 +0900205 </case>
206 <default>
207 <!-- Note: DroidSans doesn't have double-high-reversed-quotation
208 '\u201f' glyph. -->
209 <!-- latin:popupCharacters="“,”,„,‟,«,»,‘,’,‚,‛" -->
210 <Key
211 latin:keyLabel="&quot;"
Tadashi G. Takaoka6b38a5f2011-05-27 02:38:11 +0900212 latin:popupCharacters="“,”,«,»,‘,’,‚,‛"
Tadashi G. Takaoka2f894882011-06-01 16:16:57 +0900213 latin:keyWidth="9.750%p" />
Tadashi G. Takaokad8638ff2011-05-26 12:50:38 +0900214 <Key
Tadashi G. Takaoka6b38a5f2011-05-27 02:38:11 +0900215 latin:keyLabel="_"
Tadashi G. Takaoka2f894882011-06-01 16:16:57 +0900216 latin:keyWidth="9.750%p" />
Tadashi G. Takaokad8638ff2011-05-26 12:50:38 +0900217 </default>
218 </switch>
Tadashi G. Takaoka6b38a5f2011-05-27 02:38:11 +0900219 <Key
220 latin:keyStyle="micOrSettingsKeyStyle"
221 latin:keyXPos="-10.0%p"
Tadashi G. Takaoka2f894882011-06-01 16:16:57 +0900222 latin:keyWidth="0%p"
Tadashi G. Takaoka6b38a5f2011-05-27 02:38:11 +0900223 latin:keyEdgeFlags="right" />
Tadashi G. Takaoka3f72d812011-05-17 13:49:41 +0900224 </Row>
Tadashi G. Takaoka3f72d812011-05-17 13:49:41 +0900225</Keyboard>