blob: 11cf8fb862c96b919e5c31098fc9e53b32776dda [file] [log] [blame]
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2010, 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="11.949%p"
27 latin:horizontalGap="@dimen/key_horizontal_gap"
28 latin:verticalGap="@dimen/key_bottom_gap"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080029>
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080030 <include
31 latin:keyboardLayout="@xml/kbd_key_styles" />
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080032 <!-- This row is intentionally not marked as a top row -->
33 <Row>
34 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080035 latin:keyStyle="tabKeyStyle"
36 latin:keyLabelOption="alignLeft"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080037 latin:keyEdgeFlags="left" />
38 <Spacer
39 latin:horizontalGap="4.458%p" />
40 <Key
41 latin:keyLabel="-"
42 latin:keyWidth="8.042%p" />
43 <Key
44 latin:keyLabel="+"
45 latin:keyWidth="8.042%p" />
46 <Key
47 latin:keyLabel="."
48 latin:keyWidth="8.042%p" />
49 <Spacer
50 latin:horizontalGap="4.458%p" />
51 <Key
52 latin:keyLabel="1" />
53 <Key
54 latin:keyLabel="2" />
55 <Key
56 latin:keyLabel="3" />
57 <Spacer
58 latin:horizontalGap="9.360%p" />
59 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080060 latin:keyStyle="deleteKeyStyle"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080061 latin:keyWidth="9.804%p"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080062 latin:keyEdgeFlags="right" />
63 </Row>
64 <Row>
65 <Spacer
66 latin:horizontalGap="16.406%p" />
67 <Key
68 latin:keyLabel="*"
69 latin:keyWidth="8.042%p" />
70 <Key
71 latin:keyLabel="/"
72 latin:keyWidth="8.042%p" />
73 <Key
74 latin:keyLabel=","
75 latin:keyWidth="8.042%p" />
76 <Spacer
77 latin:horizontalGap="4.458%p" />
78 <Key
79 latin:keyLabel="4" />
80 <Key
81 latin:keyLabel="5" />
82 <Key
83 latin:keyLabel="6" />
84 <Spacer
85 latin:horizontalGap="4.458%p" />
86 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080087 latin:keyStyle="returnKeyStyle"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080088 latin:keyWidth="14.706%p"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080089 latin:keyEdgeFlags="right" />
90 </Row>
91 <Row>
92 <!-- There is an empty area bellow the "More" key and left of the "(" key. To ignore
93 the touch event on the area, "(" is intentionally not marked as a left edge key. -->
94 <Spacer
95 latin:horizontalGap="16.406%p" />
96 <Key
97 latin:keyLabel="("
98 latin:keyWidth="8.042%p" />
99 <Key
100 latin:keyLabel=")"
101 latin:keyWidth="8.042%p" />
102 <Key
103 latin:keyLabel="="
104 latin:keyWidth="8.042%p" />
105 <Spacer
106 latin:horizontalGap="4.458%p" />
107 <Key
108 latin:keyLabel="7" />
109 <Key
110 latin:keyLabel="8" />
111 <Key
112 latin:keyLabel="9" />
113 <!-- There is an empty area bellow the "Enter" key and right of the "9" key. To ignore
114 the touch event on the area, "9" is intentionally not marked as a right edge key. -->
115 </Row>
116 <!-- This row is intentionally not marked as a bottom row -->
117 <Row>
118 <!-- There is an empty area bellow the "More" key and left of the "space" key. To ignore
119 the touch event on the area, "space" is intentionally not marked as a left edge key. -->
120 <Spacer
121 latin:horizontalGap="16.406%p" />
122 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800123 latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -0800124 latin:keyWidth="24.127%p" />
125 <Spacer
126 latin:horizontalGap="4.458%p" />
127 <Key
128 latin:keyLabel="*" />
129 <Key
130 latin:keyLabel="0" />
131 <Key
132 latin:keyLabel="#" />
Tadashi G. Takaoka2ff2a042010-12-07 14:06:32 +0900133 <Key
134 latin:keyStyle="micKeyStyle"
135 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -0800136 <!-- There is an empty area bellow the "Enter" key and right of the "#" key. To ignore
137 the touch event on the area, "#" is intentionally not marked as a right edge key. -->
138 </Row>
139</Keyboard>