blob: 107731f3b0a6628ce4f446908e2339ac76b013e8 [file] [log] [blame]
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +09001<?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"
23 latin:keyWidth="7.5%p"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090024 latin:horizontalGap="@dimen/key_horizontal_gap"
25 latin:verticalGap="@dimen/key_bottom_gap"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090026 latin:keyHeight="@dimen/key_height"
27>
28 <!-- This row is intentionally not marked as a top row -->
29 <Row>
30 <Key
31 latin:codes="@integer/key_tab"
32 latin:keyLabel="@string/label_tab_key"
33 latin:keyWidth="15.0%p"
34 latin:isModifier="true"
35 latin:keyEdgeFlags="left" />
36 <!-- To match one character label size with "Tab", I placed spaces around the char '-'
37 and '+'. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090038 <Spacer
39 latin:horizontalGap="6.0%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090040 <Key
41 latin:codes="45"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090042 latin:keyLabel=" - " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090043 <Key
44 latin:codes="43"
45 latin:keyLabel=" + " />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090046 <Spacer
47 latin:horizontalGap="11.5%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090048 <Key
49 latin:codes="49"
50 latin:keyIcon="@drawable/sym_keyboard_num1"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090051 latin:keyWidth="10.5%p " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090052 <Key
53 latin:codes="50"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090054 latin:keyIcon="@drawable/sym_keyboard_num2"
55 latin:keyWidth="10.5%p " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090056 <Key
57 latin:codes="51"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090058 latin:keyIcon="@drawable/sym_keyboard_num3"
59 latin:keyWidth="10.5%p " />
60 <Spacer
61 latin:horizontalGap="6.0%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090062 <Key
63 latin:codes="@integer/key_delete"
64 latin:keyIcon="@drawable/sym_keyboard_delete"
65 latin:iconPreview="@drawable/sym_keyboard_feedback_delete"
66 latin:keyWidth="15.0%p"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090067 latin:isModifier="true"
68 latin:isRepeatable="true"
69 latin:keyEdgeFlags="right" />
70 </Row>
71 <Row>
72 <Key
73 latin:codes="@integer/key_symbol"
74 latin:keyLabel="@string/label_more_key"
75 latin:keyWidth="15.0%p"
76 latin:isModifier="true"
77 latin:isSticky="true"
78 latin:keyEdgeFlags="left" />
79 <!-- To match one character label size with "More", I placed spaces around the char ','
80 and '.'. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090081 <Spacer
82 latin:horizontalGap="6.0%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090083 <Key
84 latin:codes="44"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090085 latin:keyLabel=" , " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090086 <Key
87 latin:codes="46"
88 latin:keyLabel=" . " />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090089 <Spacer
90 latin:horizontalGap="11.5%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090091 <Key
92 latin:codes="52"
93 latin:keyIcon="@drawable/sym_keyboard_num4"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090094 latin:keyWidth="10.5%p " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090095 <Key
96 latin:codes="53"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090097 latin:keyIcon="@drawable/sym_keyboard_num5"
98 latin:keyWidth="10.5%p " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090099 <Key
100 latin:codes="54"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900101 latin:keyIcon="@drawable/sym_keyboard_num6"
102 latin:keyWidth="10.5%p " />
103 <Spacer
104 latin:horizontalGap="6.0%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900105 <Key
106 latin:codes="@integer/key_return"
107 latin:keyIcon="@drawable/sym_keyboard_return"
108 latin:iconPreview="@drawable/sym_keyboard_feedback_return"
109 latin:keyWidth="15.0%p"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900110 latin:isModifier="true"
111 latin:keyEdgeFlags="right" />
112 </Row>
113 <Row>
114 <!-- To match one character label size with "More", I placed spaces around the char '('
115 and ')'. -->
116 <!-- There is an empty area bellow the "More" key and left of the "(" key. To ignore
117 the touch event on the area, "(" is intentionally not marked as a left edge key. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900118 <Spacer
119 latin:horizontalGap="21.0%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900120 <Key
121 latin:codes="40"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900122 latin:keyLabel=" ( " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900123 <Key
124 latin:codes="41"
125 latin:keyLabel=" ) " />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900126 <Spacer
127 latin:horizontalGap="11.5%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900128 <Key
129 latin:codes="55"
130 latin:keyIcon="@drawable/sym_keyboard_num7"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900131 latin:keyWidth="10.5%p " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900132 <Key
133 latin:codes="56"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900134 latin:keyIcon="@drawable/sym_keyboard_num8"
135 latin:keyWidth="10.5%p " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900136 <Key
137 latin:codes="57"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900138 latin:keyIcon="@drawable/sym_keyboard_num9"
139 latin:keyWidth="10.5%p " />
140 <!-- There is an empty area bellow the "Enter" key and right of the "9" key. To ignore
141 the touch event on the area, "9" is intentionally not marked as a right edge key. -->
142 </Row>
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900143 <!-- This row is intentionally not marked as a bottom row -->
144 <Row>
145 <!-- There is an empty area bellow the "More" key and left of the "space" key. To ignore
146 the touch event on the area, "space" is intentionally not marked as a left edge key. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900147 <Spacer
148 latin:horizontalGap="21.0%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900149 <Key
150 latin:codes="@integer/key_space"
151 latin:keyIcon="@drawable/sym_keyboard_space"
152 latin:iconPreview="@drawable/sym_keyboard_feedback_space"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900153 latin:keyWidth="15.0%p" />
154 <Spacer
155 latin:horizontalGap="11.5%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900156 <Key
157 latin:codes="42"
158 latin:keyIcon="@drawable/sym_keyboard_numstar"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900159 latin:keyWidth="10.5%p " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900160 <Key
161 latin:codes="48"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900162 latin:keyIcon="@drawable/sym_keyboard_num0"
163 latin:keyWidth="10.5%p " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900164 <Key
165 latin:codes="35"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900166 latin:keyIcon="@drawable/sym_keyboard_numpound"
167 latin:keyWidth="10.5%p " />
168 <!-- There is an empty area bellow the "Enter" key and right of the "#" key. To ignore
169 the touch event on the area, "#" is intentionally not marked as a right edge key. -->
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900170 </Row>
171</Keyboard>