blob: cf0e5236c69e4a698f65fcee59adb08271b6df6d [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
Tadashi G. Takaoka9d9522a2011-06-15 12:36:53 +090039 latin:keyLabel="-"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090040 latin:keyXPos="15.625%p"
41 latin:keyWidth="9.25%p" />
42 <Key
Tadashi G. Takaoka9d9522a2011-06-15 12:36:53 +090043 latin:keyLabel="+"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090044 latin:keyWidth="9.25%p" />
45 <Key
46 latin:keyStyle="num1KeyStyle"
47 latin:keyXPos="38.867%p" />
48 <Key
49 latin:keyStyle="num2KeyStyle" />
50 <Key
51 latin:keyStyle="num3KeyStyle" />
52 <Key
53 latin:keyStyle="deleteKeyStyle"
54 latin:keyXPos="-11.00%p"
55 latin:keyWidth="fillBoth"
56 latin:keyEdgeFlags="right" />
57 </Row>
58 <Row>
59 <Key
Tadashi G. Takaoka9d9522a2011-06-15 12:36:53 +090060 latin:keyLabel=","
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090061 latin:keyXPos="15.625%p"
62 latin:keyWidth="9.25%p" />
63 <Key
Tadashi G. Takaoka9d9522a2011-06-15 12:36:53 +090064 latin:keyLabel="."
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090065 latin:keyWidth="9.25%p" />
66 <Key
67 latin:keyStyle="num4KeyStyle"
68 latin:keyXPos="38.867%p" />
69 <Key
70 latin:keyStyle="num5KeyStyle" />
71 <Key
72 latin:keyStyle="num6KeyStyle" />
73 <Key
74 latin:keyStyle="returnKeyStyle"
75 latin:keyXPos="-11.00%p"
76 latin:keyWidth="fillBoth"
77 latin:keyEdgeFlags="right" />
78 </Row>
79 <Row>
80 <Key
81 latin:keyStyle="moreKeyStyle"
82 latin:keyWidth="11.0%p"
83 latin:keyEdgeFlags="left" />
84 <!-- There is an empty area below the "More" key and left of the "(" key. To ignore
85 the touch event on the area, "(" is intentionally not marked as a left edge key. -->
86 <Key
Tadashi G. Takaoka9d9522a2011-06-15 12:36:53 +090087 latin:keyLabel="("
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090088 latin:keyXPos="15.625%p"
89 latin:keyWidth="9.25%p" />
90 <Key
Tadashi G. Takaoka9d9522a2011-06-15 12:36:53 +090091 latin:keyLabel=")"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090092 latin:keyWidth="9.25%p" />
93 <Key
94 latin:keyStyle="num7KeyStyle"
95 latin:keyXPos="38.867%p" />
96 <Key
97 latin:keyStyle="num8KeyStyle" />
98 <Key
99 latin:keyStyle="num9KeyStyle" />
100 </Row>
101 <!-- This row is intentionally not marked as a bottom row -->
102 <Row>
103 <Key
104 latin:keyStyle="tabKeyStyle"
105 latin:keyWidth="11.00%p"
106 latin:keyEdgeFlags="left" />
107 <Key
108 latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
109 latin:keyXPos="15.625%p"
110 latin:keyWidth="18.67%p" />
111 <Key
112 latin:keyStyle="numStarKeyStyle"
113 latin:keyXPos="38.867%p" />
114 <Key
115 latin:keyStyle="num0KeyStyle" />
116 <Key
117 latin:keyStyle="numPoundKeyStyle" />
118 <Key
119 latin:keyStyle="micOrSettingsKeyStyle"
120 latin:keyXPos="-11.00%p"
121 latin:keyWidth="fillBoth"
122 latin:keyEdgeFlags="right" />
123 </Row>
124</Keyboard>