blob: 827ad62c756a91001b1129c879198a2c09949eb1 [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:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasanib1cd7012010-01-28 07:33:27 -0800101 <Key android:codes="@integer/key_f1"
Amith Yamasani36fcf252009-10-12 13:48:35 -0700102 android:keyWidth="10%p"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700103 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700104 android:iconPreview="@drawable/sym_keyboard_feedback_space"
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700105 android:keyWidth="40%p" android:isRepeatable="true"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700106 <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700107 android:keyWidth="10%p"/>
108 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700109 android:iconPreview="@drawable/sym_keyboard_feedback_return"
110 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
111 </Row>
112
113 <Row android:keyboardMode="@+id/mode_url" android:rowEdgeFlags="bottom">
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700114 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700115 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasanicf026532010-01-26 21:25:29 -0800116 <Key android:keyLabel="/" android:keyWidth="10%p"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700117 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700118 android:iconPreview="@drawable/sym_keyboard_feedback_space"
Amith Yamasani6aab3312010-04-27 11:30:17 -0700119 android:keyWidth="40%p" android:isRepeatable="true"/>
120 <!--Key android:keyLabel="@string/popular_domain_0"
Amith Yamasanicf026532010-01-26 21:25:29 -0800121 android:keyOutputText="@string/popular_domain_0"
122 android:popupKeyboard="@xml/popup_domains"
Amith Yamasani6aab3312010-04-27 11:30:17 -0700123 android:keyWidth="20%p"/-->
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700124 <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
Amith Yamasanicf026532010-01-26 21:25:29 -0800125 android:keyWidth="10%p"/>
126 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
127 android:iconPreview="@drawable/sym_keyboard_feedback_return"
128 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
129 </Row>
130
The Android Open Source Project923bf412009-03-13 15:11:42 -0700131 <Row android:keyboardMode="@+id/mode_email" android:rowEdgeFlags="bottom">
Amith Yamasanicf026532010-01-26 21:25:29 -0800132 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700133 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasanicf026532010-01-26 21:25:29 -0800134 <Key android:keyLabel="\@"/>
135 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700136 android:iconPreview="@drawable/sym_keyboard_feedback_space"
Amith Yamasani6aab3312010-04-27 11:30:17 -0700137 android:keyWidth="40%p" android:isRepeatable="true"/>
138 <!--Key android:keyLabel="@string/popular_domain_0"
Amith Yamasanicf026532010-01-26 21:25:29 -0800139 android:keyOutputText="@string/popular_domain_0"
140 android:popupKeyboard="@xml/popup_domains"
Amith Yamasani6aab3312010-04-27 11:30:17 -0700141 android:keyWidth="20%p"/-->
Amith Yamasanicf026532010-01-26 21:25:29 -0800142 <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"/>
143 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
144 android:iconPreview="@drawable/sym_keyboard_feedback_return"
145 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
146 </Row>
147
The Android Open Source Project923bf412009-03-13 15:11:42 -0700148 <Row android:keyboardMode="@+id/mode_im" android:rowEdgeFlags="bottom">
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700149 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700150 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasani36fcf252009-10-12 13:48:35 -0700151 <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_globe"
152 android:keyWidth="10%p"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700153 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700154 android:iconPreview="@drawable/sym_keyboard_feedback_space"
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700155 android:keyWidth="40%p" android:isRepeatable="true"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700156 <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700157 android:keyWidth="10%p"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700158 <Key android:keyLabel=":-)" android:keyOutputText=":-) "
159 android:popupKeyboard="@xml/popup_smileys"
160 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
Mike LeBeau466741d2010-01-16 12:21:23 -0800161 </Row>
162
Amith Yamasanicf026532010-01-26 21:25:29 -0800163 <Row android:keyboardMode="@+id/mode_webentry" android:rowEdgeFlags="bottom">
164 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
Amith Yamasanicf026532010-01-26 21:25:29 -0800165 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
166 <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_globe"
167 android:keyWidth="10%p"/>
168 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
169 android:iconPreview="@drawable/sym_keyboard_feedback_space"
170 android:keyWidth="20%p" android:isRepeatable="true"/>
171 <Key android:codes="9" android:keyIcon="@drawable/sym_keyboard_tab"
172 android:iconPreview="@drawable/sym_keyboard_feedback_tab"
173 android:keyWidth="20%p"/>
174 <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"/>
175 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
176 android:iconPreview="@drawable/sym_keyboard_feedback_return"
177 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
178 </Row>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700179</Keyboard>