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 <resources> 22 <declare-styleable name="KeyboardTheme"> 23 <!-- Keyboard style --> 24 <attr name="keyboardStyle" format="reference" /> 25 <!-- KeyboardView style --> 26 <attr name="keyboardViewStyle" format="reference" /> 27 <!-- MainKeyboardView style --> 28 <attr name="mainKeyboardViewStyle" format="reference" /> 29 <!-- EmojiPalettesView style --> 30 <attr name="emojiPalettesViewStyle" format="reference" /> 31 <!-- MoreKeysKeyboard style --> 32 <attr name="moreKeysKeyboardStyle" format="reference" /> 33 <!-- MoreKeysKeyboardView style --> 34 <attr name="moreKeysKeyboardViewStyle" format="reference" /> 35 <!-- MoreKeysKeyboardView container style --> 36 <attr name="moreKeysKeyboardContainerStyle" format="reference" /> 37 <!-- Suggestions strip style --> 38 <attr name="suggestionStripViewStyle" format="reference" /> 39 <!-- Suggestion word style --> 40 <attr name="suggestionWordStyle" format="reference" /> 41 </declare-styleable> 42 43 <declare-styleable name="KeyboardView"> 44 <!-- Image for the key. This image needs to be a StateListDrawable, with the following 45 possible states: normal, pressed, checkable, checkable+pressed, checkable+checked, 46 checkable+checked+pressed. --> 47 <attr name="keyBackground" format="reference" /> 48 <!-- Image for the functional key used in Emoji layout. --> 49 <attr name="keyBackgroundEmojiFunctional" format="reference" /> 50 51 <!-- Horizontal padding of left/right aligned key label to the edge of the key. --> 52 <attr name="keyLabelHorizontalPadding" format="dimension" /> 53 <!-- Right padding of hint letter to the edge of the key.--> 54 <attr name="keyHintLetterPadding" format="dimension" /> 55 <!-- Bottom padding of popup hint letter "..." to the edge of the key.--> 56 <attr name="keyPopupHintLetterPadding" format="dimension" /> 57 <!-- Right padding of shifted letter hint to the edge of the key.--> 58 <attr name="keyShiftedLetterHintPadding" format="dimension" /> 59 <!-- Blur radius of key text shadow. --> 60 <attr name="keyTextShadowRadius" format="float" /> 61 62 <!-- Key preview background states --> 63 <attr name="state_left_edge" format="boolean" /> 64 <attr name="state_right_edge" format="boolean" /> 65 <attr name="state_has_morekeys" format="boolean" /> 66 67 <!-- Amount to offset the touch Y coordinate by, for bias correction. --> 68 <attr name="verticalCorrection" format="dimension" /> 69 </declare-styleable> 70 71 <declare-styleable name="MainKeyboardView"> 72 <attr name="autoCorrectionSpacebarLedEnabled" format="boolean" /> 73 <attr name="autoCorrectionSpacebarLedIcon" format="reference" /> 74 <!-- Size of the text for spacebar language label, in the proportion of key height. --> 75 <attr name="spacebarTextRatio" format="fraction" /> 76 <attr name="spacebarTextColor" format="color" /> 77 <attr name="spacebarTextShadowColor" format="color" /> 78 <!-- Fadeout animator for spacebar language label. --> 79 <attr name="languageOnSpacebarFinalAlpha" format="integer" /> 80 <attr name="languageOnSpacebarFadeoutAnimator" format="reference" /> 81 <!-- Fadeout and fadein animator for altCodeWhileTyping keys. --> 82 <attr name="altCodeKeyWhileTypingFadeoutAnimator" format="reference" /> 83 <attr name="altCodeKeyWhileTypingFadeinAnimator" format="reference" /> 84 <!-- Key detection hysteresis distance. --> 85 <attr name="keyHysteresisDistance" format="dimension" /> 86 <!-- Key detection hysteresis distance for shift/symbols sliding input. --> 87 <attr name="keyHysteresisDistanceForSlidingModifier" format="dimension" /> 88 <!-- Touch noise threshold time in millisecond --> 89 <attr name="touchNoiseThresholdTime" format="integer" /> 90 <!-- Touch noise threshold distance in millimeter --> 91 <attr name="touchNoiseThresholdDistance" format="dimension" /> 92 <!-- Sliding key input enable --> 93 <attr name="slidingKeyInputEnable" format="boolean" /> 94 <attr name="slidingKeyInputPreviewColor" format="color" /> 95 <attr name="slidingKeyInputPreviewWidth" format="dimension" /> 96 <attr name="slidingKeyInputPreviewBodyRatio" format="integer" /> 97 <attr name="slidingKeyInputPreviewShadowRatio" format="integer" /> 98 <!-- Key repeat start timeout --> 99 <attr name="keyRepeatStartTimeout" format="integer" /> 100 <!-- Key repeat interval in millisecond. --> 101 <attr name="keyRepeatInterval" format="integer" /> 102 <!-- Long press timeout of shift key to shift lock in millisecond. --> 103 <attr name="longPressShiftLockTimeout" format="integer" /> 104 <!-- Ignore special key timeout while typing in millisecond. --> 105 <attr name="ignoreAltCodeKeyTimeout" format="integer" /> 106 <!-- Layout resource for key press feedback.--> 107 <attr name="keyPreviewLayout" format="reference" /> 108 <!-- Vertical offset of the key press feedback from the key. --> 109 <attr name="keyPreviewOffset" format="dimension" /> 110 <!-- Height of the key press feedback popup. --> 111 <attr name="keyPreviewHeight" format="dimension" /> 112 <!-- Delay after key releasing and key press feedback dismissing in millisecond --> 113 <attr name="keyPreviewLingerTimeout" format="integer" /> 114 <!-- Layout resource for more keys keyboard --> 115 <attr name="moreKeysKeyboardLayout" format="reference" /> 116 <attr name="backgroundDimAlpha" format="integer" /> 117 <!-- More keys keyboard will shown at touched point. --> 118 <attr name="showMoreKeysKeyboardAtTouchedPoint" format="boolean" /> 119 <!-- Minimum distance between gesture trail sampling points. --> 120 <attr name="gestureTrailMinSamplingDistance" format="dimension" /> 121 <!-- Maximum angular threshold between gesture trail interpolation segments in degree. --> 122 <attr name="gestureTrailMaxInterpolationAngularThreshold" format="integer" /> 123 <!-- Maximum distance threshold between gesture trail interpolation segments. --> 124 <attr name="gestureTrailMaxInterpolationDistanceThreshold" format="dimension" /> 125 <!-- Maximum number of gesture trail interpolation segments. --> 126 <attr name="gestureTrailMaxInterpolationSegments" format="integer" /> 127 <!-- Delay after gesture trail starts fading out in millisecond. --> 128 <attr name="gestureTrailFadeoutStartDelay" format="integer" /> 129 <!-- Duration while gesture trail is fading out in millisecond. --> 130 <attr name="gestureTrailFadeoutDuration" format="integer" /> 131 <!-- Interval of updating gesture trail in millisecond. --> 132 <attr name="gestureTrailUpdateInterval" format="integer" /> 133 <attr name="gestureTrailColor" format="color" /> 134 <attr name="gestureTrailStartWidth" format="dimension" /> 135 <attr name="gestureTrailEndWidth" format="dimension" /> 136 <attr name="gestureTrailBodyRatio" format="integer" /> 137 <attr name="gestureTrailShadowRatio" format="integer" /> 138 <!-- Delay after gesture input and gesture floating preview text dismissing in millisecond --> 139 <attr name="gestureFloatingPreviewTextLingerTimeout" format="integer" /> 140 <!-- Attributes for GestureFloatingPreviewText --> 141 <attr name="gestureFloatingPreviewTextSize" format="dimension" /> 142 <attr name="gestureFloatingPreviewTextColor" format="color" /> 143 <attr name="gestureFloatingPreviewTextOffset" format="dimension" /> 144 <attr name="gestureFloatingPreviewColor" format="color" /> 145 <attr name="gestureFloatingPreviewHorizontalPadding" format="dimension" /> 146 <attr name="gestureFloatingPreviewVerticalPadding" format="dimension" /> 147 <attr name="gestureFloatingPreviewRoundRadius" format="dimension" /> 148 <!-- Static threshold for gesture after fast typing (msec) --> 149 <attr name="gestureStaticTimeThresholdAfterFastTyping" format="integer" /> 150 <!-- Static threshold for starting gesture detection (keyWidth%/sec) --> 151 <attr name="gestureDetectFastMoveSpeedThreshold" format="fraction" /> 152 <!-- Dynamic threshold for gesture after fast typing (msec) --> 153 <attr name="gestureDynamicThresholdDecayDuration" format="integer" /> 154 <!-- Time based threshold values for gesture detection (msec) --> 155 <attr name="gestureDynamicTimeThresholdFrom" format="integer" /> 156 <attr name="gestureDynamicTimeThresholdTo" format="integer" /> 157 <!-- Distance based threshold values for gesture detection (keyWidth%/sec) --> 158 <attr name="gestureDynamicDistanceThresholdFrom" format="fraction" /> 159 <attr name="gestureDynamicDistanceThresholdTo" format="fraction" /> 160 <!-- Parameter for gesture sampling (keyWidth%/sec) --> 161 <attr name="gestureSamplingMinimumDistance" format="fraction" /> 162 <!-- Parameters for gesture recognition (msec) and (keyWidth%/sec) --> 163 <attr name="gestureRecognitionMinimumTime" format="integer" /> 164 <attr name="gestureRecognitionUpdateTime" format="integer" /> 165 <attr name="gestureRecognitionSpeedThreshold" format="fraction" /> 166 <!-- Suppress showing key preview duration after batch input in millisecond --> 167 <attr name="suppressKeyPreviewAfterBatchInputDuration" format="integer" /> 168 </declare-styleable> 169 170 <declare-styleable name="EmojiPalettesView"> 171 <attr name="emojiTabLabelColor" format="reference" /> 172 </declare-styleable> 173 174 <declare-styleable name="SuggestionStripView"> 175 <attr name="suggestionStripOption" format="integer"> 176 <!-- This should be aligned with SuggestionStripLayoutHelper.AUTO_CORRECT_* and etc. --> 177 <flag name="autoCorrectBold" value="0x01" /> 178 <flag name="autoCorrectUnderline" value="0x02" /> 179 <flag name="validTypedWordBold" value="0x04" /> 180 </attr> 181 <attr name="colorValidTypedWord" format="color" /> 182 <attr name="colorTypedWord" format="color" /> 183 <attr name="colorAutoCorrect" format="color" /> 184 <attr name="colorSuggested" format="color" /> 185 <attr name="alphaObsoleted" format="fraction" /> 186 <attr name="suggestionsCountInStrip" format="integer" /> 187 <attr name="centerSuggestionPercentile" format="fraction" /> 188 <attr name="maxMoreSuggestionsRow" format="integer" /> 189 <attr name="minMoreSuggestionsWidth" format="float" /> 190 </declare-styleable> 191 192 <declare-styleable name="Keyboard"> 193 <attr name="themeId" format="integer" /> 194 <!-- Touch position correction --> 195 <attr name="touchPositionCorrectionData" format="reference" /> 196 <!-- Keyboard top, bottom, left, right edges paddings, in propotion of keyboard height. --> 197 <attr name="keyboardTopPadding" format="fraction" /> 198 <attr name="keyboardBottomPadding" format="fraction" /> 199 <attr name="keyboardLeftPadding" format="fraction" /> 200 <attr name="keyboardRightPadding" format="fraction" /> 201 <!-- Default height of a row (key height + vertical gap), in pixels or in the proportion of 202 keyboard height. --> 203 <attr name="rowHeight" format="dimension|fraction" /> 204 <!-- Default horizontal gap between keys, in the proportion of keyboard width. --> 205 <attr name="horizontalGap" format="fraction" /> 206 <!-- Default vertical gap between rows of keys, in the proportion of keyboard height. --> 207 <attr name="verticalGap" format="fraction" /> 208 <!-- More keys keyboard layout template --> 209 <attr name="moreKeysTemplate" format="reference" /> 210 <!-- Icon set for key top and key preview. 211 These should be aligned with KeyboardIconsSet.NAMES_AND_ATTR_IDS[] --> 212 <attr name="iconShiftKey" format="reference" /> 213 <attr name="iconDeleteKey" format="reference" /> 214 <attr name="iconSettingsKey" format="reference" /> 215 <attr name="iconSpaceKey" format="reference" /> 216 <attr name="iconEnterKey" format="reference" /> 217 <attr name="iconSearchKey" format="reference" /> 218 <attr name="iconTabKey" format="reference" /> 219 <attr name="iconShortcutKey" format="reference" /> 220 <attr name="iconShortcutForLabel" format="reference" /> 221 <attr name="iconSpaceKeyForNumberLayout" format="reference" /> 222 <attr name="iconShiftKeyShifted" format="reference" /> 223 <attr name="iconShortcutKeyDisabled" format="reference" /> 224 <attr name="iconTabKeyPreview" format="reference" /> 225 <attr name="iconLanguageSwitchKey" format="reference" /> 226 <attr name="iconZwnjKey" format="reference" /> 227 <attr name="iconZwjKey" format="reference" /> 228 <attr name="iconImeKey" format="reference" /> 229 <attr name="iconEmojiKey" format="reference" /> 230 </declare-styleable> 231 232 <declare-styleable name="Keyboard_GridRows"> 233 <attr name="codesArray" format="reference" /> 234 <attr name="textsArray" format="reference" /> 235 </declare-styleable> 236 237 <declare-styleable name="Keyboard_Key"> 238 <!-- The unicode value that this key outputs. 239 Code value represented in hexadecimal prefixed with "0x" or code value reference using 240 "!code/<code_name>" notation. --> 241 <attr name="code" format="string" /> 242 <!-- The alternate unicode value that this key outputs while typing. 243 Code value represented in hexadecimal prefixed with "0x" or code value reference using 244 "!code/<code_name>" notation. --> 245 <attr name="altCode" format="string" /> 246 <!-- The keys to display in the more keys keyboard. --> 247 <attr name="moreKeys" format="string" /> 248 <!-- The keys to display in the more keys keyboard in addition to moreKeys. 249 The additional more keys are inserted at the '%' markers in the moreKeys if any. 250 They are inserted at the head of moreKeys if none. 251 If there are remaining entries of additionalMoreKeys even after all '%' markers have 252 been replaced, those remaining entries are appended at the end of moreKeys. --> 253 <attr name="additionalMoreKeys" format="string" /> 254 <!-- Maximum column of more keys keyboard --> 255 <attr name="maxMoreKeysColumn" format="integer" /> 256 <attr name="backgroundType" format="enum"> 257 <!-- This should be aligned with Key.BACKGROUND_TYPE_* --> 258 <enum name="empty" value="0" /> 259 <enum name="normal" value="1" /> 260 <enum name="functional" value="2" /> 261 <enum name="action" value="3" /> 262 <enum name="stickyOff" value="4" /> 263 <enum name="stickyOn" value="5" /> 264 </attr> 265 <!-- The key action flags. --> 266 <attr name="keyActionFlags" format="integer"> 267 <!-- This should be aligned with Key.ACTION_FLAGS_* --> 268 <flag name="isRepeatable" value="0x01" /> 269 <flag name="noKeyPreview" value="0x02" /> 270 <flag name="altCodeWhileTyping" value="0x04" /> 271 <flag name="enableLongPress" value="0x08" /> 272 </attr> 273 <!-- The string of characters to output when this key is pressed. --> 274 <attr name="keyOutputText" format="string" /> 275 <!-- The label to display on the key. --> 276 <attr name="keyLabel" format="string" /> 277 <!-- The hint label to display on the key in conjunction with the label. --> 278 <attr name="keyHintLabel" format="string" /> 279 <!-- The key label flags. --> 280 <attr name="keyLabelFlags" format="integer"> 281 <!-- This should be aligned with Key.LABEL_FLAGS__* --> 282 <flag name="alignLeft" value="0x01" /> 283 <flag name="alignRight" value="0x02" /> 284 <flag name="alignLeftOfCenter" value="0x08" /> 285 <flag name="fontNormal" value="0x10" /> 286 <flag name="fontMonoSpace" value="0x20" /> 287 <flag name="followKeyLargeLetterRatio" value="0x40" /> 288 <flag name="followKeyLetterRatio" value="0x80" /> 289 <flag name="followKeyLabelRatio" value="0xC0" /> 290 <flag name="followKeyLargeLabelRatio" value="0x100" /> 291 <flag name="followKeyHintLabelRatio" value="0x140" /> 292 <flag name="hasPopupHint" value="0x200" /> 293 <flag name="hasShiftedLetterHint" value="0x400" /> 294 <flag name="hasHintLabel" value="0x800" /> 295 <flag name="withIconLeft" value="0x1000" /> 296 <flag name="withIconRight" value="0x2000" /> 297 <flag name="autoXScale" value="0x4000" /> 298 <!-- If true, character case of code, altCode, moreKeys, keyOutputText, keyLabel, 299 or keyHintLabel will never be subject to change. --> 300 <flag name="preserveCase" value="0x8000" /> 301 <!-- If true, use keyShiftedLetterHintActivatedColor for the shifted letter hint and 302 keyTextInactivatedColor for the primary key top label. --> 303 <flag name="shiftedLetterActivated" value="0x10000" /> 304 <!-- If true, use EditorInfo.actionLabel for the key label. --> 305 <flag name="fromCustomActionLabel" value="0x20000" /> 306 <!-- If true, disable keyHintLabel. --> 307 <flag name="disableKeyHintLabel" value="0x40000000" /> 308 <!-- If true, disable additionalMoreKeys. --> 309 <flag name="disableAdditionalMoreKeys" value="0x80000000" /> 310 </attr> 311 <!-- The icon to display on the key instead of the label. --> 312 <attr name="keyIcon" format="string" /> 313 <!-- The icon for disabled key --> 314 <attr name="keyIconDisabled" format="string" /> 315 <!-- The icon to show in the popup preview. --> 316 <attr name="keyIconPreview" format="string" /> 317 <!-- The key style to specify a set of key attributes defined by <key_style/> --> 318 <attr name="keyStyle" format="string" /> 319 <!-- Visual insets, in the proportion of keyboard width. --> 320 <attr name="visualInsetsLeft" format="fraction" /> 321 <attr name="visualInsetsRight" format="fraction" /> 322 <!-- Width of the key, in the proportion of keyboard width. 323 If the value is fillRight, the actual key width will be determined to fill out the 324 area up to the right edge of the keyboard. --> 325 <!-- This should be aligned with KeyboardBuilder.Row.KEYWIDTH_* --> 326 <attr name="keyWidth" format="fraction|enum"> 327 <enum name="fillRight" value="-1" /> 328 </attr> 329 <!-- The X-coordinate of upper right corner of this key including horizontal gap, in the 330 proportion of keyboard width. 331 If the value is negative, the origin is the right edge of the keyboard. --> 332 <attr name="keyXPos" format="fraction" /> 333 334 <!-- Key top visual attributes --> 335 <attr name="keyTypeface" format="enum"> 336 <!-- This should be aligned with Typeface.NORMAL etc. --> 337 <enum name="normal" value="0" /> 338 <enum name="bold" value="1" /> 339 <enum name="italic" value="2" /> 340 <enum name="boldItalic" value="3" /> 341 </attr> 342 <!-- Size of the text for one letter keys. If specified as fraction, the text size is 343 measured in the proportion of key height. --> 344 <attr name="keyLetterSize" format="dimension|fraction" /> 345 <!-- Size of the text for keys with multiple letters. If specified as fraction, the text 346 size is measured in the proportion of key height. --> 347 <attr name="keyLabelSize" format="dimension|fraction" /> 348 <!-- Large size of the text for one letter keys, in the proportion of key height. --> 349 <attr name="keyLargeLetterRatio" format="fraction" /> 350 <!-- Large size of the text for keys with multiple letters, in the proportion of key height. --> 351 <attr name="keyLargeLabelRatio" format="fraction" /> 352 <!-- Size of the text for hint letter (= one character hint label), in the proportion of 353 key height. --> 354 <attr name="keyHintLetterRatio" format="fraction" /> 355 <!-- Size of the text for hint label, in the proportion of key height. --> 356 <attr name="keyHintLabelRatio" format="fraction" /> 357 <!-- Size of the text for shifted letter hint, in the proportion of key height. --> 358 <attr name="keyShiftedLetterHintRatio" format="fraction" /> 359 <!-- Color to use for the label in a key. --> 360 <attr name="keyTextColor" format="color" /> 361 <attr name="keyTextShadowColor" format="color" /> 362 <!-- Color to use for the label in a key when in inactivated state. --> 363 <attr name="keyTextInactivatedColor" format="color" /> 364 <!-- Key hint letter (= one character hint label) color --> 365 <attr name="keyHintLetterColor" format="color" /> 366 <!-- Key hint label color --> 367 <attr name="keyHintLabelColor" format="color" /> 368 <!-- Shifted letter hint colors --> 369 <attr name="keyShiftedLetterHintInactivatedColor" format="color" /> 370 <attr name="keyShiftedLetterHintActivatedColor" format="color" /> 371 372 <!-- Key preview visual parameters --> 373 <!-- The text color for key press feedback. --> 374 <attr name="keyPreviewTextColor" format="color" /> 375 <!-- Size of the text for key press feedback popup, in the proportion of key height. --> 376 <attr name="keyPreviewTextRatio" format="fraction" /> 377 </declare-styleable> 378 379 <declare-styleable name="Keyboard_Include"> 380 <attr name="keyboardLayout" format="reference" /> 381 </declare-styleable> 382 383 <declare-styleable name="Keyboard_Case"> 384 <attr name="keyboardLayoutSet" format="string" /> 385 <!-- This should be aligned with KeyboardLayoutSet_Element's elementName. --> 386 <attr name="keyboardLayoutSetElement" format="enum|string"> 387 <enum name="alphabet" value="0" /> 388 <enum name="alphabetManualShifted" value="1" /> 389 <enum name="alphabetAutomaticShifted" value="2" /> 390 <enum name="alphabetShiftLocked" value="3" /> 391 <enum name="alphabetShiftLockShifted" value="4" /> 392 <enum name="symbols" value="5" /> 393 <enum name="symbolsShifted" value="6" /> 394 <enum name="phone" value="7" /> 395 <enum name="phoneSymbols" value="8" /> 396 <enum name="number" value="9" /> 397 <enum name="emojiRecents" value="10" /> 398 <enum name="emojiCategory1" value="11" /> 399 <enum name="emojiCategory2" value="12" /> 400 <enum name="emojiCategory3" value="13" /> 401 <enum name="emojiCategory4" value="14" /> 402 <enum name="emojiCategory5" value="15" /> 403 <enum name="emojiCategory6" value="16" /> 404 </attr> 405 <!-- This should be aligned with KeyboardId.MODE_* --> 406 <attr name="mode" format="enum|string"> 407 <enum name="text" value="0" /> 408 <enum name="url" value="1" /> 409 <enum name="email" value="2" /> 410 <enum name="im" value="3" /> 411 <enum name="phone" value="4" /> 412 <enum name="number" value="5" /> 413 </attr> 414 <attr name="navigateNext" format="boolean" /> 415 <attr name="navigatePrevious" format="boolean" /> 416 <attr name="passwordInput" format="boolean" /> 417 <attr name="clobberSettingsKey" format="boolean" /> 418 <attr name="shortcutKeyEnabled" format="boolean" /> 419 <attr name="shortcutKeyOnSymbols" format="boolean" /> 420 <attr name="hasShortcutKey" format="boolean" /> 421 <attr name="languageSwitchKeyEnabled" format="boolean" /> 422 <attr name="isMultiLine" format="boolean" /> 423 <attr name="imeAction" format="enum"> 424 <!-- This should be aligned with EditorInfo.IME_ACTION_* --> 425 <enum name="actionUnspecified" value="0" /> 426 <enum name="actionNone" value="1" /> 427 <enum name="actionGo" value="2" /> 428 <enum name="actionSearch" value="3" /> 429 <enum name="actionSend" value="4" /> 430 <enum name="actionNext" value="5" /> 431 <enum name="actionDone" value="6" /> 432 <enum name="actionPrevious" value="7" /> 433 <!-- This should be aligned with KeyboardId.IME_ACTION_* --> 434 <enum name="actionCustomLabel" value="0x100" /> 435 </attr> 436 <attr name="localeCode" format="string" /> 437 <attr name="languageCode" format="string" /> 438 <attr name="countryCode" format="string" /> 439 </declare-styleable> 440 441 <declare-styleable name="Keyboard_KeyStyle"> 442 <attr name="styleName" format="string" /> 443 <attr name="parentStyle" format="string" /> 444 </declare-styleable> 445 446 <declare-styleable name="KeyboardLayoutSet_Element"> 447 <!-- This should be aligned with KeyboardId.ELEMENT_* --> 448 <attr name="elementName" format="enum"> 449 <enum name="alphabet" value="0" /> 450 <enum name="alphabetManualShifted" value="1" /> 451 <enum name="alphabetAutomaticShifted" value="2" /> 452 <enum name="alphabetShiftLocked" value="3" /> 453 <enum name="alphabetShiftLockShifted" value="4" /> 454 <enum name="symbols" value="5" /> 455 <enum name="symbolsShifted" value="6" /> 456 <enum name="phone" value="7" /> 457 <enum name="phoneSymbols" value="8" /> 458 <enum name="number" value="9" /> 459 <enum name="emojiRecents" value="10" /> 460 <enum name="emojiCategory1" value="11" /> 461 <enum name="emojiCategory2" value="12" /> 462 <enum name="emojiCategory3" value="13" /> 463 <enum name="emojiCategory4" value="14" /> 464 <enum name="emojiCategory5" value="15" /> 465 <enum name="emojiCategory6" value="16" /> 466 </attr> 467 <attr name="elementKeyboard" format="reference"/> 468 <!-- Enable proximity characters correction. Disabled by default. --> 469 <attr name="enableProximityCharsCorrection" format="boolean" /> 470 </declare-styleable> 471 472 <declare-styleable name="SeekBarDialogPreference"> 473 <attr name="maxValue" format="integer" /> 474 <attr name="minValue" format="integer" /> 475 <attr name="stepValue" format="integer" /> 476 </declare-styleable> 477 </resources> 478