blob: cde7205bc6f5b4d82774a3a717e9ce1d3c0dfe9c [file] [log] [blame]
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -08001<?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
22 xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
23 latin:keyWidth="26.67%p"
24 latin:horizontalGap="@dimen/key_horizontal_gap"
25 latin:verticalGap="@dimen/key_bottom_gap"
26 latin:keyHeight="@dimen/key_height"
27>
28 <include
29 latin:keyboardLayout="@xml/kbd_key_styles" />
30 <switch>
31 <case
32 latin:colorScheme="white"
33 >
34 <key-style
35 latin:styleName="numSpaceKeyStyle"
36 latin:codes="@integer/key_space"
37 latin:keyIcon="@drawable/sym_keyboard_space"
38 latin:iconPreview="@drawable/sym_keyboard_feedback_space" />
39 </case>
40 <case
41 latin:colorScheme="black"
42 >
43 <key-style
44 latin:styleName="numSpaceKeyStyle"
45 latin:codes="@integer/key_space"
46 latin:keyIcon="@drawable/sym_bkeyboard_space"
47 latin:iconPreview="@drawable/sym_keyboard_feedback_space" />
48 </case>
49 </switch>
50 <Row
51 latin:rowEdgeFlags="top"
52 >
53 <Key
54 latin:keyLabel="1"
55 latin:keyEdgeFlags="left" />
56 <Key
57 latin:keyLabel="2" />
58 <Key
59 latin:keyLabel="3" />
60 <Key
61 latin:keyLabel="-"
62 latin:keyStyle="functionalKeyStyle"
63 latin:keyWidth="20%p"
64 latin:keyEdgeFlags="right" />
65 </Row>
66 <Row>
67 <Key
68 latin:keyLabel="4"
69 latin:keyEdgeFlags="left" />
70 <Key
71 latin:keyLabel="5" />
72 <Key
73 latin:keyLabel="6" />
74 <Key
75 latin:keyLabel=","
76 latin:keyStyle="functionalKeyStyle"
77 latin:keyWidth="20%p"
78 latin:keyEdgeFlags="right" />
79 </Row>
80 <Row>
81 <Key
82 latin:keyLabel="7"
83 latin:keyEdgeFlags="left" />
84 <Key
85 latin:keyLabel="8" />
86 <Key
87 latin:keyLabel="9" />
88 <Key
89 latin:keyStyle="deleteKeyStyle"
90 latin:keyWidth="20%p"
91 latin:keyEdgeFlags="right" />
92 </Row>
93 <Row
94 latin:rowEdgeFlags="bottom"
95 >
96 <Key
97 latin:keyStyle="numSpaceKeyStyle"
98 latin:keyEdgeFlags="left" />
99 <Key
100 latin:keyLabel="0" />
101 <Key
102 latin:keyLabel="." />
103 <Key
104 latin:keyStyle="returnKeyStyle"
105 latin:keyWidth="20%p"
106 latin:keyEdgeFlags="right" />
107 </Row>
108</Keyboard>