blob: 56113e217c17abcfdfb8fd9c3985afc63f551bc0 [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 Yamasaniffa3fdd2009-08-19 15:16:33 -070099 <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 Yamasaniffa3fdd2009-08-19 15:16:33 -0700103 <Key android:keyLabel="," android:keyWidth="10%p" />
104 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700105 android:iconPreview="@drawable/sym_keyboard_feedback_space"
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700106 android:keyWidth="40%p" android:isRepeatable="true"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700107 <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700108 android:keyWidth="10%p"/>
109 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700110 android:iconPreview="@drawable/sym_keyboard_feedback_return"
111 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
112 </Row>
113
114 <Row android:keyboardMode="@+id/mode_url" android:rowEdgeFlags="bottom">
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700115 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700116 android:popupKeyboard="@xml/kbd_popup_template"
Amith Yamasani4a7ff902009-07-23 12:17:48 -0700117 android:popupCharacters="_"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700118 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasanid9688c72009-09-04 15:30:43 -0700119 <Key android:keyLabel="@string/popular_domain_0"
120 android:keyOutputText="@string/popular_domain_0"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700121 android:popupKeyboard="@xml/popup_domains"
122 android:keyWidth="15%p"/>
123 <Key android:keyLabel="/" android:keyWidth="15%p"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700124 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700125 android:iconPreview="@drawable/sym_keyboard_feedback_space"
126 android:keyWidth="15%p" android:isRepeatable="true"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700127 <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700128 android:keyWidth="15%p"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700129 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700130 android:iconPreview="@drawable/sym_keyboard_feedback_return"
131 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
132 </Row>
133
134 <Row android:keyboardMode="@+id/mode_email" android:rowEdgeFlags="bottom">
135 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
136 android:popupKeyboard="@xml/kbd_popup_template"
Amith Yamasani4a7ff902009-07-23 12:17:48 -0700137 android:popupCharacters="_"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700138 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700139 <Key android:keyLabel="\@" android:keyWidth="15%p"/>
Amith Yamasanid9688c72009-09-04 15:30:43 -0700140 <Key android:keyLabel="@string/popular_domain_0"
141 android:keyOutputText="@string/popular_domain_0"
142 android:popupKeyboard="@xml/popup_domains"
143 android:keyWidth="15%p"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700144 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
145 android:iconPreview="@drawable/sym_keyboard_feedback_space"
146 android:keyWidth="15%p" android:isRepeatable="true"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700147 <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700148 android:keyWidth="15%p"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700149 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700150 android:iconPreview="@drawable/sym_keyboard_feedback_return"
151 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
152 </Row>
153
154 <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 Yamasaniffa3fdd2009-08-19 15:16:33 -0700159 <Key android:keyLabel="," android:keyWidth="10%p"/>
160 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700161 android:iconPreview="@drawable/sym_keyboard_feedback_space"
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700162 android:keyWidth="40%p" android:isRepeatable="true"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700163 <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700164 android:keyWidth="10%p"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700165 <Key android:keyLabel=":-)" android:keyOutputText=":-) "
166 android:popupKeyboard="@xml/popup_smileys"
167 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
168
169 </Row>
170</Keyboard>