blob: e4884a8a6e5388feae062bc4f9813f89859bbd78 [file] [log] [blame]
Filip Miletic8f3106e2010-03-01 22:51:49 -08001<?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<!-- Serbian keyboard layout, based on the X11 layout for Serbian -->
22<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
23 android:keyWidth="9.09%p"
24 android:horizontalGap="0px"
25 android:verticalGap="0px"
26 android:keyHeight="@dimen/key_height"
27 >
28
29 <Row>
30 <Key android:keyLabel="љ"
31 android:keyEdgeFlags="left" />
32 <Key android:keyLabel="њ" />
33 <Key android:keyLabel="е" />
34 <Key android:keyLabel="р" />
35 <Key android:keyLabel="т" />
36 <Key android:keyLabel="з" />
37 <Key android:keyLabel="у" />
38 <Key android:keyLabel="и" />
39 <Key android:keyLabel="о" />
40 <Key android:keyLabel="п" />
41 <Key android:keyLabel="ш"
42 android:keyEdgeFlags="right" />
43 </Row>
44
45 <Row>
46 <Key android:keyLabel="а"
47 android:keyEdgeFlags="left" />
48 <Key android:keyLabel="с" />
49 <Key android:keyLabel="д" />
50 <Key android:keyLabel="ф" />
51 <Key android:keyLabel="г" />
52 <Key android:keyLabel="х" />
53 <Key android:keyLabel="ј" />
54 <Key android:keyLabel="к" />
55 <Key android:keyLabel="л" />
56 <Key android:keyLabel="ч" />
57 <Key android:keyLabel="ћ" />
58 <Key android:keyLabel="ђ"
59 android:keyEdgeFlags="right" />
60 </Row>
61
62 <Row android:keyWidth="8.5%p">
63 <Key android:codes="-1" android:keyIcon="@drawable/sym_keyboard_shift"
64 android:keyWidth="11.75%p" android:isModifier="true"
65 android:iconPreview="@drawable/sym_keyboard_feedback_shift"
66 android:isSticky="true" android:keyEdgeFlags="left"/>
67 <Key android:keyLabel="ж" />
68 <Key android:keyLabel="џ" />
69 <Key android:keyLabel="ц" />
70 <Key android:keyLabel="в" />
71 <Key android:keyLabel="б" />
72 <Key android:keyLabel="н" />
73 <Key android:keyLabel="м" />
74 <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete"
75 android:keyWidth="11.75%p" android:keyEdgeFlags="right"
76 android:iconPreview="@drawable/sym_keyboard_feedback_delete"
77 android:isRepeatable="true"/>
78 </Row>
79
80 <Row android:keyboardMode="@+id/mode_normal" android:rowEdgeFlags="bottom">
81 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
82 android:popupKeyboard="@xml/kbd_popup_template"
83 android:popupCharacters="_"
84 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
85 <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_globe"
86 android:keyWidth="10%p"/>
87 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
88 android:iconPreview="@drawable/sym_keyboard_feedback_space"
89 android:keyWidth="40%p" android:isRepeatable="true"/>
90 <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
91 android:keyWidth="10%p"/>
92 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
93 android:iconPreview="@drawable/sym_keyboard_feedback_return"
94 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
95 </Row>
96
97 <Row android:keyboardMode="@+id/mode_url" android:rowEdgeFlags="bottom">
98 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
99 android:popupKeyboard="@xml/kbd_popup_template"
100 android:popupCharacters="_"
101 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
102 <Key android:keyLabel="/" android:keyWidth="10%p"/>
103 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
104 android:iconPreview="@drawable/sym_keyboard_feedback_space"
105 android:keyWidth="20%p" android:isRepeatable="true"/>
106 <Key android:keyLabel="@string/popular_domain_0"
107 android:keyOutputText="@string/popular_domain_0"
108 android:popupKeyboard="@xml/popup_domains"
109 android:keyWidth="20%p"/>
110 <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
111 android:keyWidth="10%p"/>
112 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
113 android:iconPreview="@drawable/sym_keyboard_feedback_return"
114 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
115 </Row>
116
117 <Row android:keyboardMode="@+id/mode_email" android:rowEdgeFlags="bottom">
118 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
119 android:popupKeyboard="@xml/kbd_popup_template"
120 android:popupCharacters="_"
121 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
122 <Key android:keyLabel="\@" android:keyWidth="10%p"/>
123 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
124 android:iconPreview="@drawable/sym_keyboard_feedback_space"
125 android:keyWidth="20%p" android:isRepeatable="true"/>
126 <Key android:keyLabel="@string/popular_domain_0"
127 android:keyOutputText="@string/popular_domain_0"
128 android:popupKeyboard="@xml/popup_domains"
129 android:keyWidth="20%p"/>
130 <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"/>
131 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
132 android:iconPreview="@drawable/sym_keyboard_feedback_return"
133 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
134 </Row>
135
136 <Row android:keyboardMode="@+id/mode_im" android:rowEdgeFlags="bottom">
137 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
138 android:popupKeyboard="@xml/kbd_popup_template"
139 android:popupCharacters="_"
140 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
141 <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_globe"
142 android:keyWidth="10%p"/>
143 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
144 android:iconPreview="@drawable/sym_keyboard_feedback_space"
145 android:keyWidth="40%p" android:isRepeatable="true"/>
146 <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
147 android:keyWidth="10%p"/>
148 <Key android:keyLabel=":-)" android:keyOutputText=":-) "
149 android:popupKeyboard="@xml/popup_smileys"
150 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
151 </Row>
152
153 <Row android:keyboardMode="@+id/mode_webentry" android:rowEdgeFlags="bottom">
154 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
155 android:popupKeyboard="@xml/kbd_popup_template"
156 android:popupCharacters="_"
157 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
158 <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_globe"
159 android:keyWidth="10%p"/>
160 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
161 android:iconPreview="@drawable/sym_keyboard_feedback_space"
162 android:keyWidth="20%p" android:isRepeatable="true"/>
163 <Key android:codes="9" android:keyIcon="@drawable/sym_keyboard_tab"
164 android:iconPreview="@drawable/sym_keyboard_feedback_tab"
165 android:keyWidth="20%p"/>
166 <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"/>
167 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
168 android:iconPreview="@drawable/sym_keyboard_feedback_return"
169 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
170 </Row>
171</Keyboard>