blob: 013f005d42a621e54fcd8778a56d0fd08de08cbd [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"
Tadashi G. Takaokae302b192010-11-09 07:32:47 +090023 latin:keyWidth="8.2%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"
Tadashi G. Takaokacd39f2a2010-11-20 08:03:24 -080033 latin:keyLabelOption="fontItalic|alignLeft|alignBottom"
Tadashi G. Takaokae302b192010-11-09 07:32:47 +090034 latin:keyWidth="12.1%p"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090035 latin:isModifier="true"
36 latin:keyEdgeFlags="left" />
37 <!-- To match one character label size with "Tab", I placed spaces around the char '-'
38 and '+'. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090039 <Spacer
Tadashi G. Takaokae302b192010-11-09 07:32:47 +090040 latin:horizontalGap="8.1%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090041 <Key
42 latin:codes="45"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090043 latin:keyLabel=" - " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090044 <Key
45 latin:codes="43"
46 latin:keyLabel=" + " />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090047 <Spacer
Tadashi G. Takaokae302b192010-11-09 07:32:47 +090048 latin:horizontalGap="8.1%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090049 <Key
50 latin:codes="49"
51 latin:keyIcon="@drawable/sym_keyboard_num1"
Tadashi G. Takaokae302b192010-11-09 07:32:47 +090052 latin:keyWidth="12.1%p " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090053 <Key
54 latin:codes="50"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090055 latin:keyIcon="@drawable/sym_keyboard_num2"
Tadashi G. Takaokae302b192010-11-09 07:32:47 +090056 latin:keyWidth="12.1%p " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090057 <Key
58 latin:codes="51"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090059 latin:keyIcon="@drawable/sym_keyboard_num3"
Tadashi G. Takaokae302b192010-11-09 07:32:47 +090060 latin:keyWidth="12.1%p " />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090061 <Spacer
Tadashi G. Takaokae302b192010-11-09 07:32:47 +090062 latin:horizontalGap="4.0%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090063 <Key
64 latin:codes="@integer/key_delete"
Tadashi G. Takaokacd39f2a2010-11-20 08:03:24 -080065 latin:keyLabel="@string/label_backspace_key"
66 latin:keyLabelOption="fontItalic|alignRight|alignBottom"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090067 latin:keyWidth="15.0%p"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090068 latin:isModifier="true"
69 latin:isRepeatable="true"
70 latin:keyEdgeFlags="right" />
71 </Row>
72 <Row>
73 <Key
74 latin:codes="@integer/key_symbol"
75 latin:keyLabel="@string/label_more_key"
Tadashi G. Takaokacd39f2a2010-11-20 08:03:24 -080076 latin:keyLabelOption="fontItalic|alignLeft|alignBottom"
Tadashi G. Takaokae302b192010-11-09 07:32:47 +090077 latin:keyWidth="12.1%p"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090078 latin:isModifier="true"
79 latin:isSticky="true"
80 latin:keyEdgeFlags="left" />
81 <!-- To match one character label size with "More", I placed spaces around the char ','
82 and '.'. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090083 <Spacer
Tadashi G. Takaokae302b192010-11-09 07:32:47 +090084 latin:horizontalGap="8.1%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090085 <Key
86 latin:codes="44"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090087 latin:keyLabel=" , " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090088 <Key
89 latin:codes="46"
90 latin:keyLabel=" . " />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090091 <Spacer
Tadashi G. Takaokae302b192010-11-09 07:32:47 +090092 latin:horizontalGap="8.1%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090093 <Key
94 latin:codes="52"
95 latin:keyIcon="@drawable/sym_keyboard_num4"
Tadashi G. Takaokae302b192010-11-09 07:32:47 +090096 latin:keyWidth="12.1%p " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090097 <Key
98 latin:codes="53"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090099 latin:keyIcon="@drawable/sym_keyboard_num5"
Tadashi G. Takaokae302b192010-11-09 07:32:47 +0900100 latin:keyWidth="12.1%p " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900101 <Key
102 latin:codes="54"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900103 latin:keyIcon="@drawable/sym_keyboard_num6"
Tadashi G. Takaokae302b192010-11-09 07:32:47 +0900104 latin:keyWidth="12.1%p " />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900105 <Spacer
Tadashi G. Takaokae302b192010-11-09 07:32:47 +0900106 latin:horizontalGap="4.0%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900107 <Key
108 latin:codes="@integer/key_return"
Tadashi G. Takaokacd39f2a2010-11-20 08:03:24 -0800109 latin:keyLabel="@string/label_return_key"
110 latin:keyLabelOption="fontItalic|alignRight|alignBottom"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900111 latin:keyWidth="15.0%p"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900112 latin:isModifier="true"
113 latin:keyEdgeFlags="right" />
114 </Row>
115 <Row>
116 <!-- To match one character label size with "More", I placed spaces around the char '('
117 and ')'. -->
118 <!-- There is an empty area bellow the "More" key and left of the "(" key. To ignore
119 the touch event on the area, "(" is intentionally not marked as a left edge key. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900120 <Spacer
Tadashi G. Takaokae302b192010-11-09 07:32:47 +0900121 latin:horizontalGap="20.2%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900122 <Key
123 latin:codes="40"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900124 latin:keyLabel=" ( " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900125 <Key
126 latin:codes="41"
127 latin:keyLabel=" ) " />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900128 <Spacer
Tadashi G. Takaokae302b192010-11-09 07:32:47 +0900129 latin:horizontalGap="8.1%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900130 <Key
131 latin:codes="55"
132 latin:keyIcon="@drawable/sym_keyboard_num7"
Tadashi G. Takaokae302b192010-11-09 07:32:47 +0900133 latin:keyWidth="12.1%p " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900134 <Key
135 latin:codes="56"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900136 latin:keyIcon="@drawable/sym_keyboard_num8"
Tadashi G. Takaokae302b192010-11-09 07:32:47 +0900137 latin:keyWidth="12.1%p " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900138 <Key
139 latin:codes="57"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900140 latin:keyIcon="@drawable/sym_keyboard_num9"
Tadashi G. Takaokae302b192010-11-09 07:32:47 +0900141 latin:keyWidth="12.1%p " />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900142 <!-- There is an empty area bellow the "Enter" key and right of the "9" key. To ignore
143 the touch event on the area, "9" is intentionally not marked as a right edge key. -->
144 </Row>
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900145 <!-- This row is intentionally not marked as a bottom row -->
146 <Row>
147 <!-- There is an empty area bellow the "More" key and left of the "space" key. To ignore
148 the touch event on the area, "space" is intentionally not marked as a left edge key. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900149 <Spacer
Tadashi G. Takaokae302b192010-11-09 07:32:47 +0900150 latin:horizontalGap="20.2%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900151 <Key
152 latin:codes="@integer/key_space"
153 latin:keyIcon="@drawable/sym_keyboard_space"
154 latin:iconPreview="@drawable/sym_keyboard_feedback_space"
Tadashi G. Takaokae302b192010-11-09 07:32:47 +0900155 latin:keyWidth="16.4%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900156 <Spacer
Tadashi G. Takaokae302b192010-11-09 07:32:47 +0900157 latin:horizontalGap="8.1%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900158 <Key
159 latin:codes="42"
160 latin:keyIcon="@drawable/sym_keyboard_numstar"
Tadashi G. Takaokae302b192010-11-09 07:32:47 +0900161 latin:keyWidth="12.1%p " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900162 <Key
163 latin:codes="48"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900164 latin:keyIcon="@drawable/sym_keyboard_num0"
Tadashi G. Takaokae302b192010-11-09 07:32:47 +0900165 latin:keyWidth="12.1%p " />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900166 <Key
167 latin:codes="35"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900168 latin:keyIcon="@drawable/sym_keyboard_numpound"
Tadashi G. Takaokae302b192010-11-09 07:32:47 +0900169 latin:keyWidth="12.1%p " />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900170 <!-- There is an empty area bellow the "Enter" key and right of the "#" key. To ignore
171 the touch event on the area, "#" is intentionally not marked as a right edge key. -->
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900172 </Row>
173</Keyboard>