blob: fad3ebc1019d98249a6d8049164dc37e8b8cf5bb [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="49" android:keyLabel="1" android:keyEdgeFlags="left"
30 android:popupKeyboard="@xml/kbd_popup_template"
31 android:popupCharacters="¹½⅓¼⅛"
32 />
33 <Key android:codes="50" android:keyLabel="2"
34 android:popupKeyboard="@xml/kbd_popup_template"
35 android:popupCharacters="²⅔"
36 />
37 <Key android:codes="51" android:keyLabel="3"
38 android:popupKeyboard="@xml/kbd_popup_template"
39 android:popupCharacters="³¾⅜"
40 />
41 <Key android:codes="52" android:keyLabel="4"
42 android:popupKeyboard="@xml/kbd_popup_template"
43 android:popupCharacters="⁴"
44 />
45 <Key android:codes="53" android:keyLabel="5"
46 android:popupKeyboard="@xml/kbd_popup_template"
47 android:popupCharacters="⅝"
48 />
49 <Key android:codes="54" android:keyLabel="6"/>
50 <Key android:codes="55" android:keyLabel="7"
51 android:popupKeyboard="@xml/kbd_popup_template"
52 android:popupCharacters="⅞"
53 />
54 <Key android:codes="56" android:keyLabel="8"/>
55 <Key android:codes="57" android:keyLabel="9"/>
56 <Key android:codes="48" android:keyLabel="0"
57 android:popupKeyboard="@xml/kbd_popup_template"
58 android:popupCharacters="ⁿ∅"
59 android:keyEdgeFlags="right"/>
60 </Row>
61
62 <Row>
63 <Key android:codes="64" android:keyLabel="\@" android:keyEdgeFlags="left"/>
64 <Key android:codes="35" android:keyLabel="\#"/>
65 <Key android:codes="36" android:keyLabel="$"
66 android:popupKeyboard="@xml/kbd_popup_template"
67 android:popupCharacters="¢£€¥₣₤₱"
68 />
69 <Key android:codes="37" android:keyLabel="%"
70 android:popupKeyboard="@xml/kbd_popup_template"
71 android:popupCharacters="‰"
72 />
73 <Key android:codes="38" android:keyLabel="&amp;"/>
74 <Key android:codes="42" android:keyLabel="*"
75 android:popupKeyboard="@xml/kbd_popup_template"
Daniel Sandlercb3b6872009-11-12 13:46:52 -080076 android:popupCharacters="†‡★"
The Android Open Source Project923bf412009-03-13 15:11:42 -070077 />
78 <Key android:codes="45" android:keyLabel="-"
79 android:popupKeyboard="@xml/kbd_popup_template"
Amith Yamasani4032c242010-03-01 23:18:48 -080080 android:popupCharacters="_–—"
The Android Open Source Project923bf412009-03-13 15:11:42 -070081 />
82 <Key android:keyLabel="+"
83 android:popupKeyboard="@xml/kbd_popup_template"
84 android:popupCharacters="±"
85 />
86 <Key android:codes="40" android:keyLabel="("
87 android:popupKeyboard="@xml/kbd_popup_template"
88 android:popupCharacters="[{&lt;"
89 />
90 <Key android:codes="41" android:keyLabel=")" android:keyEdgeFlags="right"
91 android:popupKeyboard="@xml/kbd_popup_template"
92 android:popupCharacters="]}&gt;"
93 />
94 </Row>
95
96 <Row>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -070097 <Key android:codes="-1" android:keyLabel="@string/label_alt_key"
98 android:keyWidth="15%p" android:isModifier="true"
The Android Open Source Project923bf412009-03-13 15:11:42 -070099 android:isSticky="true" android:keyEdgeFlags="left"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700100 <Key android:codes="33" android:keyLabel="!"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700101 android:popupKeyboard="@xml/kbd_popup_template"
102 android:popupCharacters="¡"
103 />
104 <Key android:codes="34" android:keyLabel="&quot;"
105 android:popupKeyboard="@xml/kbd_popup_template"
106 android:popupCharacters="“”«»˝"
107 />
Daniel Sandler46984562009-10-29 13:28:46 -0400108 <Key android:codes="39" android:keyLabel="\'"
109 android:popupKeyboard="@xml/kbd_popup_template"
110 android:popupCharacters="‘’"
111 />
The Android Open Source Project923bf412009-03-13 15:11:42 -0700112 <Key android:codes="58" android:keyLabel=":"/>
113 <Key android:codes="59" android:keyLabel=";"/>
114 <Key android:codes="47" android:keyLabel="/" />
115 <Key android:codes="63" android:keyLabel="\?"
116 android:popupKeyboard="@xml/kbd_popup_template"
117 android:popupCharacters="¿"
118 />
119 <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete" android:keyWidth="15%p" android:keyEdgeFlags="right"
120 android:iconPreview="@drawable/sym_keyboard_feedback_delete"
satokdd8dd9f2010-09-01 23:33:43 +0900121 android:isRepeatable="true" android:isModifier="true"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700122 </Row>
Amith Yamasani36fcf252009-10-12 13:48:35 -0700123
The Android Open Source Project923bf412009-03-13 15:11:42 -0700124 <Row android:rowEdgeFlags="bottom">
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700125 <Key android:codes="-2" android:keyLabel="@string/label_alpha_key"
satokdd8dd9f2010-09-01 23:33:43 +0900126 android:keyWidth="15%p" android:keyEdgeFlags="left" android:isModifier="true"/>
satok673aed42010-08-30 18:38:36 +0900127 <Key android:codes="@integer/key_settings" android:keyIcon="@drawable/sym_keyboard_settings"
128 android:iconPreview="@drawable/sym_keyboard_feedback_settings"
satokdd8dd9f2010-09-01 23:33:43 +0900129 android:keyWidth="10%p" android:isModifier="true"/>
130 <Key android:codes="@integer/key_f1" android:keyWidth="10%p" android:isModifier="true"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700131 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
satok673aed42010-08-30 18:38:36 +0900132 android:keyWidth="30%p"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700133 android:iconPreview="@drawable/sym_keyboard_feedback_space"
satokdd8dd9f2010-09-01 23:33:43 +0900134 android:isRepeatable="true" android:isModifier="true"/>
Ken Wakasa971e3012010-03-04 18:51:31 +0900135 <Key android:codes="46" android:keyLabel="."
136 android:popupKeyboard="@xml/popup_punctuation"
satokdd8dd9f2010-09-01 23:33:43 +0900137 android:keyWidth="10%p" android:isModifier="true"/>
satok673aed42010-08-30 18:38:36 +0900138 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" android:keyWidth="25%p" android:keyEdgeFlags="right"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700139 android:iconPreview="@drawable/sym_keyboard_feedback_return"
satokdd8dd9f2010-09-01 23:33:43 +0900140 android:isModifier="true"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700141 </Row>
Daniel Sandler46984562009-10-29 13:28:46 -0400142</Keyboard>