blob: 6389a8ccd9024123aa22d821a714906b509af26a [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. Takaoka9f01ed52010-12-08 14:36:41 +090023 latin:keyboardHeight="@dimen/keyboardHeight"
24 latin:maxKeyboardHeight="50%p"
25 latin:rowHeight="25%p"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080026 latin:keyWidth="11.949%p"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090027 latin:horizontalGap="@dimen/key_horizontal_gap"
28 latin:verticalGap="@dimen/key_bottom_gap"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090029>
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080030 <include
31 latin:keyboardLayout="@xml/kbd_key_styles" />
32 <include
33 latin:keyboardLayout="@xml/kbd_numkey_styles" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090034 <!-- This row is intentionally not marked as a top row -->
35 <Row>
36 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080037 latin:keyStyle="tabKeyStyle"
38 latin:keyLabelOption="alignLeft"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090039 latin:keyEdgeFlags="left" />
40 <!-- To match one character label size with "Tab", I placed spaces around the char '-'
41 and '+'. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090042 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080043 latin:horizontalGap="8.470%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090044 <Key
45 latin:codes="45"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080046 latin:keyLabel=" - "
47 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090048 <Key
49 latin:codes="43"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080050 latin:keyLabel=" + "
51 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090052 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080053 latin:horizontalGap="8.479%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090054 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080055 latin:keyStyle="num1KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090056 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080057 latin:keyStyle="num2KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090058 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080059 latin:keyStyle="num3KeyStyle" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090060 <Spacer
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080061 latin:horizontalGap="9.360%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090062 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080063 latin:keyStyle="deleteKeyStyle"
64 latin:keyWidth="9.804%p"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090065 latin:keyEdgeFlags="right" />
66 </Row>
67 <Row>
68 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080069 latin:keyStyle="moreKeyStyle"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090070 latin:keyEdgeFlags="left" />
71 <!-- To match one character label size with "More", I placed spaces around the char ','
72 and '.'. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090073 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080074 latin:horizontalGap="8.470%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090075 <Key
76 latin:codes="44"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080077 latin:keyLabel=" , "
78 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090079 <Key
80 latin:codes="46"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080081 latin:keyLabel=" . "
82 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090083 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080084 latin:horizontalGap="8.479%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090085 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080086 latin:keyStyle="num4KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090087 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080088 latin:keyStyle="num5KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090089 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080090 latin:keyStyle="num6KeyStyle" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090091 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080092 latin:horizontalGap="4.458%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090093 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080094 latin:keyStyle="returnKeyStyle"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080095 latin:keyWidth="14.706%p"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090096 latin:keyEdgeFlags="right" />
97 </Row>
98 <Row>
99 <!-- To match one character label size with "More", I placed spaces around the char '('
100 and ')'. -->
101 <!-- There is an empty area bellow the "More" key and left of the "(" key. To ignore
102 the touch event on the area, "(" is intentionally not marked as a left edge key. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900103 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800104 latin:horizontalGap="20.427%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900105 <Key
106 latin:codes="40"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800107 latin:keyLabel=" ( "
108 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900109 <Key
110 latin:codes="41"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800111 latin:keyLabel=" ) "
112 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900113 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800114 latin:horizontalGap="8.479%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900115 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800116 latin:keyStyle="num7KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900117 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800118 latin:keyStyle="num8KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900119 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800120 latin:keyStyle="num9KeyStyle" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900121 <!-- There is an empty area bellow the "Enter" key and right of the "9" key. To ignore
122 the touch event on the area, "9" is intentionally not marked as a right edge key. -->
123 </Row>
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900124 <!-- This row is intentionally not marked as a bottom row -->
125 <Row>
126 <!-- There is an empty area bellow the "More" key and left of the "space" key. To ignore
127 the touch event on the area, "space" is intentionally not marked as a left edge key. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900128 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800129 latin:horizontalGap="20.427%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900130 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800131 latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800132 latin:keyWidth="16.085%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900133 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800134 latin:horizontalGap="8.479%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900135 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800136 latin:keyStyle="numStarKeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900137 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800138 latin:keyStyle="num0KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900139 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800140 latin:keyStyle="numPoundKeyStyle" />
Tadashi G. Takaoka2ff2a042010-12-07 14:06:32 +0900141 <Key
142 latin:keyStyle="micKeyStyle"
143 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900144 <!-- There is an empty area bellow the "Enter" key and right of the "#" key. To ignore
145 the touch event on the area, "#" is intentionally not marked as a right edge key. -->
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900146 </Row>
147</Keyboard>