blob: 93bc1363abb5ba05b4a47b02ca1ba41ba0271a31 [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. Takaoka9b6d1d52010-12-14 15:31:47 +090029 latin:popupKeyboardTemplate="@xml/kbd_popup_template"
30 latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080031>
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080032 <include
33 latin:keyboardLayout="@xml/kbd_key_styles" />
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080034 <!-- This row is intentionally not marked as a top row -->
35 <Row>
36 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080037 latin:keyStyle="tabKeyStyle"
38 latin:keyLabelOption="alignLeft"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080039 latin:keyEdgeFlags="left" />
40 <Spacer
41 latin:horizontalGap="4.458%p" />
42 <Key
43 latin:keyLabel="-"
44 latin:keyWidth="8.042%p" />
45 <Key
46 latin:keyLabel="+"
47 latin:keyWidth="8.042%p" />
48 <Key
49 latin:keyLabel="."
50 latin:keyWidth="8.042%p" />
51 <Spacer
52 latin:horizontalGap="4.458%p" />
53 <Key
54 latin:keyLabel="1" />
55 <Key
56 latin:keyLabel="2" />
57 <Key
58 latin:keyLabel="3" />
59 <Spacer
60 latin:horizontalGap="9.360%p" />
61 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080062 latin:keyStyle="deleteKeyStyle"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080063 latin:keyWidth="9.804%p"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080064 latin:keyEdgeFlags="right" />
65 </Row>
66 <Row>
67 <Spacer
68 latin:horizontalGap="16.406%p" />
69 <Key
70 latin:keyLabel="*"
71 latin:keyWidth="8.042%p" />
72 <Key
73 latin:keyLabel="/"
74 latin:keyWidth="8.042%p" />
75 <Key
76 latin:keyLabel=","
77 latin:keyWidth="8.042%p" />
78 <Spacer
79 latin:horizontalGap="4.458%p" />
80 <Key
81 latin:keyLabel="4" />
82 <Key
83 latin:keyLabel="5" />
84 <Key
85 latin:keyLabel="6" />
86 <Spacer
87 latin:horizontalGap="4.458%p" />
88 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080089 latin:keyStyle="returnKeyStyle"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080090 latin:keyWidth="14.706%p"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080091 latin:keyEdgeFlags="right" />
92 </Row>
93 <Row>
94 <!-- There is an empty area bellow the "More" key and left of the "(" key. To ignore
95 the touch event on the area, "(" is intentionally not marked as a left edge key. -->
96 <Spacer
97 latin:horizontalGap="16.406%p" />
98 <Key
99 latin:keyLabel="("
100 latin:keyWidth="8.042%p" />
101 <Key
102 latin:keyLabel=")"
103 latin:keyWidth="8.042%p" />
104 <Key
105 latin:keyLabel="="
106 latin:keyWidth="8.042%p" />
107 <Spacer
108 latin:horizontalGap="4.458%p" />
109 <Key
110 latin:keyLabel="7" />
111 <Key
112 latin:keyLabel="8" />
113 <Key
114 latin:keyLabel="9" />
115 <!-- There is an empty area bellow the "Enter" key and right of the "9" key. To ignore
116 the touch event on the area, "9" is intentionally not marked as a right edge key. -->
117 </Row>
118 <!-- This row is intentionally not marked as a bottom row -->
119 <Row>
120 <!-- There is an empty area bellow the "More" key and left of the "space" key. To ignore
121 the touch event on the area, "space" is intentionally not marked as a left edge key. -->
122 <Spacer
123 latin:horizontalGap="16.406%p" />
124 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800125 latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -0800126 latin:keyWidth="24.127%p" />
127 <Spacer
128 latin:horizontalGap="4.458%p" />
129 <Key
130 latin:keyLabel="*" />
131 <Key
132 latin:keyLabel="0" />
133 <Key
134 latin:keyLabel="#" />
Tadashi G. Takaoka2ff2a042010-12-07 14:06:32 +0900135 <Key
136 latin:keyStyle="micKeyStyle"
137 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -0800138 <!-- There is an empty area bellow the "Enter" key and right of the "#" key. To ignore
139 the touch event on the area, "#" is intentionally not marked as a right edge key. -->
140 </Row>
141</Keyboard>