• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?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:keyLabel="a"
30                android:popupKeyboard="@xml/kbd_popup_template"
31                android:popupCharacters="@string/alternates_for_a"
32                android:keyEdgeFlags="left" />
33        <Key android:keyLabel="b" />
34        <Key android:keyLabel="c"
35                android:popupKeyboard="@xml/kbd_popup_template"
36                android:popupCharacters="@string/alternates_for_c" />
37        <Key android:keyLabel="d" />
38        <Key android:keyLabel="e"
39                android:popupKeyboard="@xml/kbd_popup_template"
40                android:popupCharacters="@string/alternates_for_e" />
41        <Key android:keyLabel="f" />
42        <Key android:keyLabel="g" />
43        <Key android:keyLabel="h" />
44        <Key android:keyLabel="i"
45                android:popupKeyboard="@xml/kbd_popup_template"
46                android:popupCharacters="@string/alternates_for_i" />
47        <Key android:keyLabel="j" android:keyEdgeFlags="right" />
48    </Row>
49    <Row>
50        <Key android:keyLabel="k" android:keyEdgeFlags="left" />
51        <Key android:keyLabel="l" />
52        <Key android:keyLabel="m" />
53        <Key android:keyLabel="n"
54                android:popupKeyboard="@xml/kbd_popup_template"
55                android:popupCharacters="@string/alternates_for_n" />
56        <Key android:keyLabel="o"
57                android:popupKeyboard="@xml/kbd_popup_template"
58                android:popupCharacters="@string/alternates_for_o" />
59        <Key android:keyLabel="p" />
60        <Key android:keyLabel="q" />
61        <Key android:keyLabel="r" />
62        <Key android:keyLabel="s"
63                android:popupKeyboard="@xml/kbd_popup_template"
64                android:popupCharacters="@string/alternates_for_s" />
65        <Key android:keyLabel="t" android:keyEdgeFlags="right" />
66    </Row>
67
68    <Row>
69        <Key android:codes="-1" android:keyIcon="@drawable/sym_keyboard_shift"
70                android:keyWidth="15%p" android:isModifier="true"
71                android:iconPreview="@drawable/sym_keyboard_feedback_shift"
72                android:isSticky="true" android:keyEdgeFlags="left"/>
73        <Key android:keyLabel="u"
74                android:popupKeyboard="@xml/kbd_popup_template"
75                android:popupCharacters="@string/alternates_for_u" />
76        <Key android:keyLabel="v"/>
77        <Key android:keyLabel="w"/>
78        <Key android:keyLabel="x"/>
79        <Key android:keyLabel="y"
80                android:popupKeyboard="@xml/kbd_popup_template"
81                android:popupCharacters="@string/alternates_for_y"
82        />
83        <Key android:keyLabel="z"/>
84        <Key android:keyLabel=","/>
85        <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete"
86                android:keyWidth="15%p" android:keyEdgeFlags="right"
87                android:iconPreview="@drawable/sym_keyboard_feedback_delete"
88                android:isRepeatable="true"/>
89    </Row>
90
91    <Row android:rowEdgeFlags="bottom">
92        <Key android:codes="-3" android:keyIcon="@drawable/sym_keyboard_done"
93                android:iconPreview="@drawable/sym_keyboard_feedback_done"
94                android:keyWidth="20%p" android:keyEdgeFlags="left"/>
95        <Key android:codes="-2" android:keyLabel="123" android:keyWidth="15%p"/>
96        <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
97                android:iconPreview="@drawable/sym_keyboard_feedback_space"
98                android:keyWidth="30%p" android:isRepeatable="true"/>
99        <Key android:codes="46" android:keyLabel="."
100                android:popupKeyboard="@xml/popup_punctuation"
101                android:keyWidth="15%p"/>
102        <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
103                android:iconPreview="@drawable/sym_keyboard_feedback_return"
104                android:keyWidth="20%p" android:keyEdgeFlags="right"/>
105    </Row>
106</Keyboard>