• 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:codes="113" android:keyLabel="q" android:keyEdgeFlags="left"/>
30        <Key android:codes="119" android:keyLabel="w"/>
31        <Key android:codes="101" android:keyLabel="e"/>
32        <Key android:codes="114" android:keyLabel="r"/>
33        <Key android:codes="116" android:keyLabel="t"/>
34        <Key android:codes="121" android:keyLabel="y"/>
35        <Key android:codes="117" android:keyLabel="u"/>
36        <Key android:codes="105" android:keyLabel="i"/>
37        <Key android:codes="111" android:keyLabel="o"/>
38        <Key android:codes="112" android:keyLabel="p" android:keyEdgeFlags="right"/>
39    </Row>
40
41    <Row>
42        <Key android:codes="97" android:keyLabel="a" android:horizontalGap="5%p"
43                android:keyEdgeFlags="left"/>
44        <Key android:codes="115" android:keyLabel="s"/>
45        <Key android:codes="100" android:keyLabel="d"/>
46        <Key android:codes="102" android:keyLabel="f"/>
47        <Key android:codes="103" android:keyLabel="g"/>
48        <Key android:codes="104" android:keyLabel="h"/>
49        <Key android:codes="106" android:keyLabel="j"/>
50        <Key android:codes="107" android:keyLabel="k"/>
51        <Key android:codes="108" android:keyLabel="l" android:keyEdgeFlags="right"/>
52    </Row>
53
54    <Row>
55        <Key android:codes="-1" android:keyIcon="@drawable/sym_keyboard_shift"
56                android:keyWidth="15%p" android:isModifier="true"
57                android:isSticky="true" android:keyEdgeFlags="left"/>
58        <Key android:codes="122" android:keyLabel="z"/>
59        <Key android:codes="120" android:keyLabel="x"/>
60        <Key android:codes="99" android:keyLabel="c"/>
61        <Key android:codes="118" android:keyLabel="v"/>
62        <Key android:codes="98" android:keyLabel="b"/>
63        <Key android:codes="110" android:keyLabel="n"/>
64        <Key android:codes="109" android:keyLabel="m"/>
65        <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete"
66                android:keyWidth="15%p" android:keyEdgeFlags="right"
67                android:isRepeatable="true"/>
68    </Row>
69
70    <Row android:rowEdgeFlags="bottom">
71        <Key android:codes="-3" android:keyIcon="@drawable/sym_keyboard_done"
72                android:keyWidth="15%p" android:keyEdgeFlags="left"/>
73        <Key android:codes="-2" android:keyLabel="123" android:keyWidth="10%p"/>
74        <!--
75            android:codes: -101 is not a framework-defined key code but a key code that is
76            privately defined in com.example.android.softkeyboard.LatinKeyboardView.
77        -->
78        <Key android:codes="-101" android:keyIcon="@drawable/sym_keyboard_language_switch"
79                android:keyWidth="10%p"/>
80        <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
81                android:keyWidth="30%p" android:isRepeatable="true"/>
82        <Key android:codes="46,44" android:keyLabel=". ,"
83                android:keyWidth="15%p"/>
84        <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
85                android:keyWidth="20%p" android:keyEdgeFlags="right"/>
86    </Row>
87</Keyboard>
88