blob: f30499622ae2331766a7fae79c0ac9911583431e [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. Takaoka7c25ad42010-11-20 16:17:04 -080023 latin:keyWidth="11.949%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. Takaoka4d3a4dc2010-10-09 01:06:26 +090034 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
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080039 latin:horizontalGap="8.470%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090040 <Key
41 latin:codes="45"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080042 latin:keyLabel=" - "
43 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090044 <Key
45 latin:codes="43"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080046 latin:keyLabel=" + "
47 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090048 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080049 latin:horizontalGap="8.479%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090050 <Key
51 latin:codes="49"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080052 latin:keyIcon="@drawable/sym_keyboard_num1" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090053 <Key
54 latin:codes="50"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080055 latin:keyIcon="@drawable/sym_keyboard_num2" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090056 <Key
57 latin:codes="51"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080058 latin:keyIcon="@drawable/sym_keyboard_num3" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090059 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080060 latin:horizontalGap="4.458%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090061 <Key
62 latin:codes="@integer/key_delete"
Tadashi G. Takaokacd39f2a2010-11-20 08:03:24 -080063 latin:keyLabel="@string/label_backspace_key"
64 latin:keyLabelOption="fontItalic|alignRight|alignBottom"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080065 latin:keyWidth="14.706%p"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090066 latin:isModifier="true"
67 latin:isRepeatable="true"
68 latin:keyEdgeFlags="right" />
69 </Row>
70 <Row>
71 <Key
72 latin:codes="@integer/key_symbol"
73 latin:keyLabel="@string/label_more_key"
Tadashi G. Takaokacd39f2a2010-11-20 08:03:24 -080074 latin:keyLabelOption="fontItalic|alignLeft|alignBottom"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090075 latin:isModifier="true"
76 latin:isSticky="true"
77 latin:keyEdgeFlags="left" />
78 <!-- To match one character label size with "More", I placed spaces around the char ','
79 and '.'. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090080 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080081 latin:horizontalGap="8.470%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090082 <Key
83 latin:codes="44"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080084 latin:keyLabel=" , "
85 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090086 <Key
87 latin:codes="46"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080088 latin:keyLabel=" . "
89 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090090 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080091 latin:horizontalGap="8.479%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090092 <Key
93 latin:codes="52"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080094 latin:keyIcon="@drawable/sym_keyboard_num4" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090095 <Key
96 latin:codes="53"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080097 latin:keyIcon="@drawable/sym_keyboard_num5" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090098 <Key
99 latin:codes="54"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800100 latin:keyIcon="@drawable/sym_keyboard_num6" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900101 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800102 latin:horizontalGap="4.458%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900103 <Key
104 latin:codes="@integer/key_return"
Tadashi G. Takaokacd39f2a2010-11-20 08:03:24 -0800105 latin:keyLabel="@string/label_return_key"
106 latin:keyLabelOption="fontItalic|alignRight|alignBottom"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800107 latin:keyWidth="14.706%p"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900108 latin:isModifier="true"
109 latin:keyEdgeFlags="right" />
110 </Row>
111 <Row>
112 <!-- To match one character label size with "More", I placed spaces around the char '('
113 and ')'. -->
114 <!-- There is an empty area bellow the "More" key and left of the "(" key. To ignore
115 the touch event on the area, "(" is intentionally not marked as a left edge key. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900116 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800117 latin:horizontalGap="20.427%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900118 <Key
119 latin:codes="40"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800120 latin:keyLabel=" ( "
121 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900122 <Key
123 latin:codes="41"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800124 latin:keyLabel=" ) "
125 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900126 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800127 latin:horizontalGap="8.479%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900128 <Key
129 latin:codes="55"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800130 latin:keyIcon="@drawable/sym_keyboard_num7" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900131 <Key
132 latin:codes="56"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800133 latin:keyIcon="@drawable/sym_keyboard_num8" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900134 <Key
135 latin:codes="57"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800136 latin:keyIcon="@drawable/sym_keyboard_num9" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900137 <!-- There is an empty area bellow the "Enter" key and right of the "9" key. To ignore
138 the touch event on the area, "9" is intentionally not marked as a right edge key. -->
139 </Row>
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900140 <!-- This row is intentionally not marked as a bottom row -->
141 <Row>
142 <!-- There is an empty area bellow the "More" key and left of the "space" key. To ignore
143 the touch event on the area, "space" is intentionally not marked as a left edge key. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900144 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800145 latin:horizontalGap="20.427%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900146 <Key
147 latin:codes="@integer/key_space"
148 latin:keyIcon="@drawable/sym_keyboard_space"
149 latin:iconPreview="@drawable/sym_keyboard_feedback_space"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800150 latin:keyWidth="16.085%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900151 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800152 latin:horizontalGap="8.479%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900153 <Key
154 latin:codes="42"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800155 latin:keyIcon="@drawable/sym_keyboard_numstar" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900156 <Key
157 latin:codes="48"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800158 latin:keyIcon="@drawable/sym_keyboard_num0" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900159 <Key
160 latin:codes="35"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800161 latin:keyIcon="@drawable/sym_keyboard_numpound" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900162 <!-- There is an empty area bellow the "Enter" key and right of the "#" key. To ignore
163 the touch event on the area, "#" is intentionally not marked as a right edge key. -->
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900164 </Row>
165</Keyboard>