blob: 4e57c6067e888660fd3f75c1f0d6791ecfce8275 [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
21<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
22 android:keyWidth="10%p"
23 android:horizontalGap="0px"
24 android:verticalGap="0px"
25 android:keyHeight="@dimen/key_height"
26 >
27
28 <Row>
29 <Key android:codes="113" android:keyLabel="q" android:keyEdgeFlags="left"/>
30 <Key android:codes="119" android:keyLabel="w"/>
31 <Key android:codes="101" android:keyLabel="e"
32 android:popupKeyboard="@xml/kbd_popup_template"
33 android:popupCharacters="@string/alternates_for_e"
34 />
35 <Key android:codes="114" android:keyLabel="r"/>
36 <Key android:codes="116" android:keyLabel="t"/>
37 <Key android:codes="122" android:keyLabel="z" />
38 <Key android:codes="117" android:keyLabel="u"
39 android:popupKeyboard="@xml/kbd_popup_template"
40 android:popupCharacters="@string/alternates_for_u"
41 />
42 <Key android:codes="105" android:keyLabel="i"
43 android:popupKeyboard="@xml/kbd_popup_template"
44 android:popupCharacters="@string/alternates_for_i"
45 />
46 <Key android:codes="111" android:keyLabel="o"
47 android:popupKeyboard="@xml/kbd_popup_template"
48 android:popupCharacters="@string/alternates_for_o"
49 />
50 <Key android:codes="112" android:keyLabel="p" android:keyEdgeFlags="right"/>
51 </Row>
52
53 <Row>
54 <Key android:codes="97" android:keyLabel="a" android:horizontalGap="5%p"
55 android:popupKeyboard="@xml/kbd_popup_template"
56 android:popupCharacters="@string/alternates_for_a"
57 android:keyEdgeFlags="left"/>
58 <Key android:codes="115" android:keyLabel="s"
59 android:popupKeyboard="@xml/kbd_popup_template"
60 android:popupCharacters="@string/alternates_for_s"
61 />
62 <Key android:codes="100" android:keyLabel="d"/>
63 <Key android:codes="102" android:keyLabel="f"/>
64 <Key android:codes="103" android:keyLabel="g"/>
65 <Key android:codes="104" android:keyLabel="h"/>
66 <Key android:codes="106" android:keyLabel="j"/>
67 <Key android:codes="107" android:keyLabel="k"/>
68 <Key android:codes="108" android:keyLabel="l" android:keyEdgeFlags="right"/>
69 </Row>
70
71 <Row>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -070072 <Key android:codes="-1" android:keyIcon="@drawable/sym_keyboard_shift"
The Android Open Source Project923bf412009-03-13 15:11:42 -070073 android:keyWidth="15%p" android:isModifier="true"
74 android:iconPreview="@drawable/sym_keyboard_feedback_shift"
75 android:isSticky="true" android:keyEdgeFlags="left"/>
76 <Key android:codes="121" android:keyLabel="y"
77 android:popupKeyboard="@xml/kbd_popup_template"
78 android:popupCharacters="@string/alternates_for_y"
79 />
80 <Key android:codes="120" android:keyLabel="x"/>
81 <Key android:codes="99" android:keyLabel="c"
82 android:popupKeyboard="@xml/kbd_popup_template"
83 android:popupCharacters="@string/alternates_for_c"
84 />
85 <Key android:codes="118" android:keyLabel="v"/>
86 <Key android:codes="98" android:keyLabel="b"/>
87 <Key android:codes="110" android:keyLabel="n"
88 android:popupKeyboard="@xml/kbd_popup_template"
89 android:popupCharacters="@string/alternates_for_n"
90 />
91 <Key android:codes="109" android:keyLabel="m"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -070092 <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete"
The Android Open Source Project923bf412009-03-13 15:11:42 -070093 android:keyWidth="15%p" android:keyEdgeFlags="right"
94 android:iconPreview="@drawable/sym_keyboard_feedback_delete"
95 android:isRepeatable="true"/>
96 </Row>
97
98 <Row android:keyboardMode="@+id/mode_normal" android:rowEdgeFlags="bottom">
Amith Yamasanicf026532010-01-26 21:25:29 -080099 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700100 android:popupKeyboard="@xml/kbd_popup_template"
Amith Yamasani4a7ff902009-07-23 12:17:48 -0700101 android:popupCharacters="_"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700102 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasanib1cd7012010-01-28 07:33:27 -0800103 <Key android:codes="@integer/key_f1"
Amith Yamasani36fcf252009-10-12 13:48:35 -0700104 android:keyWidth="10%p"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700105 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700106 android:iconPreview="@drawable/sym_keyboard_feedback_space"
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700107 android:keyWidth="40%p" android:isRepeatable="true"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700108 <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700109 android:keyWidth="10%p"/>
110 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700111 android:iconPreview="@drawable/sym_keyboard_feedback_return"
112 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
113 </Row>
114
115 <Row android:keyboardMode="@+id/mode_url" android:rowEdgeFlags="bottom">
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700116 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700117 android:popupKeyboard="@xml/kbd_popup_template"
Amith Yamasani4a7ff902009-07-23 12:17:48 -0700118 android:popupCharacters="_"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700119 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasanicf026532010-01-26 21:25:29 -0800120 <Key android:keyLabel="/" android:keyWidth="10%p"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700121 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700122 android:iconPreview="@drawable/sym_keyboard_feedback_space"
Amith Yamasanicf026532010-01-26 21:25:29 -0800123 android:keyWidth="20%p" android:isRepeatable="true"/>
124 <Key android:keyLabel="@string/popular_domain_0"
125 android:keyOutputText="@string/popular_domain_0"
126 android:popupKeyboard="@xml/popup_domains"
127 android:keyWidth="20%p"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700128 <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
Amith Yamasanicf026532010-01-26 21:25:29 -0800129 android:keyWidth="10%p"/>
130 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
131 android:iconPreview="@drawable/sym_keyboard_feedback_return"
132 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
133 </Row>
134
The Android Open Source Project923bf412009-03-13 15:11:42 -0700135 <Row android:keyboardMode="@+id/mode_email" android:rowEdgeFlags="bottom">
Amith Yamasanicf026532010-01-26 21:25:29 -0800136 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700137 android:popupKeyboard="@xml/kbd_popup_template"
Amith Yamasani4a7ff902009-07-23 12:17:48 -0700138 android:popupCharacters="_"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700139 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasanicf026532010-01-26 21:25:29 -0800140 <Key android:keyLabel="\@"/>
141 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700142 android:iconPreview="@drawable/sym_keyboard_feedback_space"
Amith Yamasanicf026532010-01-26 21:25:29 -0800143 android:keyWidth="20%p" android:isRepeatable="true"/>
144 <Key android:keyLabel="@string/popular_domain_0"
145 android:keyOutputText="@string/popular_domain_0"
146 android:popupKeyboard="@xml/popup_domains"
147 android:keyWidth="20%p"/>
148 <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"/>
149 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
150 android:iconPreview="@drawable/sym_keyboard_feedback_return"
151 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
152 </Row>
153
The Android Open Source Project923bf412009-03-13 15:11:42 -0700154 <Row android:keyboardMode="@+id/mode_im" android:rowEdgeFlags="bottom">
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700155 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700156 android:popupKeyboard="@xml/kbd_popup_template"
Amith Yamasani4a7ff902009-07-23 12:17:48 -0700157 android:popupCharacters="_"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700158 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasani36fcf252009-10-12 13:48:35 -0700159 <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_globe"
160 android:keyWidth="10%p"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700161 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700162 android:iconPreview="@drawable/sym_keyboard_feedback_space"
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700163 android:keyWidth="40%p" android:isRepeatable="true"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700164 <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700165 android:keyWidth="10%p"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700166 <Key android:keyLabel=":-)" android:keyOutputText=":-) "
167 android:popupKeyboard="@xml/popup_smileys"
168 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
Mike LeBeau466741d2010-01-16 12:21:23 -0800169 </Row>
170
Amith Yamasanicf026532010-01-26 21:25:29 -0800171 <Row android:keyboardMode="@+id/mode_webentry" android:rowEdgeFlags="bottom">
172 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
173 android:popupKeyboard="@xml/kbd_popup_template"
174 android:popupCharacters="_"
175 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
176 <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_globe"
177 android:keyWidth="10%p"/>
178 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
179 android:iconPreview="@drawable/sym_keyboard_feedback_space"
180 android:keyWidth="20%p" android:isRepeatable="true"/>
181 <Key android:codes="9" android:keyIcon="@drawable/sym_keyboard_tab"
182 android:iconPreview="@drawable/sym_keyboard_feedback_tab"
183 android:keyWidth="20%p"/>
184 <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"/>
185 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
186 android:iconPreview="@drawable/sym_keyboard_feedback_return"
187 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
188 </Row>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700189</Keyboard>