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"
|
2011-06-01 07:16:57 +00:00
|
|
|
latin:keyWidth="13.250%p"
|
2010-10-19 08:08:54 +00:00
|
|
|
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
|
|
latin:verticalGap="@dimen/key_bottom_gap"
|
2010-12-14 06:31:47 +00:00
|
|
|
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
|
|
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
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"
|
2011-06-01 07:16:57 +00:00
|
|
|
latin:keyWidth="11.172%p"
|
2010-10-08 16:06:26 +00:00
|
|
|
latin:keyEdgeFlags="left" />
|
|
|
|
<Key
|
2010-12-20 11:30:26 +00:00
|
|
|
latin:code="45"
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:keyLabel=" - "
|
2011-05-26 17:38:11 +00:00
|
|
|
latin:keyXPos="13.829%p"
|
|
|
|
latin:keyWidth="8.047%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2010-12-20 11:30:26 +00:00
|
|
|
latin:code="43"
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:keyLabel=" + "
|
2011-05-26 17:38:11 +00:00
|
|
|
latin:keyWidth="8.047%p" />
|
2010-11-08 22:32:47 +00:00
|
|
|
<Key
|
2010-12-20 11:30:26 +00:00
|
|
|
latin:code="44"
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:keyLabel="@string/label_pause_key"
|
2011-05-26 17:38:11 +00:00
|
|
|
latin:keyWidth="8.047%p" />
|
2010-11-08 22:32:47 +00:00
|
|
|
<!-- To match one character label size with "Tab" and "Pause, I placed spaces around the
|
|
|
|
char '-' and '+'. -->
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2011-05-26 17:38:11 +00:00
|
|
|
latin:keyStyle="num1KeyStyle"
|
2011-06-01 07:16:57 +00:00
|
|
|
latin:keyXPos="43.125%p" />
|
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-08 16:06:26 +00:00
|
|
|
<Key
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:keyStyle="deleteKeyStyle"
|
2011-06-01 07:16:57 +00:00
|
|
|
latin:keyXPos="-11.172%p"
|
2011-05-26 17:38:11 +00:00
|
|
|
latin:keyWidth="0%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"
|
2011-05-26 17:38:11 +00:00
|
|
|
latin:keyWidth="11.172%p"
|
2010-10-08 16:06:26 +00:00
|
|
|
latin:keyEdgeFlags="left" />
|
|
|
|
<Key
|
2010-12-20 11:30:26 +00:00
|
|
|
latin:code="44"
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:keyLabel=" , "
|
2011-05-26 17:38:11 +00:00
|
|
|
latin:keyXPos="13.829%p"
|
|
|
|
latin:keyWidth="8.047%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2010-12-20 11:30:26 +00:00
|
|
|
latin:code="46"
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:keyLabel=" . "
|
2011-05-26 17:38:11 +00:00
|
|
|
latin:keyWidth="8.047%p" />
|
2010-11-08 22:32:47 +00:00
|
|
|
<Key
|
2010-12-20 11:30:26 +00:00
|
|
|
latin:code="59"
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:keyLabel="@string/label_wait_key"
|
2011-05-26 17:38:11 +00:00
|
|
|
latin:keyWidth="8.047%p" />
|
2010-11-08 22:32:47 +00:00
|
|
|
<!-- To match one character label size with "More" and "Wait", I placed spaces around the
|
|
|
|
char ',' and '.'. -->
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2011-05-26 17:38:11 +00:00
|
|
|
latin:keyStyle="num4KeyStyle"
|
2011-06-01 07:16:57 +00:00
|
|
|
latin:keyXPos="43.125%p" />
|
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-08 16:06:26 +00:00
|
|
|
<Key
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:keyStyle="returnKeyStyle"
|
2011-06-01 07:16:57 +00:00
|
|
|
latin:keyXPos="-11.172%p"
|
2011-05-26 17:38:11 +00:00
|
|
|
latin:keyWidth="0%p"
|
2010-10-08 16:06:26 +00:00
|
|
|
latin:keyEdgeFlags="right" />
|
|
|
|
</Row>
|
|
|
|
<Row>
|
|
|
|
<!-- To match one character label size with "More" and etc., I placed spaces around the
|
|
|
|
char 'N', '(' and ')'. -->
|
2011-05-26 12:14:17 +00:00
|
|
|
<!-- There is an empty area below the "More" key and left of the "(" key. To ignore
|
2010-10-08 16:06:26 +00:00
|
|
|
the touch event on the area, "(" is intentionally not marked as a left edge key. -->
|
|
|
|
<Key
|
2010-12-20 11:30:26 +00:00
|
|
|
latin:code="40"
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:keyLabel=" ( "
|
2011-05-26 17:38:11 +00:00
|
|
|
latin:keyXPos="13.829%p"
|
|
|
|
latin:keyWidth="8.047%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2010-12-20 11:30:26 +00:00
|
|
|
latin:code="41"
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:keyLabel=" ) "
|
2011-05-26 17:38:11 +00:00
|
|
|
latin:keyWidth="8.047%p" />
|
2010-11-08 22:32:47 +00:00
|
|
|
<Key
|
2010-12-20 11:30:26 +00:00
|
|
|
latin:code="78"
|
2010-11-21 00:17:04 +00:00
|
|
|
latin:keyLabel=" N "
|
2011-05-26 17:38:11 +00:00
|
|
|
latin:keyWidth="8.047%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2011-05-26 17:38:11 +00:00
|
|
|
latin:keyStyle="num7KeyStyle"
|
2011-06-01 07:16:57 +00:00
|
|
|
latin:keyXPos="43.125%p" />
|
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" />
|
2011-05-26 12:14:17 +00:00
|
|
|
<!-- There is an empty area below the "Enter" key and right of the "9" key. To ignore
|
2010-10-19 08:08:54 +00:00
|
|
|
the touch event on the area, "9" is intentionally not marked as a right edge key. -->
|
2010-10-08 16:06:26 +00:00
|
|
|
</Row>
|
|
|
|
<!-- This row is intentionally not marked as a bottom row -->
|
|
|
|
<Row>
|
2011-02-23 11:31:08 +00:00
|
|
|
<switch>
|
|
|
|
<case latin:hasSettingsKey="true">
|
|
|
|
<Key
|
|
|
|
latin:keyStyle="settingsKeyStyle"
|
2011-05-26 17:38:11 +00:00
|
|
|
latin:keyWidth="8.047%p" />
|
2011-02-23 11:31:08 +00:00
|
|
|
</case>
|
|
|
|
<default>
|
|
|
|
<Spacer
|
2011-05-26 17:38:11 +00:00
|
|
|
latin:keyWidth="8.047%p" />
|
2011-02-23 11:31:08 +00:00
|
|
|
</default>
|
|
|
|
</switch>
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
|
2011-05-26 17:38:11 +00:00
|
|
|
latin:keyXPos="13.829%p"
|
|
|
|
latin:keyWidth="24.14%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2011-05-26 17:38:11 +00:00
|
|
|
latin:keyStyle="numStarKeyStyle"
|
2011-06-01 07:16:57 +00:00
|
|
|
latin:keyXPos="43.125%p" />
|
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" />
|
2011-01-13 04:43:39 +00:00
|
|
|
<switch>
|
|
|
|
<case
|
|
|
|
latin:voiceKeyEnabled="true"
|
|
|
|
>
|
|
|
|
<Key
|
|
|
|
latin:keyStyle="micKeyStyle"
|
2011-05-26 17:38:11 +00:00
|
|
|
latin:keyXPos="-8.047%p"
|
|
|
|
latin:keyWidth="0%p" />
|
2011-01-13 04:43:39 +00:00
|
|
|
</case>
|
|
|
|
</switch>
|
2010-10-08 16:06:26 +00:00
|
|
|
</Row>
|
|
|
|
</Keyboard>
|