blob: 5a6ec9a88b0c94a47359c817275d896281a91306 [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>
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080028 <include
29 latin:keyboardLayout="@xml/kbd_key_styles" />
30 <include
31 latin:keyboardLayout="@xml/kbd_numkey_styles" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090032 <!-- This row is intentionally not marked as a top row -->
33 <Row>
34 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080035 latin:keyStyle="tabKeyStyle"
36 latin:keyLabelOption="alignLeft"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090037 latin:keyEdgeFlags="left" />
38 <!-- To match one character label size with "Tab", I placed spaces around the char '-'
39 and '+'. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090040 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080041 latin:horizontalGap="8.470%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090042 <Key
43 latin:codes="45"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080044 latin:keyLabel=" - "
45 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090046 <Key
47 latin:codes="43"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080048 latin:keyLabel=" + "
49 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090050 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080051 latin:horizontalGap="8.479%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090052 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080053 latin:keyStyle="num1KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090054 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080055 latin:keyStyle="num2KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090056 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080057 latin:keyStyle="num3KeyStyle" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090058 <Spacer
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080059 latin:horizontalGap="9.360%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090060 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080061 latin:keyStyle="deleteKeyStyle"
62 latin:keyWidth="9.804%p"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090063 latin:keyEdgeFlags="right" />
64 </Row>
65 <Row>
66 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080067 latin:keyStyle="moreKeyStyle"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090068 latin:keyEdgeFlags="left" />
69 <!-- To match one character label size with "More", I placed spaces around the char ','
70 and '.'. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090071 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080072 latin:horizontalGap="8.470%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090073 <Key
74 latin:codes="44"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080075 latin:keyLabel=" , "
76 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090077 <Key
78 latin:codes="46"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080079 latin:keyLabel=" . "
80 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090081 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080082 latin:horizontalGap="8.479%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090083 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080084 latin:keyStyle="num4KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090085 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080086 latin:keyStyle="num5KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090087 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080088 latin:keyStyle="num6KeyStyle" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090089 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080090 latin:horizontalGap="4.458%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090091 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080092 latin:keyStyle="returnKeyStyle"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080093 latin:keyWidth="14.706%p"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090094 latin:keyEdgeFlags="right" />
95 </Row>
96 <Row>
97 <!-- To match one character label size with "More", I placed spaces around the char '('
98 and ')'. -->
99 <!-- There is an empty area bellow the "More" key and left of the "(" key. To ignore
100 the touch event on the area, "(" is intentionally not marked as a left edge key. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900101 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800102 latin:horizontalGap="20.427%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900103 <Key
104 latin:codes="40"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800105 latin:keyLabel=" ( "
106 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900107 <Key
108 latin:codes="41"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800109 latin:keyLabel=" ) "
110 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900111 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800112 latin:horizontalGap="8.479%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900113 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800114 latin:keyStyle="num7KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900115 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800116 latin:keyStyle="num8KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900117 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800118 latin:keyStyle="num9KeyStyle" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900119 <!-- There is an empty area bellow the "Enter" key and right of the "9" key. To ignore
120 the touch event on the area, "9" is intentionally not marked as a right edge key. -->
121 </Row>
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900122 <!-- This row is intentionally not marked as a bottom row -->
123 <Row>
124 <!-- There is an empty area bellow the "More" key and left of the "space" key. To ignore
125 the touch event on the area, "space" is intentionally not marked as a left edge key. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900126 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800127 latin:horizontalGap="20.427%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900128 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800129 latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800130 latin:keyWidth="16.085%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900131 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800132 latin:horizontalGap="8.479%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900133 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800134 latin:keyStyle="numStarKeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900135 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800136 latin:keyStyle="num0KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900137 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800138 latin:keyStyle="numPoundKeyStyle" />
Tadashi G. Takaoka2ff2a042010-12-07 14:06:32 +0900139 <Key
140 latin:keyStyle="micKeyStyle"
141 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900142 <!-- There is an empty area bellow the "Enter" key and right of the "#" key. To ignore
143 the touch event on the area, "#" is intentionally not marked as a right edge key. -->
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900144 </Row>
145</Keyboard>