9c739939a3
Change-Id: I50e79bbb1f2eab33c7e5a76086bbe41f7e757ada
143 lines
5.1 KiB
XML
143 lines
5.1 KiB
XML
<?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.
|
||
*/
|
||
-->
|
||
|
||
<merge
|
||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||
>
|
||
<key-style
|
||
latin:styleName="numKeyBaseStyle"
|
||
latin:keyActionFlags="noKeyPreview" />
|
||
<key-style
|
||
latin:styleName="numKeyStyle"
|
||
latin:keyLabelFlags="followKeyLargeLetterRatio"
|
||
latin:parentStyle="numKeyBaseStyle" />
|
||
<key-style
|
||
latin:styleName="numModeKeyStyle"
|
||
latin:keyLabelFlags="fontNormal|followKeyLetterRatio"
|
||
latin:parentStyle="numKeyBaseStyle" />
|
||
<key-style
|
||
latin:styleName="numFunctionalKeyStyle"
|
||
latin:keyLabelFlags="followKeyLargeLetterRatio"
|
||
latin:backgroundType="functional"
|
||
latin:parentStyle="numKeyBaseStyle" />
|
||
<key-style
|
||
latin:styleName="numberKeyStyle"
|
||
latin:keyLabelFlags="alignLeftOfCenter|hasHintLabel"
|
||
latin:parentStyle="numKeyStyle" />
|
||
<key-style
|
||
latin:styleName="num0KeyStyle"
|
||
latin:keyLabel="0"
|
||
latin:parentStyle="numberKeyStyle" />
|
||
<key-style
|
||
latin:styleName="num1KeyStyle"
|
||
latin:keyLabel="1"
|
||
latin:parentStyle="numberKeyStyle" />
|
||
<key-style
|
||
latin:styleName="num2KeyStyle"
|
||
latin:keyLabel="2"
|
||
latin:keyHintLabel="ABC"
|
||
latin:parentStyle="numberKeyStyle" />
|
||
<key-style
|
||
latin:styleName="num3KeyStyle"
|
||
latin:keyLabel="3"
|
||
latin:keyHintLabel="DEF"
|
||
latin:parentStyle="numberKeyStyle" />
|
||
<key-style
|
||
latin:styleName="num4KeyStyle"
|
||
latin:keyLabel="4"
|
||
latin:keyHintLabel="GHI"
|
||
latin:parentStyle="numberKeyStyle" />
|
||
<key-style
|
||
latin:styleName="num5KeyStyle"
|
||
latin:keyLabel="5"
|
||
latin:keyHintLabel="JKL"
|
||
latin:parentStyle="numberKeyStyle" />
|
||
<key-style
|
||
latin:styleName="num6KeyStyle"
|
||
latin:keyLabel="6"
|
||
latin:keyHintLabel="MNO"
|
||
latin:parentStyle="numberKeyStyle" />
|
||
<key-style
|
||
latin:styleName="num7KeyStyle"
|
||
latin:keyLabel="7"
|
||
latin:keyHintLabel="PQRS"
|
||
latin:parentStyle="numberKeyStyle" />
|
||
<key-style
|
||
latin:styleName="num8KeyStyle"
|
||
latin:keyLabel="8"
|
||
latin:keyHintLabel="TUV"
|
||
latin:parentStyle="numberKeyStyle" />
|
||
<key-style
|
||
latin:styleName="num9KeyStyle"
|
||
latin:keyLabel="9"
|
||
latin:keyHintLabel="WXYZ"
|
||
latin:parentStyle="numberKeyStyle" />
|
||
<!-- U+002A: "*" ASTERISK
|
||
U+FF0A: "*" FULLWIDTH ASTERISK -->
|
||
<key-style
|
||
latin:styleName="numStarKeyStyle"
|
||
latin:code="0x002A"
|
||
latin:keyLabel="*"
|
||
latin:parentStyle="numKeyStyle" />
|
||
<!-- Only for non-tablet device -->
|
||
<key-style
|
||
latin:styleName="numPhoneToSymbolKeyStyle"
|
||
latin:code="!code/key_switch_alpha_symbol"
|
||
latin:keyLabel="!text/label_to_phone_symbols_key"
|
||
latin:parentStyle="numModeKeyStyle" />
|
||
<key-style
|
||
latin:styleName="numPhoneToNumericKeyStyle"
|
||
latin:code="!code/key_switch_alpha_symbol"
|
||
latin:keyLabel="!text/label_to_phone_numeric_key"
|
||
latin:parentStyle="numModeKeyStyle" />
|
||
<!-- U+002C: "," COMMA -->
|
||
<key-style
|
||
latin:styleName="numPauseKeyStyle"
|
||
latin:code="0x002C"
|
||
latin:keyLabel="!text/label_pause_key"
|
||
latin:keyLabelFlags="followKeyHintLabelRatio|autoXScale"
|
||
latin:parentStyle="numKeyBaseStyle" />
|
||
<!-- U+003B: ";" SEMICOLON -->
|
||
<key-style
|
||
latin:styleName="numWaitKeyStyle"
|
||
latin:code="0x003B"
|
||
latin:keyLabel="!text/label_wait_key"
|
||
latin:keyLabelFlags="followKeyHintLabelRatio|autoXScale"
|
||
latin:parentStyle="numKeyBaseStyle" />
|
||
<key-style
|
||
latin:styleName="numTabKeyStyle"
|
||
latin:keyActionFlags="noKeyPreview"
|
||
latin:parentStyle="tabKeyStyle" />
|
||
<key-style
|
||
latin:styleName="numSpaceKeyStyle"
|
||
latin:code="!code/key_space"
|
||
latin:keyIcon="!icon/space_key_for_number_layout"
|
||
latin:keyActionFlags="enableLongPress"
|
||
latin:parentStyle="numKeyBaseStyle" />
|
||
<!-- Override defaultEnterKeyStyle in key_styles_enter.xml -->
|
||
<key-style
|
||
latin:styleName="defaultEnterKeyStyle"
|
||
latin:code="!code/key_enter"
|
||
latin:keyIcon="!icon/enter_key"
|
||
latin:keyLabelFlags="preserveCase|autoXScale|followKeyLargeLabelRatio"
|
||
latin:keyActionFlags="noKeyPreview"
|
||
latin:backgroundType="functional"
|
||
latin:parentStyle="navigateMoreKeysStyle" />
|
||
</merge>
|