blob: b20bb243f14d8a006f1943500a7a12a0aedc578f [file] [log] [blame]
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +09001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2011, 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:keyboardHeight="@dimen/keyboardHeight"
24 latin:maxKeyboardHeight="50%p"
25 latin:rowHeight="25%p"
26 latin:keyWidth="16.75%p"
27 latin:horizontalGap="@dimen/key_horizontal_gap"
28 latin:verticalGap="@dimen/key_bottom_gap"
29 latin:popupKeyboardTemplate="@xml/kbd_popup_template"
30 latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
31>
32 <include
33 latin:keyboardLayout="@xml/kbd_key_styles" />
34 <include
35 latin:keyboardLayout="@xml/kbd_numkey_styles" />
36 <!-- This row is intentionally not marked as a top row -->
37 <Row>
38 <Key
39 latin:code="45"
40 latin:keyLabel=" - "
41 latin:keyXPos="15.625%p"
42 latin:keyWidth="9.25%p" />
43 <Key
44 latin:code="43"
45 latin:keyLabel=" + "
46 latin:keyWidth="9.25%p" />
47 <Key
48 latin:keyStyle="num1KeyStyle"
49 latin:keyXPos="38.867%p" />
50 <Key
51 latin:keyStyle="num2KeyStyle" />
52 <Key
53 latin:keyStyle="num3KeyStyle" />
54 <Key
55 latin:keyStyle="deleteKeyStyle"
56 latin:keyXPos="-11.00%p"
57 latin:keyWidth="fillBoth"
58 latin:keyEdgeFlags="right" />
59 </Row>
60 <Row>
61 <Key
62 latin:code="44"
63 latin:keyLabel=" , "
64 latin:keyXPos="15.625%p"
65 latin:keyWidth="9.25%p" />
66 <Key
67 latin:code="46"
68 latin:keyLabel=" . "
69 latin:keyWidth="9.25%p" />
70 <Key
71 latin:keyStyle="num4KeyStyle"
72 latin:keyXPos="38.867%p" />
73 <Key
74 latin:keyStyle="num5KeyStyle" />
75 <Key
76 latin:keyStyle="num6KeyStyle" />
77 <Key
78 latin:keyStyle="returnKeyStyle"
79 latin:keyXPos="-11.00%p"
80 latin:keyWidth="fillBoth"
81 latin:keyEdgeFlags="right" />
82 </Row>
83 <Row>
84 <Key
85 latin:keyStyle="moreKeyStyle"
86 latin:keyWidth="11.0%p"
87 latin:keyEdgeFlags="left" />
88 <!-- There is an empty area below the "More" key and left of the "(" key. To ignore
89 the touch event on the area, "(" is intentionally not marked as a left edge key. -->
90 <Key
91 latin:code="40"
92 latin:keyLabel=" ( "
93 latin:keyXPos="15.625%p"
94 latin:keyWidth="9.25%p" />
95 <Key
96 latin:code="41"
97 latin:keyLabel=" ) "
98 latin:keyWidth="9.25%p" />
99 <Key
100 latin:keyStyle="num7KeyStyle"
101 latin:keyXPos="38.867%p" />
102 <Key
103 latin:keyStyle="num8KeyStyle" />
104 <Key
105 latin:keyStyle="num9KeyStyle" />
106 </Row>
107 <!-- This row is intentionally not marked as a bottom row -->
108 <Row>
109 <Key
110 latin:keyStyle="tabKeyStyle"
111 latin:keyWidth="11.00%p"
112 latin:keyEdgeFlags="left" />
113 <Key
114 latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
115 latin:keyXPos="15.625%p"
116 latin:keyWidth="18.67%p" />
117 <Key
118 latin:keyStyle="numStarKeyStyle"
119 latin:keyXPos="38.867%p" />
120 <Key
121 latin:keyStyle="num0KeyStyle" />
122 <Key
123 latin:keyStyle="numPoundKeyStyle" />
124 <Key
125 latin:keyStyle="micOrSettingsKeyStyle"
126 latin:keyXPos="-11.00%p"
127 latin:keyWidth="fillBoth"
128 latin:keyEdgeFlags="right" />
129 </Row>
130</Keyboard>