2010-10-08 16:06:26 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
/*
|
|
|
|
**
|
|
|
|
** Copyright 2010, The Android Open Source Project
|
|
|
|
**
|
|
|
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
** you may not use this file except in compliance with the License.
|
|
|
|
** You may obtain a copy of the License at
|
|
|
|
**
|
|
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
**
|
|
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
** See the License for the specific language governing permissions and
|
|
|
|
** limitations under the License.
|
|
|
|
*/
|
|
|
|
-->
|
|
|
|
|
|
|
|
<Keyboard
|
|
|
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
2010-12-08 05:36:41 +00:00
|
|
|
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
|
|
latin:maxKeyboardHeight="50%p"
|
|
|
|
latin:rowHeight="25%p"
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:keyWidth="11.949%p"
|
2010-10-19 08:08:54 +00:00
|
|
|
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
|
|
latin:verticalGap="@dimen/key_bottom_gap"
|
2010-10-08 16:06:26 +00:00
|
|
|
>
|
2010-11-24 07:59:56 +00:00
|
|
|
<include
|
|
|
|
latin:keyboardLayout="@xml/kbd_key_styles" />
|
|
|
|
<include
|
|
|
|
latin:keyboardLayout="@xml/kbd_numkey_styles" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<!-- This row is intentionally not marked as a top row -->
|
|
|
|
<Row>
|
|
|
|
<Key
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:keyStyle="tabKeyStyle"
|
|
|
|
latin:keyLabelOption="alignLeft"
|
2010-10-08 16:06:26 +00:00
|
|
|
latin:keyEdgeFlags="left" />
|
|
|
|
<!-- To match one character label size with "Tab", I placed spaces around the char '-'
|
|
|
|
and '+'. -->
|
2010-10-19 08:08:54 +00:00
|
|
|
<Spacer
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:horizontalGap="8.470%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
|
|
|
latin:codes="45"
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:keyLabel=" - "
|
|
|
|
latin:keyWidth="8.042%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
|
|
|
latin:codes="43"
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:keyLabel=" + "
|
|
|
|
latin:keyWidth="8.042%p" />
|
2010-10-19 08:08:54 +00:00
|
|
|
<Spacer
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:horizontalGap="8.479%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:keyStyle="num1KeyStyle" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:keyStyle="num2KeyStyle" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:keyStyle="num3KeyStyle" />
|
2010-10-19 08:08:54 +00:00
|
|
|
<Spacer
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:horizontalGap="9.360%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:keyStyle="deleteKeyStyle"
|
|
|
|
latin:keyWidth="9.804%p"
|
2010-10-08 16:06:26 +00:00
|
|
|
latin:keyEdgeFlags="right" />
|
|
|
|
</Row>
|
|
|
|
<Row>
|
|
|
|
<Key
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:keyStyle="moreKeyStyle"
|
2010-10-08 16:06:26 +00:00
|
|
|
latin:keyEdgeFlags="left" />
|
|
|
|
<!-- To match one character label size with "More", I placed spaces around the char ','
|
|
|
|
and '.'. -->
|
2010-10-19 08:08:54 +00:00
|
|
|
<Spacer
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:horizontalGap="8.470%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
|
|
|
latin:codes="44"
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:keyLabel=" , "
|
|
|
|
latin:keyWidth="8.042%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
|
|
|
latin:codes="46"
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:keyLabel=" . "
|
|
|
|
latin:keyWidth="8.042%p" />
|
2010-10-19 08:08:54 +00:00
|
|
|
<Spacer
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:horizontalGap="8.479%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:keyStyle="num4KeyStyle" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:keyStyle="num5KeyStyle" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:keyStyle="num6KeyStyle" />
|
2010-10-19 08:08:54 +00:00
|
|
|
<Spacer
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:horizontalGap="4.458%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:keyStyle="returnKeyStyle"
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:keyWidth="14.706%p"
|
2010-10-08 16:06:26 +00:00
|
|
|
latin:keyEdgeFlags="right" />
|
|
|
|
</Row>
|
|
|
|
<Row>
|
|
|
|
<!-- To match one character label size with "More", I placed spaces around the char '('
|
|
|
|
and ')'. -->
|
|
|
|
<!-- There is an empty area bellow the "More" key and left of the "(" key. To ignore
|
|
|
|
the touch event on the area, "(" is intentionally not marked as a left edge key. -->
|
2010-10-19 08:08:54 +00:00
|
|
|
<Spacer
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:horizontalGap="20.427%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
|
|
|
latin:codes="40"
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:keyLabel=" ( "
|
|
|
|
latin:keyWidth="8.042%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
|
|
|
latin:codes="41"
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:keyLabel=" ) "
|
|
|
|
latin:keyWidth="8.042%p" />
|
2010-10-19 08:08:54 +00:00
|
|
|
<Spacer
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:horizontalGap="8.479%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:keyStyle="num7KeyStyle" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:keyStyle="num8KeyStyle" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:keyStyle="num9KeyStyle" />
|
2010-10-19 08:08:54 +00:00
|
|
|
<!-- There is an empty area bellow the "Enter" key and right of the "9" key. To ignore
|
|
|
|
the touch event on the area, "9" is intentionally not marked as a right edge key. -->
|
|
|
|
</Row>
|
2010-10-08 16:06:26 +00:00
|
|
|
<!-- This row is intentionally not marked as a bottom row -->
|
|
|
|
<Row>
|
|
|
|
<!-- There is an empty area bellow the "More" key and left of the "space" key. To ignore
|
|
|
|
the touch event on the area, "space" is intentionally not marked as a left edge key. -->
|
2010-10-19 08:08:54 +00:00
|
|
|
<Spacer
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:horizontalGap="20.427%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:keyWidth="16.085%p" />
|
2010-10-19 08:08:54 +00:00
|
|
|
<Spacer
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:horizontalGap="8.479%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:keyStyle="numStarKeyStyle" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:keyStyle="num0KeyStyle" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:keyStyle="numPoundKeyStyle" />
|
2010-12-07 05:06:32 +00:00
|
|
|
<Key
|
|
|
|
latin:keyStyle="micKeyStyle"
|
|
|
|
latin:keyWidth="8.042%p" />
|
2010-10-19 08:08:54 +00:00
|
|
|
<!-- There is an empty area bellow the "Enter" key and right of the "#" key. To ignore
|
|
|
|
the touch event on the area, "#" is intentionally not marked as a right edge key. -->
|
2010-10-08 16:06:26 +00:00
|
|
|
</Row>
|
|
|
|
</Keyboard>
|