blob: ba5a30c937294e6bc113caf69385107ca96161d7 [file] [log] [blame]
The Android Open Source Project923bf412009-03-13 15:11:42 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2008, 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
Tadashi G. Takaokaed8eabc2010-09-16 13:10:14 +090021<Keyboard
22 xmlns:android="http://schemas.android.com/apk/res/android"
The Android Open Source Project923bf412009-03-13 15:11:42 -070023 android:keyWidth="10%p"
24 android:horizontalGap="0px"
25 android:verticalGap="0px"
26 android:keyHeight="@dimen/key_height"
Tadashi G. Takaokaed8eabc2010-09-16 13:10:14 +090027>
28 <Row
29 android:rowEdgeFlags="top"
The Android Open Source Project923bf412009-03-13 15:11:42 -070030 >
Tadashi G. Takaokaed8eabc2010-09-16 13:10:14 +090031 <Key
32 android:keyLabel="1"
33 android:popupKeyboard="@xml/kbd_popup_template"
34 android:popupCharacters="¹½⅓¼⅛"
35 android:keyEdgeFlags="left" />
36 <Key
37 android:keyLabel="2"
38 android:popupKeyboard="@xml/kbd_popup_template"
39 android:popupCharacters="²⅔" />
40 <Key
41 android:keyLabel="3"
42 android:popupKeyboard="@xml/kbd_popup_template"
43 android:popupCharacters="³¾⅜" />
44 <Key
45 android:keyLabel="4"
46 android:popupKeyboard="@xml/kbd_popup_template"
47 android:popupCharacters="⁴" />
48 <Key
49 android:keyLabel="5"
50 android:popupKeyboard="@xml/kbd_popup_template"
51 android:popupCharacters="⅝" />
52 <Key
53 android:keyLabel="6" />
54 <Key
55 android:keyLabel="7"
56 android:popupKeyboard="@xml/kbd_popup_template"
57 android:popupCharacters="⅞" />
58 <Key
59 android:keyLabel="8" />
60 <Key
61 android:keyLabel="9" />
62 <Key
63 android:keyLabel="0"
64 android:popupKeyboard="@xml/kbd_popup_template"
65 android:popupCharacters="ⁿ∅"
66 android:keyEdgeFlags="right" />
The Android Open Source Project923bf412009-03-13 15:11:42 -070067 </Row>
The Android Open Source Project923bf412009-03-13 15:11:42 -070068 <Row>
Tadashi G. Takaokaed8eabc2010-09-16 13:10:14 +090069 <Key
70 android:keyLabel="\@"
71 android:keyEdgeFlags="left" />
72 <Key
73 android:keyLabel="\#" />
74 <Key
75 android:keyLabel="$"
76 android:popupKeyboard="@xml/kbd_popup_template"
77 android:popupCharacters="¢£€¥₣₤₱" />
78 <Key
79 android:keyLabel="%"
80 android:popupKeyboard="@xml/kbd_popup_template"
81 android:popupCharacters="‰" />
82 <Key
83 android:keyLabel="&amp;" />
84 <Key
85 android:keyLabel="*"
86 android:popupKeyboard="@xml/kbd_popup_template"
87 android:popupCharacters="†‡★" />
88 <Key
89 android:keyLabel="-"
90 android:popupKeyboard="@xml/kbd_popup_template"
91 android:popupCharacters="_–—" />
92 <Key
93 android:keyLabel="+"
94 android:popupKeyboard="@xml/kbd_popup_template"
95 android:popupCharacters="±" />
96 <Key
97 android:keyLabel="("
98 android:popupKeyboard="@xml/kbd_popup_template"
99 android:popupCharacters="[{&lt;" />
100 <Key
101 android:keyLabel=")"
102 android:popupKeyboard="@xml/kbd_popup_template"
103 android:popupCharacters="]}&gt;"
104 android:keyEdgeFlags="right" />
The Android Open Source Project923bf412009-03-13 15:11:42 -0700105 </Row>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700106 <Row>
Tadashi G. Takaokaed8eabc2010-09-16 13:10:14 +0900107 <Key
108 android:codes="@integer/key_shift"
109 android:keyLabel="@string/label_alt_key"
110 android:keyWidth="15%p"
111 android:isModifier="true"
112 android:isSticky="true"
113 android:keyEdgeFlags="left" />
114 <Key
115 android:keyLabel="!"
116 android:popupKeyboard="@xml/kbd_popup_template"
117 android:popupCharacters="¡" />
118 <Key
119 android:keyLabel="&quot;"
120 android:popupKeyboard="@xml/kbd_popup_template"
121 android:popupCharacters="“”«»˝" />
122 <Key
123 android:keyLabel="\'"
124 android:popupKeyboard="@xml/kbd_popup_template"
125 android:popupCharacters="‘’" />
126 <Key
127 android:keyLabel=":" />
128 <Key
129 android:keyLabel=";" />
130 <Key
131 android:keyLabel="/" />
132 <Key
133 android:keyLabel="\?"
134 android:popupKeyboard="@xml/kbd_popup_template"
135 android:popupCharacters="¿" />
136 <Key
137 android:codes="@integer/key_delete"
138 android:keyIcon="@drawable/sym_keyboard_delete"
139 android:iconPreview="@drawable/sym_keyboard_feedback_delete"
140 android:keyWidth="15%p"
141 android:isModifier="true"
142 android:isRepeatable="true"
143 android:keyEdgeFlags="right" />
The Android Open Source Project923bf412009-03-13 15:11:42 -0700144 </Row>
Ken Wakasa1508c0e2010-09-15 13:37:52 +0900145 <Row
146 android:keyboardMode="@+id/mode_symbols"
147 android:rowEdgeFlags="bottom"
148 >
Tadashi G. Takaokaed8eabc2010-09-16 13:10:14 +0900149 <Key
150 android:codes="@integer/key_symbol"
151 android:keyLabel="@string/label_alpha_key"
152 android:keyWidth="20%p"
153 android:isModifier="true"
154 android:keyEdgeFlags="left" />
155 <Key
156 android:codes="@integer/key_f1"
157 android:isModifier="true" />
158 <Key
159 android:codes="@integer/key_space"
160 android:keyIcon="@drawable/sym_keyboard_space"
161 android:iconPreview="@drawable/sym_keyboard_feedback_space"
162 android:keyWidth="40%p"
163 android:isModifier="true"
164 android:isRepeatable="true" />
165 <Key
166 android:keyLabel="."
167 android:popupKeyboard="@xml/popup_punctuation"
168 android:isModifier="true" />
169 <Key
170 android:codes="@integer/key_return"
171 android:keyIcon="@drawable/sym_keyboard_return"
172 android:iconPreview="@drawable/sym_keyboard_feedback_return"
173 android:keyWidth="20%p"
174 android:isModifier="true"
175 android:keyEdgeFlags="right" />
Ken Wakasa1508c0e2010-09-15 13:37:52 +0900176 </Row>
Ken Wakasa1508c0e2010-09-15 13:37:52 +0900177 <Row
178 android:keyboardMode="@+id/mode_symbols_with_settings_key"
179 android:rowEdgeFlags="bottom"
180 >
Tadashi G. Takaokaed8eabc2010-09-16 13:10:14 +0900181 <Key
182 android:codes="@integer/key_symbol"
183 android:keyLabel="@string/label_alpha_key"
184 android:keyWidth="15%p"
185 android:isModifier="true"
186 android:keyEdgeFlags="left" />
187 <Key
188 android:codes="@integer/key_settings"
189 android:keyIcon="@drawable/sym_keyboard_settings"
190 android:iconPreview="@drawable/sym_keyboard_feedback_settings"
191 android:isModifier="true" />
192 <Key
193 android:codes="@integer/key_f1"
194 android:isModifier="true" />
195 <Key
196 android:codes="@integer/key_space"
197 android:keyIcon="@drawable/sym_keyboard_space"
198 android:iconPreview="@drawable/sym_keyboard_feedback_space"
199 android:keyWidth="30%p"
200 android:isModifier="true"
201 android:isRepeatable="true" />
202 <Key
203 android:keyLabel="."
204 android:popupKeyboard="@xml/popup_punctuation"
205 android:isModifier="true" />
206 <Key
207 android:codes="@integer/key_return"
208 android:keyIcon="@drawable/sym_keyboard_return"
209 android:iconPreview="@drawable/sym_keyboard_feedback_return"
210 android:keyWidth="25%p"
211 android:isModifier="true"
212 android:keyEdgeFlags="right" />
The Android Open Source Project923bf412009-03-13 15:11:42 -0700213 </Row>
Daniel Sandler46984562009-10-29 13:28:46 -0400214</Keyboard>