blob: 483b022a52ff230e86c7403f5dc03c05b320ddd5 [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"
68 latin:keyLabelOption="alignLeft"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090069 latin:keyEdgeFlags="left" />
70 <!-- To match one character label size with "More", I placed spaces around the char ','
71 and '.'. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090072 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080073 latin:horizontalGap="8.470%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090074 <Key
75 latin:codes="44"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080076 latin:keyLabel=" , "
77 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090078 <Key
79 latin:codes="46"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080080 latin:keyLabel=" . "
81 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090082 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080083 latin:horizontalGap="8.479%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090084 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080085 latin:keyStyle="num4KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090086 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080087 latin:keyStyle="num5KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090088 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080089 latin:keyStyle="num6KeyStyle" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090090 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080091 latin:horizontalGap="4.458%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090092 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080093 latin:keyStyle="returnKeyStyle"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080094 latin:keyWidth="14.706%p"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090095 latin:keyEdgeFlags="right" />
96 </Row>
97 <Row>
98 <!-- To match one character label size with "More", I placed spaces around the char '('
99 and ')'. -->
100 <!-- There is an empty area bellow the "More" key and left of the "(" key. To ignore
101 the touch event on the area, "(" is intentionally not marked as a left edge key. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900102 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800103 latin:horizontalGap="20.427%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900104 <Key
105 latin:codes="40"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800106 latin:keyLabel=" ( "
107 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900108 <Key
109 latin:codes="41"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800110 latin:keyLabel=" ) "
111 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900112 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800113 latin:horizontalGap="8.479%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900114 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800115 latin:keyStyle="num7KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900116 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800117 latin:keyStyle="num8KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900118 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800119 latin:keyStyle="num9KeyStyle" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900120 <!-- There is an empty area bellow the "Enter" key and right of the "9" key. To ignore
121 the touch event on the area, "9" is intentionally not marked as a right edge key. -->
122 </Row>
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900123 <!-- This row is intentionally not marked as a bottom row -->
124 <Row>
125 <!-- There is an empty area bellow the "More" key and left of the "space" key. To ignore
126 the touch event on the area, "space" is intentionally not marked as a left edge key. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900127 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800128 latin:horizontalGap="20.427%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900129 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800130 latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800131 latin:keyWidth="16.085%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900132 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800133 latin:horizontalGap="8.479%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900134 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800135 latin:keyStyle="numStarKeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900136 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800137 latin:keyStyle="num0KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900138 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800139 latin:keyStyle="numPoundKeyStyle" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900140 <!-- There is an empty area bellow the "Enter" key and right of the "#" key. To ignore
141 the touch event on the area, "#" is intentionally not marked as a right edge key. -->
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900142 </Row>
143</Keyboard>