blob: 66f6020680f22ae4987e1682289d6b07690d940b [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. Takaoka9b6d1d52010-12-14 15:31:47 +090029 latin:popupKeyboardTemplate="@xml/kbd_popup_template"
30 latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090031>
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080032 <include
33 latin:keyboardLayout="@xml/kbd_key_styles" />
34 <include
35 latin:keyboardLayout="@xml/kbd_numkey_styles" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090036 <!-- This row is intentionally not marked as a top row -->
37 <Row>
38 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080039 latin:keyStyle="tabKeyStyle"
40 latin:keyLabelOption="alignLeft"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090041 latin:keyEdgeFlags="left" />
42 <!-- To match one character label size with "Tab", I placed spaces around the char '-'
43 and '+'. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090044 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080045 latin:horizontalGap="8.470%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090046 <Key
47 latin:codes="45"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080048 latin:keyLabel=" - "
49 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090050 <Key
51 latin:codes="43"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080052 latin:keyLabel=" + "
53 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090054 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080055 latin:horizontalGap="8.479%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090056 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080057 latin:keyStyle="num1KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090058 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080059 latin:keyStyle="num2KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090060 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080061 latin:keyStyle="num3KeyStyle" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090062 <Spacer
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080063 latin:horizontalGap="9.360%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090064 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080065 latin:keyStyle="deleteKeyStyle"
66 latin:keyWidth="9.804%p"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090067 latin:keyEdgeFlags="right" />
68 </Row>
69 <Row>
70 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080071 latin:keyStyle="moreKeyStyle"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090072 latin:keyEdgeFlags="left" />
73 <!-- To match one character label size with "More", I placed spaces around the char ','
74 and '.'. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090075 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080076 latin:horizontalGap="8.470%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090077 <Key
78 latin:codes="44"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080079 latin:keyLabel=" , "
80 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090081 <Key
82 latin:codes="46"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080083 latin:keyLabel=" . "
84 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090085 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080086 latin:horizontalGap="8.479%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090087 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080088 latin:keyStyle="num4KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090089 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080090 latin:keyStyle="num5KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090091 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080092 latin:keyStyle="num6KeyStyle" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090093 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080094 latin:horizontalGap="4.458%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090095 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080096 latin:keyStyle="returnKeyStyle"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080097 latin:keyWidth="14.706%p"
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090098 latin:keyEdgeFlags="right" />
99 </Row>
100 <Row>
101 <!-- To match one character label size with "More", I placed spaces around the char '('
102 and ')'. -->
103 <!-- There is an empty area bellow the "More" key and left of the "(" key. To ignore
104 the touch event on the area, "(" is intentionally not marked as a left edge key. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900105 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800106 latin:horizontalGap="20.427%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900107 <Key
108 latin:codes="40"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800109 latin:keyLabel=" ( "
110 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900111 <Key
112 latin:codes="41"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800113 latin:keyLabel=" ) "
114 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900115 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800116 latin:horizontalGap="8.479%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900117 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800118 latin:keyStyle="num7KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900119 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800120 latin:keyStyle="num8KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900121 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800122 latin:keyStyle="num9KeyStyle" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900123 <!-- There is an empty area bellow the "Enter" key and right of the "9" key. To ignore
124 the touch event on the area, "9" is intentionally not marked as a right edge key. -->
125 </Row>
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900126 <!-- This row is intentionally not marked as a bottom row -->
127 <Row>
128 <!-- There is an empty area bellow the "More" key and left of the "space" key. To ignore
129 the touch event on the area, "space" is intentionally not marked as a left edge key. -->
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900130 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800131 latin:horizontalGap="20.427%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900132 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800133 latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800134 latin:keyWidth="16.085%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900135 <Spacer
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800136 latin:horizontalGap="8.479%p" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900137 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800138 latin:keyStyle="numStarKeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900139 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800140 latin:keyStyle="num0KeyStyle" />
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900141 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800142 latin:keyStyle="numPoundKeyStyle" />
Tadashi G. Takaoka2ff2a042010-12-07 14:06:32 +0900143 <Key
144 latin:keyStyle="micKeyStyle"
145 latin:keyWidth="8.042%p" />
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900146 <!-- There is an empty area bellow the "Enter" key and right of the "#" key. To ignore
147 the touch event on the area, "#" is intentionally not marked as a right edge key. -->
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +0900148 </Row>
149</Keyboard>