blob: cb8b3b38f7766a18cec23569569253337fb55f92 [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"
Tadashi G. Takaokaaaa163b2010-09-21 13:00:13 +0900163 android:isModifier="true" />
Tadashi G. Takaokaed8eabc2010-09-16 13:10:14 +0900164 <Key
165 android:keyLabel="."
166 android:popupKeyboard="@xml/popup_punctuation"
167 android:isModifier="true" />
168 <Key
169 android:codes="@integer/key_return"
170 android:keyIcon="@drawable/sym_keyboard_return"
171 android:iconPreview="@drawable/sym_keyboard_feedback_return"
172 android:keyWidth="20%p"
173 android:isModifier="true"
174 android:keyEdgeFlags="right" />
Ken Wakasa1508c0e2010-09-15 13:37:52 +0900175 </Row>
Ken Wakasa1508c0e2010-09-15 13:37:52 +0900176 <Row
177 android:keyboardMode="@+id/mode_symbols_with_settings_key"
178 android:rowEdgeFlags="bottom"
179 >
Tadashi G. Takaokaed8eabc2010-09-16 13:10:14 +0900180 <Key
181 android:codes="@integer/key_symbol"
182 android:keyLabel="@string/label_alpha_key"
183 android:keyWidth="15%p"
184 android:isModifier="true"
185 android:keyEdgeFlags="left" />
186 <Key
187 android:codes="@integer/key_settings"
188 android:keyIcon="@drawable/sym_keyboard_settings"
189 android:iconPreview="@drawable/sym_keyboard_feedback_settings"
190 android:isModifier="true" />
191 <Key
192 android:codes="@integer/key_f1"
193 android:isModifier="true" />
194 <Key
195 android:codes="@integer/key_space"
196 android:keyIcon="@drawable/sym_keyboard_space"
197 android:iconPreview="@drawable/sym_keyboard_feedback_space"
198 android:keyWidth="30%p"
Tadashi G. Takaokaaaa163b2010-09-21 13:00:13 +0900199 android:isModifier="true" />
Tadashi G. Takaokaed8eabc2010-09-16 13:10:14 +0900200 <Key
201 android:keyLabel="."
202 android:popupKeyboard="@xml/popup_punctuation"
203 android:isModifier="true" />
204 <Key
205 android:codes="@integer/key_return"
206 android:keyIcon="@drawable/sym_keyboard_return"
207 android:iconPreview="@drawable/sym_keyboard_feedback_return"
208 android:keyWidth="25%p"
209 android:isModifier="true"
210 android:keyEdgeFlags="right" />
The Android Open Source Project923bf412009-03-13 15:11:42 -0700211 </Row>
Daniel Sandler46984562009-10-29 13:28:46 -0400212</Keyboard>