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"
|
2011-05-12 05:49:18 +00:00
|
|
|
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
|
|
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
2010-12-08 05:36:41 +00:00
|
|
|
latin:rowHeight="25%p"
|
2011-06-02 12:11:45 +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-02 12:11:45 +00:00
|
|
|
latin:keyWidth="11.172%p"
|
2010-10-08 16:06:26 +00:00
|
|
|
latin:keyEdgeFlags="left" />
|
|
|
|
<Key
|
2011-06-15 03:36:53 +00:00
|
|
|
latin:keyLabel="-"
|
2011-05-30 11:05:50 +00:00
|
|
|
latin:keyXPos="20.400%p"
|
|
|
|
latin:keyWidth="8.047%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2011-06-15 03:36:53 +00:00
|
|
|
latin:keyLabel="+"
|
2011-05-30 11:05:50 +00:00
|
|
|
latin:keyWidth="8.047%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2011-05-30 11:05:50 +00:00
|
|
|
latin:keyStyle="num1KeyStyle"
|
2011-06-02 12:11:45 +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-02 12:11:45 +00:00
|
|
|
latin:keyXPos="-11.172%p"
|
2011-05-30 11:05:50 +00:00
|
|
|
latin:keyWidth="fillRight"
|
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-30 11:05:50 +00:00
|
|
|
latin:keyWidth="11.172%p"
|
2010-10-08 16:06:26 +00:00
|
|
|
latin:keyEdgeFlags="left" />
|
|
|
|
<Key
|
2011-06-15 03:36:53 +00:00
|
|
|
latin:keyLabel=","
|
2011-05-30 11:05:50 +00:00
|
|
|
latin:keyXPos="20.400%p"
|
|
|
|
latin:keyWidth="8.047%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2011-06-15 03:36:53 +00:00
|
|
|
latin:keyLabel="."
|
2011-05-30 11:05:50 +00:00
|
|
|
latin:keyWidth="8.047%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2011-05-30 11:05:50 +00:00
|
|
|
latin:keyStyle="num4KeyStyle"
|
2011-06-02 12:11:45 +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-02 12:11:45 +00:00
|
|
|
latin:keyXPos="-11.172%p"
|
2011-05-30 11:05:50 +00:00
|
|
|
latin:keyWidth="fillRight"
|
2010-10-08 16:06:26 +00:00
|
|
|
latin:keyEdgeFlags="right" />
|
|
|
|
</Row>
|
|
|
|
<Row>
|
2011-05-30 11:05:50 +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
|
2011-06-15 03:36:53 +00:00
|
|
|
latin:keyLabel="("
|
2011-05-30 11:05:50 +00:00
|
|
|
latin:keyXPos="20.400%p"
|
|
|
|
latin:keyWidth="8.047%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2011-06-15 03:36:53 +00:00
|
|
|
latin:keyLabel=")"
|
2011-05-30 11:05:50 +00:00
|
|
|
latin:keyWidth="8.047%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2011-05-30 11:05:50 +00:00
|
|
|
latin:keyStyle="num7KeyStyle"
|
2011-06-02 12:11:45 +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-30 11:05:50 +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. -->
|
|
|
|
</Row>
|
2010-10-08 16:06:26 +00:00
|
|
|
<!-- 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-30 11:05:50 +00:00
|
|
|
latin:keyWidth="8.047%p" />
|
2011-02-23 11:31:08 +00:00
|
|
|
</case>
|
|
|
|
</switch>
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2010-11-24 07:59:56 +00:00
|
|
|
latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
|
2011-05-30 11:05:50 +00:00
|
|
|
latin:keyXPos="20.400%p"
|
2011-01-18 05:08:40 +00:00
|
|
|
latin:keyWidth="16.084%p" />
|
2010-10-08 16:06:26 +00:00
|
|
|
<Key
|
2011-05-30 11:05:50 +00:00
|
|
|
latin:keyStyle="numStarKeyStyle"
|
2011-06-02 12:11:45 +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-30 11:05:50 +00:00
|
|
|
latin:keyXPos="-8.047%p"
|
|
|
|
latin:keyWidth="fillRight" />
|
2011-01-13 04:43:39 +00:00
|
|
|
</case>
|
|
|
|
</switch>
|
2010-10-08 16:06:26 +00:00
|
|
|
</Row>
|
|
|
|
</Keyboard>
|