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