1 <?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 <merge 22 xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" 23 > 24 <key-style 25 latin:styleName="numKeyBaseStyle" 26 latin:keyActionFlags="noKeyPreview" /> 27 <key-style 28 latin:styleName="numKeyStyle" 29 latin:keyLabelFlags="followKeyLargeLetterRatio" 30 latin:parentStyle="numKeyBaseStyle" /> 31 <key-style 32 latin:styleName="numModeKeyStyle" 33 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" 34 latin:parentStyle="numKeyBaseStyle" /> 35 <key-style 36 latin:styleName="numFunctionalKeyStyle" 37 latin:keyLabelFlags="followKeyLargeLetterRatio" 38 latin:backgroundType="functional" 39 latin:parentStyle="numKeyBaseStyle" /> 40 <key-style 41 latin:styleName="numberKeyStyle" 42 latin:keyLabelFlags="alignLeftOfCenter|hasHintLabel" 43 latin:parentStyle="numKeyStyle" /> 44 <key-style 45 latin:styleName="num0KeyStyle" 46 latin:keyLabel="0" 47 latin:parentStyle="numberKeyStyle" /> 48 <key-style 49 latin:styleName="num1KeyStyle" 50 latin:keyLabel="1" 51 latin:parentStyle="numberKeyStyle" /> 52 <key-style 53 latin:styleName="num2KeyStyle" 54 latin:keyLabel="2" 55 latin:keyHintLabel="ABC" 56 latin:parentStyle="numberKeyStyle" /> 57 <key-style 58 latin:styleName="num3KeyStyle" 59 latin:keyLabel="3" 60 latin:keyHintLabel="DEF" 61 latin:parentStyle="numberKeyStyle" /> 62 <key-style 63 latin:styleName="num4KeyStyle" 64 latin:keyLabel="4" 65 latin:keyHintLabel="GHI" 66 latin:parentStyle="numberKeyStyle" /> 67 <key-style 68 latin:styleName="num5KeyStyle" 69 latin:keyLabel="5" 70 latin:keyHintLabel="JKL" 71 latin:parentStyle="numberKeyStyle" /> 72 <key-style 73 latin:styleName="num6KeyStyle" 74 latin:keyLabel="6" 75 latin:keyHintLabel="MNO" 76 latin:parentStyle="numberKeyStyle" /> 77 <key-style 78 latin:styleName="num7KeyStyle" 79 latin:keyLabel="7" 80 latin:keyHintLabel="PQRS" 81 latin:parentStyle="numberKeyStyle" /> 82 <key-style 83 latin:styleName="num8KeyStyle" 84 latin:keyLabel="8" 85 latin:keyHintLabel="TUV" 86 latin:parentStyle="numberKeyStyle" /> 87 <key-style 88 latin:styleName="num9KeyStyle" 89 latin:keyLabel="9" 90 latin:keyHintLabel="WXYZ" 91 latin:parentStyle="numberKeyStyle" /> 92 <!-- U+002A: "*" ASTERISK 93 U+FF0A: "" FULLWIDTH ASTERISK --> 94 <key-style 95 latin:styleName="numStarKeyStyle" 96 latin:code="0x002A" 97 latin:keyLabel="*" 98 latin:parentStyle="numKeyStyle" /> 99 <!-- Only for non-tablet device --> 100 <key-style 101 latin:styleName="numPhoneToSymbolKeyStyle" 102 latin:code="!code/key_switch_alpha_symbol" 103 latin:keyLabel="!text/label_to_phone_symbols_key" 104 latin:parentStyle="numModeKeyStyle" /> 105 <key-style 106 latin:styleName="numPhoneToNumericKeyStyle" 107 latin:code="!code/key_switch_alpha_symbol" 108 latin:keyLabel="!text/label_to_phone_numeric_key" 109 latin:parentStyle="numModeKeyStyle" /> 110 <!-- U+002C: "," COMMA --> 111 <key-style 112 latin:styleName="numPauseKeyStyle" 113 latin:code="0x002C" 114 latin:keyLabel="!text/label_pause_key" 115 latin:keyLabelFlags="followKeyHintLabelRatio|autoXScale" 116 latin:parentStyle="numKeyBaseStyle" /> 117 <!-- U+003B: ";" SEMICOLON --> 118 <key-style 119 latin:styleName="numWaitKeyStyle" 120 latin:code="0x003B" 121 latin:keyLabel="!text/label_wait_key" 122 latin:keyLabelFlags="followKeyHintLabelRatio|autoXScale" 123 latin:parentStyle="numKeyBaseStyle" /> 124 <key-style 125 latin:styleName="numTabKeyStyle" 126 latin:keyActionFlags="noKeyPreview" 127 latin:parentStyle="tabKeyStyle" /> 128 <key-style 129 latin:styleName="numSpaceKeyStyle" 130 latin:code="!code/key_space" 131 latin:keyIcon="!icon/space_key_for_number_layout" 132 latin:keyActionFlags="enableLongPress" 133 latin:parentStyle="numKeyBaseStyle" /> 134 <!-- Override defaultEnterKeyStyle in key_styles_enter.xml --> 135 <key-style 136 latin:styleName="defaultEnterKeyStyle" 137 latin:code="!code/key_enter" 138 latin:keyIcon="!icon/enter_key" 139 latin:keyLabelFlags="preserveCase|autoXScale|followKeyLargeLabelRatio" 140 latin:keyActionFlags="noKeyPreview" 141 latin:backgroundType="functional" 142 latin:parentStyle="navigateMoreKeysStyle" /> 143 </merge> 144