blob: 2556f6830068a20a713e9738db0fc044efa3b830 [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"
Tadashi G. Takaokaff483e82011-05-12 14:49:18 +090024 latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
25 latin:minKeyboardHeight="@fraction/minKeyboardHeight"
Tadashi G. Takaoka9f01ed52010-12-08 14:36:41 +090026 latin:rowHeight="25%p"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080027 latin:keyWidth="26.67%p"
28 latin:horizontalGap="@dimen/key_horizontal_gap"
29 latin:verticalGap="@dimen/key_bottom_gap"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090030 latin:popupKeyboardTemplate="@xml/kbd_popup_template"
31 latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080032>
33 <include
34 latin:keyboardLayout="@xml/kbd_key_styles" />
Tadashi G. Takaoka6a75cd12011-03-08 17:48:18 -080035 <!-- TODO: Should add number password layout just like the xlarge layout does. -->
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090036 <switch>
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080037 <case
38 latin:colorScheme="white"
39 >
40 <key-style
41 latin:styleName="numSpaceKeyStyle"
Tadashi G. Takaokac4f71662010-12-20 20:30:26 +090042 latin:code="@integer/key_space"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080043 latin:keyIcon="@drawable/sym_keyboard_space"
44 latin:iconPreview="@drawable/sym_keyboard_feedback_space" />
45 </case>
46 <case
47 latin:colorScheme="black"
48 >
49 <key-style
50 latin:styleName="numSpaceKeyStyle"
Tadashi G. Takaokac4f71662010-12-20 20:30:26 +090051 latin:code="@integer/key_space"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080052 latin:keyIcon="@drawable/sym_bkeyboard_space"
53 latin:iconPreview="@drawable/sym_keyboard_feedback_space" />
54 </case>
55 </switch>
56 <Row
57 latin:rowEdgeFlags="top"
58 >
59 <Key
60 latin:keyLabel="1"
61 latin:keyEdgeFlags="left" />
62 <Key
63 latin:keyLabel="2" />
64 <Key
65 latin:keyLabel="3" />
66 <Key
67 latin:keyLabel="-"
68 latin:keyStyle="functionalKeyStyle"
69 latin:keyWidth="20%p"
70 latin:keyEdgeFlags="right" />
71 </Row>
72 <Row>
73 <Key
74 latin:keyLabel="4"
75 latin:keyEdgeFlags="left" />
76 <Key
77 latin:keyLabel="5" />
78 <Key
79 latin:keyLabel="6" />
80 <Key
81 latin:keyLabel=","
82 latin:keyStyle="functionalKeyStyle"
83 latin:keyWidth="20%p"
84 latin:keyEdgeFlags="right" />
85 </Row>
86 <Row>
87 <Key
88 latin:keyLabel="7"
89 latin:keyEdgeFlags="left" />
90 <Key
91 latin:keyLabel="8" />
92 <Key
93 latin:keyLabel="9" />
94 <Key
95 latin:keyStyle="deleteKeyStyle"
96 latin:keyWidth="20%p"
97 latin:keyEdgeFlags="right" />
98 </Row>
99 <Row
100 latin:rowEdgeFlags="bottom"
101 >
102 <Key
103 latin:keyStyle="numSpaceKeyStyle"
104 latin:keyEdgeFlags="left" />
105 <Key
106 latin:keyLabel="0" />
107 <Key
108 latin:keyLabel="." />
109 <Key
110 latin:keyStyle="returnKeyStyle"
111 latin:keyWidth="20%p"
112 latin:keyEdgeFlags="right" />
113 </Row>
114</Keyboard>