• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2010, 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
22    xmlns:android="http://schemas.android.com/apk/res/android"
23    android:keyWidth="10%p"
24    android:horizontalGap="0px"
25    android:verticalGap="@dimen/key_bottom_gap"
26    android:keyHeight="@dimen/key_height"
27>
28    <Row
29        android:rowEdgeFlags="top"
30    >
31        <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" />
67    </Row>
68    <Row>
69        <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" />
105    </Row>
106    <Row>
107        <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_bkeyboard_delete"
139            android:iconPreview="@drawable/sym_keyboard_feedback_delete"
140            android:keyWidth="15%p"
141            android:isRepeatable="true"
142            android:keyEdgeFlags="right" />
143    </Row>
144    <Row
145        android:keyboardMode="@+id/mode_symbols"
146        android:rowEdgeFlags="bottom"
147    >
148        <Key
149            android:codes="@integer/key_symbol"
150            android:keyLabel="@string/label_alpha_key"
151            android:keyWidth="20%p"
152            android:keyEdgeFlags="left" />
153        <Key
154            android:codes="@integer/key_f1" />
155        <Key
156            android:codes="@integer/key_space"
157            android:keyIcon="@drawable/sym_bkeyboard_space"
158            android:iconPreview="@drawable/sym_keyboard_feedback_space"
159            android:keyWidth="40%p" />
160        <Key
161            android:keyLabel="."
162            android:keyIcon="@drawable/hint_popup"
163            android:popupKeyboard="@xml/popup_punctuation" />
164        <Key
165            android:codes="@integer/key_return"
166            android:keyIcon="@drawable/sym_bkeyboard_return"
167            android:iconPreview="@drawable/sym_keyboard_feedback_return"
168            android:keyWidth="20%p"
169            android:keyEdgeFlags="right" />
170    </Row>
171    <Row
172        android:keyboardMode="@+id/mode_symbols_with_settings_key"
173        android:rowEdgeFlags="bottom"
174    >
175        <Key
176            android:codes="@integer/key_symbol"
177            android:keyLabel="@string/label_alpha_key"
178            android:keyWidth="15%p"
179            android:keyEdgeFlags="left" />
180        <Key
181            android:codes="@integer/key_settings"
182            android:keyIcon="@drawable/sym_bkeyboard_settings"
183            android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
184        <Key
185            android:codes="@integer/key_f1" />
186        <Key
187            android:codes="@integer/key_space"
188            android:keyIcon="@drawable/sym_bkeyboard_space"
189            android:iconPreview="@drawable/sym_keyboard_feedback_space"
190            android:keyWidth="30%p" />
191        <Key
192            android:keyLabel="."
193            android:keyIcon="@drawable/hint_popup"
194            android:popupKeyboard="@xml/popup_punctuation" />
195        <Key
196            android:codes="@integer/key_return"
197            android:keyIcon="@drawable/sym_bkeyboard_return"
198            android:iconPreview="@drawable/sym_keyboard_feedback_return"
199            android:keyWidth="25%p"
200            android:keyEdgeFlags="right" />
201    </Row>
202</Keyboard>
203