• 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="~"
33            android:keyEdgeFlags="left" />
34        <Key
35            android:keyLabel="`" />
36        <Key
37            android:keyLabel="|" />
38        <Key
39            android:keyLabel="•"
40            android:popupKeyboard="@xml/kbd_popup_template"
41            android:popupCharacters="♪♥♠♦♣" />
42        <Key
43            android:keyLabel="√" />
44        <Key
45            android:keyLabel="π"
46            android:popupKeyboard="@xml/kbd_popup_template"
47            android:popupCharacters="Π" />
48        <Key
49            android:keyLabel="÷" />
50        <Key
51            android:keyLabel="×" />
52        <Key
53            android:keyLabel="{" />
54        <Key
55            android:keyLabel="}"
56            android:keyEdgeFlags="right" />
57    </Row>
58    <Row>
59        <Key
60            android:codes="@integer/key_tab"
61            android:keyLabel="\u21E5"
62            android:keyEdgeFlags="left" />
63        <Key
64            android:keyLabel="£" />
65        <Key
66            android:keyLabel="¢" />
67        <Key
68            android:keyLabel="€" />
69        <Key
70            android:keyLabel="°" />
71        <Key
72            android:keyLabel="^"
73            android:popupKeyboard="@xml/kbd_popup_template"
74            android:popupCharacters="↑↓←→" />
75        <Key
76            android:keyLabel="_" />
77        <Key
78            android:keyLabel="="
79            android:popupKeyboard="@xml/kbd_popup_template"
80            android:popupCharacters="≠≈∞" />
81        <Key
82            android:keyLabel="[" />
83        <Key
84            android:keyLabel="]"
85            android:keyEdgeFlags="right" />
86    </Row>
87    <Row>
88        <Key
89            android:codes="@integer/key_shift"
90            android:keyLabel="@string/label_alt_key"
91            android:keyWidth="15%p"
92            android:isModifier="true"
93            android:isSticky="true"
94            android:keyEdgeFlags="left" />
95        <Key
96            android:keyLabel="™" />
97        <Key
98            android:keyLabel="®" />
99        <Key
100            android:keyLabel="©" />
101        <Key
102            android:keyLabel="¶"
103            android:popupKeyboard="@xml/kbd_popup_template"
104            android:popupCharacters="§" />
105        <Key
106            android:keyLabel="\\" />
107        <Key
108            android:keyLabel="&lt;"
109            android:popupKeyboard="@xml/kbd_popup_template"
110            android:popupCharacters="≤«‹" />
111        <Key
112            android:keyLabel="&gt;"
113            android:popupKeyboard="@xml/kbd_popup_template"
114            android:popupCharacters="≥»›" />
115        <Key
116            android:codes="@integer/key_delete"
117            android:keyIcon="@drawable/sym_bkeyboard_delete"
118            android:iconPreview="@drawable/sym_keyboard_feedback_delete"
119            android:keyWidth="15%p"
120            android:isRepeatable="true"
121            android:keyEdgeFlags="right" />
122    </Row>
123    <Row
124        android:keyboardMode="@+id/mode_symbols"
125        android:rowEdgeFlags="bottom"
126    >
127        <Key
128            android:codes="@integer/key_symbol"
129            android:keyLabel="@string/label_alpha_key"
130            android:keyWidth="20%p"
131            android:keyEdgeFlags="left" />
132        <Key
133            android:keyLabel="„" />
134        <Key
135            android:codes="@integer/key_space"
136            android:keyIcon="@drawable/sym_bkeyboard_space"
137            android:iconPreview="@drawable/sym_keyboard_feedback_space"
138            android:keyWidth="40%p" />
139        <Key
140            android:keyLabel="…" />
141        <Key
142            android:codes="@integer/key_return"
143            android:keyIcon="@drawable/sym_bkeyboard_return"
144            android:iconPreview="@drawable/sym_keyboard_feedback_return"
145            android:keyWidth="20%p"
146            android:keyEdgeFlags="right" />
147    </Row>
148    <Row
149        android:keyboardMode="@+id/mode_symbols_with_settings_key"
150        android:rowEdgeFlags="bottom"
151    >
152        <Key
153            android:codes="@integer/key_symbol"
154            android:keyLabel="@string/label_alpha_key"
155            android:keyWidth="15%p"
156            android:keyEdgeFlags="left" />
157        <Key
158            android:codes="@integer/key_settings"
159            android:keyIcon="@drawable/sym_bkeyboard_settings"
160            android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
161        <Key
162            android:keyLabel="„" />
163        <Key
164            android:codes="@integer/key_space"
165            android:keyIcon="@drawable/sym_bkeyboard_space"
166            android:iconPreview="@drawable/sym_keyboard_feedback_space"
167            android:keyWidth="30%p" />
168        <Key
169            android:keyLabel="…" />
170        <Key
171            android:codes="@integer/key_return"
172            android:keyIcon="@drawable/sym_bkeyboard_return"
173            android:iconPreview="@drawable/sym_keyboard_feedback_return"
174            android:keyWidth="25%p"
175            android:keyEdgeFlags="right" />
176    </Row>
177</Keyboard>
178