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 style for action key --> 36 <attr name="moreKeysKeyboardViewForActionStyle" 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 <!-- Background image for the key. This image needs to be a {@link StateListDrawable}, 45 with the following possible states: normal, pressed, checkable, checkable+pressed, 46 checkable+checked, checkable+checked+pressed. --> 47 <attr name="keyBackground" format="reference" /> 48 <!-- Background image for the functional key. This image needs to be a 49 {@link StateListDrawable}, with the following possible states: normal, pressed. --> 50 <attr name="functionalKeyBackground" format="reference" /> 51 <!-- Background image for the spacebar. This image needs to be a 52 {@link StateListDrawable}, with the following possible states: normal, pressed. --> 53 <attr name="spacebarBackground" format="reference" /> 54 <attr name="spacebarIconWidthRatio" format="float" /> 55 <!-- Right padding of hint letter to the edge of the key.--> 56 <attr name="keyHintLetterPadding" format="dimension" /> 57 <!-- Popup hint letter string--> 58 <attr name="keyPopupHintLetter" format="string" /> 59 <!-- Bottom padding of popup hint letter to the edge of the key.--> 60 <attr name="keyPopupHintLetterPadding" format="dimension" /> 61 <!-- Right padding of shifted letter hint to the edge of the key.--> 62 <attr name="keyShiftedLetterHintPadding" format="dimension" /> 63 <!-- Blur radius of key text shadow. --> 64 <attr name="keyTextShadowRadius" format="float" /> 65 66 <!-- Key preview background states --> 67 <attr name="state_left_edge" format="boolean" /> 68 <attr name="state_right_edge" format="boolean" /> 69 <attr name="state_has_morekeys" format="boolean" /> 70 71 <!-- Amount to offset the touch Y coordinate by, for bias correction. --> 72 <attr name="verticalCorrection" format="dimension" /> 73 </declare-styleable> 74 75 <declare-styleable name="MainKeyboardView"> 76 <!-- Size of the text for spacebar language label, in the proportion of key height. --> 77 <attr name="languageOnSpacebarTextRatio" format="fraction" /> 78 <attr name="languageOnSpacebarTextColor" format="color" /> 79 <attr name="languageOnSpacebarTextShadowRadius" format="float" /> 80 <attr name="languageOnSpacebarTextShadowColor" format="color" /> 81 <!-- Fadeout animator for spacebar language label. --> 82 <attr name="languageOnSpacebarFinalAlpha" format="integer" /> 83 <attr name="languageOnSpacebarFadeoutAnimator" format="reference" /> 84 <!-- Fadeout and fadein animator for altCodeWhileTyping keys. --> 85 <attr name="altCodeKeyWhileTypingFadeoutAnimator" format="reference" /> 86 <attr name="altCodeKeyWhileTypingFadeinAnimator" format="reference" /> 87 <!-- Key detection hysteresis distance. --> 88 <attr name="keyHysteresisDistance" format="dimension" /> 89 <!-- Key detection hysteresis distance for shift/symbols sliding input. --> 90 <attr name="keyHysteresisDistanceForSlidingModifier" format="dimension" /> 91 <!-- Touch noise threshold time in millisecond --> 92 <attr name="touchNoiseThresholdTime" format="integer" /> 93 <!-- Touch noise threshold distance in millimeter --> 94 <attr name="touchNoiseThresholdDistance" format="dimension" /> 95 <!-- Enable key selection by dragging finger --> 96 <attr name="keySelectionByDraggingFinger" format="boolean" /> 97 <attr name="slidingKeyInputPreviewColor" format="color" /> 98 <attr name="slidingKeyInputPreviewWidth" format="dimension" /> 99 <attr name="slidingKeyInputPreviewBodyRatio" format="integer" /> 100 <attr name="slidingKeyInputPreviewShadowRatio" format="integer" /> 101 <!-- Key repeat start timeout --> 102 <attr name="keyRepeatStartTimeout" format="integer" /> 103 <!-- Key repeat interval in millisecond. --> 104 <attr name="keyRepeatInterval" format="integer" /> 105 <!-- Long press timeout of shift key to shift lock in millisecond. --> 106 <attr name="longPressShiftLockTimeout" format="integer" /> 107 <!-- Ignore special key timeout while typing in millisecond. --> 108 <attr name="ignoreAltCodeKeyTimeout" format="integer" /> 109 <!-- Background resource for key press feedback.--> 110 <attr name="keyPreviewBackground" format="reference" /> 111 <!-- Vertical offset of the key press feedback from the key. --> 112 <attr name="keyPreviewOffset" format="dimension" /> 113 <!-- Height of the key press feedback popup. --> 114 <attr name="keyPreviewHeight" format="dimension" /> 115 <!-- TODO: consolidate key preview linger timeout with the key preview animation parameters. --> 116 <!-- Delay after key releasing and key press feedback dismissing in millisecond --> 117 <attr name="keyPreviewLingerTimeout" format="integer" /> 118 <!-- Key preview show up animator --> 119 <attr name="keyPreviewShowUpAnimator" format="reference" /> 120 <!-- Key preview dismiss animator --> 121 <attr name="keyPreviewDismissAnimator" format="reference" /> 122 <!-- Layout resource for more keys keyboard --> 123 <attr name="moreKeysKeyboardLayout" format="reference" /> 124 <!-- Layout resource for more keys keyboard of action key --> 125 <attr name="moreKeysKeyboardForActionLayout" format="reference" /> 126 <attr name="backgroundDimAlpha" format="integer" /> 127 <!-- More keys keyboard will shown at touched point. --> 128 <attr name="showMoreKeysKeyboardAtTouchedPoint" format="boolean" /> 129 <!-- Minimum distance between gesture trail sampling points. --> 130 <attr name="gestureTrailMinSamplingDistance" format="dimension" /> 131 <!-- Maximum angular threshold between gesture trail interpolation segments in degree. --> 132 <attr name="gestureTrailMaxInterpolationAngularThreshold" format="integer" /> 133 <!-- Maximum distance threshold between gesture trail interpolation segments. --> 134 <attr name="gestureTrailMaxInterpolationDistanceThreshold" format="dimension" /> 135 <!-- Maximum number of gesture trail interpolation segments. --> 136 <attr name="gestureTrailMaxInterpolationSegments" format="integer" /> 137 <!-- Delay after gesture trail starts fading out in millisecond. --> 138 <attr name="gestureTrailFadeoutStartDelay" format="integer" /> 139 <!-- Duration while gesture trail is fading out in millisecond. --> 140 <attr name="gestureTrailFadeoutDuration" format="integer" /> 141 <!-- Interval of updating gesture trail in millisecond. --> 142 <attr name="gestureTrailUpdateInterval" format="integer" /> 143 <attr name="gestureTrailColor" format="color" /> 144 <attr name="gestureTrailStartWidth" format="dimension" /> 145 <attr name="gestureTrailEndWidth" format="dimension" /> 146 <attr name="gestureTrailBodyRatio" format="integer" /> 147 <attr name="gestureTrailShadowRatio" format="integer" /> 148 <!-- Delay after gesture input and gesture floating preview text dismissing in millisecond --> 149 <attr name="gestureFloatingPreviewTextLingerTimeout" format="integer" /> 150 <!-- Attributes for GestureFloatingPreviewText --> 151 <attr name="gestureFloatingPreviewTextSize" format="dimension" /> 152 <attr name="gestureFloatingPreviewTextColor" format="color" /> 153 <attr name="gestureFloatingPreviewTextOffset" format="dimension" /> 154 <attr name="gestureFloatingPreviewColor" format="color" /> 155 <attr name="gestureFloatingPreviewHorizontalPadding" format="dimension" /> 156 <attr name="gestureFloatingPreviewVerticalPadding" format="dimension" /> 157 <attr name="gestureFloatingPreviewRoundRadius" format="dimension" /> 158 <!-- Static threshold for gesture after fast typing (msec) --> 159 <attr name="gestureStaticTimeThresholdAfterFastTyping" format="integer" /> 160 <!-- Static threshold for starting gesture detection (keyWidth%/sec) --> 161 <attr name="gestureDetectFastMoveSpeedThreshold" format="fraction" /> 162 <!-- Dynamic threshold for gesture after fast typing (msec) --> 163 <attr name="gestureDynamicThresholdDecayDuration" format="integer" /> 164 <!-- Time based threshold values for gesture detection (msec) --> 165 <attr name="gestureDynamicTimeThresholdFrom" format="integer" /> 166 <attr name="gestureDynamicTimeThresholdTo" format="integer" /> 167 <!-- Distance based threshold values for gesture detection (keyWidth%/sec) --> 168 <attr name="gestureDynamicDistanceThresholdFrom" format="fraction" /> 169 <attr name="gestureDynamicDistanceThresholdTo" format="fraction" /> 170 <!-- Parameter for gesture sampling (keyWidth%/sec) --> 171 <attr name="gestureSamplingMinimumDistance" format="fraction" /> 172 <!-- Parameters for gesture recognition (msec) and (keyWidth%/sec) --> 173 <attr name="gestureRecognitionMinimumTime" format="integer" /> 174 <attr name="gestureRecognitionUpdateTime" format="integer" /> 175 <attr name="gestureRecognitionSpeedThreshold" format="fraction" /> 176 <!-- Suppress showing key preview duration after batch input in millisecond --> 177 <attr name="suppressKeyPreviewAfterBatchInputDuration" format="integer" /> 178 </declare-styleable> 179 180 <declare-styleable name="MoreKeysKeyboardView"> 181 <attr name="divider" format="reference" /> 182 </declare-styleable> 183 184 <declare-styleable name="EmojiPalettesView"> 185 <attr name="categoryIndicatorEnabled" format="boolean" /> 186 <attr name="categoryIndicatorDrawable" format="reference" /> 187 <attr name="categoryIndicatorBackground" format="reference" /> 188 <attr name="categoryPageIndicatorColor" format="color" /> 189 <attr name="categoryPageIndicatorBackground" format="color" /> 190 <attr name="iconEmojiRecentsTab" format="reference" /> 191 <attr name="iconEmojiCategory1Tab" format="reference" /> 192 <attr name="iconEmojiCategory2Tab" format="reference" /> 193 <attr name="iconEmojiCategory3Tab" format="reference" /> 194 <attr name="iconEmojiCategory4Tab" format="reference" /> 195 <attr name="iconEmojiCategory5Tab" format="reference" /> 196 <attr name="iconEmojiCategory6Tab" format="reference" /> 197 </declare-styleable> 198 199 <declare-styleable name="SuggestionStripView"> 200 <attr name="suggestionStripOptions" format="integer"> 201 <!-- This should be aligned with SuggestionStripLayoutHelper.AUTO_CORRECT_* and etc. --> 202 <flag name="autoCorrectBold" value="0x01" /> 203 <flag name="autoCorrectUnderline" value="0x02" /> 204 <flag name="validTypedWordBold" value="0x04" /> 205 </attr> 206 <attr name="colorValidTypedWord" format="color" /> 207 <attr name="colorTypedWord" format="color" /> 208 <attr name="colorAutoCorrect" format="color" /> 209 <attr name="colorSuggested" format="color" /> 210 <attr name="alphaObsoleted" format="fraction" /> 211 <attr name="suggestionsCountInStrip" format="integer" /> 212 <attr name="centerSuggestionPercentile" format="fraction" /> 213 <attr name="maxMoreSuggestionsRow" format="integer" /> 214 <attr name="minMoreSuggestionsWidth" format="float" /> 215 </declare-styleable> 216 217 <declare-styleable name="Keyboard"> 218 <attr name="themeId" format="enum"> 219 <!-- This should be aligned with KeyboardTheme.THEME_ID_*. --> 220 <enum name="ICS" value="0" /> 221 <enum name="KLP" value="2" /> 222 <enum name="LXXLight" value="3" /> 223 <enum name="LXXDark" value="4" /> 224 </attr> 225 <!-- Touch position correction --> 226 <attr name="touchPositionCorrectionData" format="reference" /> 227 <!-- Keyboard top, bottom, left, right edges paddings, in propotion of keyboard height. --> 228 <attr name="keyboardTopPadding" format="fraction" /> 229 <attr name="keyboardBottomPadding" format="fraction" /> 230 <attr name="keyboardLeftPadding" format="fraction" /> 231 <attr name="keyboardRightPadding" format="fraction" /> 232 <!-- Default height of a row (key height + vertical gap), in pixels or in the proportion of 233 keyboard height. --> 234 <attr name="rowHeight" format="dimension|fraction" /> 235 <!-- Default horizontal gap between keys, in the proportion of keyboard width. --> 236 <attr name="horizontalGap" format="fraction" /> 237 <!-- Default vertical gap between rows of keys, in the proportion of keyboard height. --> 238 <attr name="verticalGap" format="fraction" /> 239 <!-- More keys keyboard layout template --> 240 <attr name="moreKeysTemplate" format="reference" /> 241 <!-- Icon set for key top and key preview. 242 These should be aligned with KeyboardIconsSet.NAMES_AND_ATTR_IDS[] --> 243 <attr name="iconShiftKey" format="reference" /> 244 <attr name="iconDeleteKey" format="reference" /> 245 <attr name="iconSettingsKey" format="reference" /> 246 <attr name="iconSpaceKey" format="reference" /> 247 <attr name="iconEnterKey" format="reference" /> 248 <attr name="iconGoKey" format="reference" /> 249 <attr name="iconSearchKey" format="reference" /> 250 <attr name="iconSendKey" format="reference" /> 251 <attr name="iconNextKey" format="reference" /> 252 <attr name="iconDoneKey" format="reference" /> 253 <attr name="iconPreviousKey" format="reference" /> 254 <attr name="iconTabKey" format="reference" /> 255 <attr name="iconShortcutKey" format="reference" /> 256 <attr name="iconSpaceKeyForNumberLayout" format="reference" /> 257 <attr name="iconShiftKeyShifted" format="reference" /> 258 <attr name="iconShortcutKeyDisabled" format="reference" /> 259 <attr name="iconLanguageSwitchKey" format="reference" /> 260 <attr name="iconZwnjKey" format="reference" /> 261 <attr name="iconZwjKey" format="reference" /> 262 <attr name="iconImeKey" format="reference" /> 263 <attr name="iconEmojiActionKey" format="reference" /> 264 <attr name="iconEmojiNormalKey" format="reference" /> 265 </declare-styleable> 266 267 <declare-styleable name="Keyboard_GridRows"> 268 <attr name="codesArray" format="reference" /> 269 <attr name="textsArray" format="reference" /> 270 </declare-styleable> 271 272 <declare-styleable name="Keyboard_Key"> 273 <!-- The alternate unicode value that this key outputs while typing. 274 Code value represented in hexadecimal prefixed with "0x" or code value reference using 275 "!code/<code_name>" notation. --> 276 <attr name="altCode" format="string" /> 277 <!-- The keys to display in the more keys keyboard. --> 278 <attr name="moreKeys" format="string" /> 279 <!-- The keys to display in the more keys keyboard in addition to moreKeys. 280 The additional more keys are inserted at the '%' markers in the moreKeys if any. 281 They are inserted at the head of moreKeys if none. 282 If there are remaining entries of additionalMoreKeys even after all '%' markers have 283 been replaced, those remaining entries are appended at the end of moreKeys. --> 284 <attr name="additionalMoreKeys" format="string" /> 285 <!-- Maximum column of more keys keyboard --> 286 <attr name="maxMoreKeysColumn" format="integer" /> 287 <attr name="backgroundType" format="enum"> 288 <!-- This should be aligned with Key.BACKGROUND_TYPE_* --> 289 <enum name="empty" value="0" /> 290 <enum name="normal" value="1" /> 291 <enum name="functional" value="2" /> 292 <enum name="stickyOff" value="3" /> 293 <enum name="stickyOn" value="4" /> 294 <enum name="action" value="5" /> 295 <enum name="spacebar" value="6" /> 296 </attr> 297 <!-- The key action flags. --> 298 <attr name="keyActionFlags" format="integer"> 299 <!-- This should be aligned with Key.ACTION_FLAGS_* --> 300 <flag name="isRepeatable" value="0x01" /> 301 <flag name="noKeyPreview" value="0x02" /> 302 <flag name="altCodeWhileTyping" value="0x04" /> 303 <flag name="enableLongPress" value="0x08" /> 304 </attr> 305 <!-- The label, icon to display on the key. And code, outputText of the key. --> 306 <attr name="keySpec" format="string" /> 307 <!-- The hint label to display on the key in conjunction with the label. --> 308 <attr name="keyHintLabel" format="string" /> 309 <!-- The vertical adjustment of key hint label in proportion to its height. --> 310 <attr name="keyHintLabelVerticalAdjustment" format="fraction" /> 311 <!-- The key label flags. --> 312 <attr name="keyLabelFlags" format="integer"> 313 <!-- This should be aligned with Key.LABEL_FLAGS__* --> 314 <flag name="alignHintLabelToBottom" value="0x02" /> 315 <flag name="alignIconToBottom" value="0x04" /> 316 <flag name="alignLabelOffCenter" value="0x08" /> 317 <flag name="fontNormal" value="0x10" /> 318 <flag name="fontMonoSpace" value="0x20" /> 319 <flag name="fontDefault" value="0x30" /> 320 <flag name="followKeyLargeLetterRatio" value="0x40" /> 321 <flag name="followKeyLetterRatio" value="0x80" /> 322 <flag name="followKeyLabelRatio" value="0xC0" /> 323 <flag name="followKeyHintLabelRatio" value="0x140" /> 324 <flag name="hasPopupHint" value="0x200" /> 325 <flag name="hasShiftedLetterHint" value="0x400" /> 326 <flag name="hasHintLabel" value="0x800" /> 327 <flag name="autoXScale" value="0x4000" /> 328 <!-- The autoScale value implies autoXScale bit on to optimize scaling code path. --> 329 <flag name="autoScale" value="0xc000" /> 330 <!-- If true, character case of code, altCode, moreKeys, keyOutputText, keyLabel, 331 or keyHintLabel will never be subject to change. --> 332 <flag name="preserveCase" value="0x10000" /> 333 <!-- If true, use keyShiftedLetterHintActivatedColor for the shifted letter hint and 334 keyTextInactivatedColor for the primary key top label. --> 335 <flag name="shiftedLetterActivated" value="0x20000" /> 336 <!-- If true, use EditorInfo.actionLabel for the key label. --> 337 <flag name="fromCustomActionLabel" value="0x40000" /> 338 <!-- If true, use functionalTextColor instead of ketTextColor to drawing the label on 339 the key --> 340 <flag name="followFunctionalTextColor" value="0x80000" /> 341 <!-- Keep aspect ratio of key background. --> 342 <flag name="keepBackgroundAspectRatio" value="0x100000" /> 343 <!-- If true, disable keyHintLabel. --> 344 <flag name="disableKeyHintLabel" value="0x40000000" /> 345 <!-- If true, disable additionalMoreKeys. --> 346 <flag name="disableAdditionalMoreKeys" value="0x80000000" /> 347 </attr> 348 <!-- The icon for disabled key --> 349 <attr name="keyIconDisabled" format="string" /> 350 <!-- The key style to specify a set of key attributes defined by <key_style/> --> 351 <attr name="keyStyle" format="string" /> 352 <!-- Visual insets, in the proportion of keyboard width. --> 353 <attr name="visualInsetsLeft" format="fraction" /> 354 <attr name="visualInsetsRight" format="fraction" /> 355 <!-- Width of the key, in the proportion of keyboard width. 356 If the value is fillRight, the actual key width will be determined to fill out the 357 area up to the right edge of the keyboard. --> 358 <!-- This should be aligned with KeyboardBuilder.Row.KEYWIDTH_* --> 359 <attr name="keyWidth" format="fraction|enum"> 360 <enum name="fillRight" value="-1" /> 361 </attr> 362 <!-- The X-coordinate of upper right corner of this key including horizontal gap, in the 363 proportion of keyboard width. 364 If the value is negative, the origin is the right edge of the keyboard. --> 365 <attr name="keyXPos" format="fraction" /> 366 367 <!-- Key top visual attributes --> 368 <attr name="keyTypeface" format="enum"> 369 <!-- This should be aligned with Typeface.NORMAL etc. --> 370 <enum name="normal" value="0" /> 371 <enum name="bold" value="1" /> 372 <enum name="italic" value="2" /> 373 <enum name="boldItalic" value="3" /> 374 </attr> 375 <!-- Size of the text for one letter keys. If specified as fraction, the text size is 376 measured in the proportion of key height. --> 377 <attr name="keyLetterSize" format="dimension|fraction" /> 378 <!-- Size of the text for keys with multiple letters. If specified as fraction, the text 379 size is measured in the proportion of key height. --> 380 <attr name="keyLabelSize" format="dimension|fraction" /> 381 <!-- Large size of the text for one letter keys, in the proportion of key height. --> 382 <attr name="keyLargeLetterRatio" format="fraction" /> 383 <!-- Size of the text for hint letter (= one character hint label), in the proportion of 384 key height. --> 385 <attr name="keyHintLetterRatio" format="fraction" /> 386 <!-- Size of the text for hint label, in the proportion of key height. --> 387 <attr name="keyHintLabelRatio" format="fraction" /> 388 <!-- Size of the text for shifted letter hint, in the proportion of key height. --> 389 <attr name="keyShiftedLetterHintRatio" format="fraction" /> 390 <!-- The label's horizontal offset to the center of the key. Negative is to left and 391 positive is to right. The value is in proportion of the width of 392 TypefaceUtils.KEY_LABEL_REFERENCE_CHAR. --> 393 <attr name="keyLabelOffCenterRatio" format="fraction" /> 394 <!-- The hint label's horizontal offset to the center of the key. Negative is to left and 395 positive is to right. The value is in proportion of the width of 396 TypefaceUtils.KEY_LABEL_REFERENCE_CHAR. --> 397 <attr name="keyHintLabelOffCenterRatio" format="fraction" /> 398 <!-- Color to use for the label in a key. --> 399 <attr name="keyTextColor" format="color" /> 400 <attr name="keyTextShadowColor" format="color" /> 401 <!-- Color to use for the label in a key when in inactivated state. --> 402 <attr name="keyTextInactivatedColor" format="color" /> 403 <!-- Color to use for the label in a key that has followFunctionalTextColor keyLabelFlags. --> 404 <attr name="functionalTextColor" format="color" /> 405 <!-- Key hint letter (= one character hint label) color --> 406 <attr name="keyHintLetterColor" format="color" /> 407 <!-- Key hint label color --> 408 <attr name="keyHintLabelColor" format="color" /> 409 <!-- Shifted letter hint colors --> 410 <attr name="keyShiftedLetterHintInactivatedColor" format="color" /> 411 <attr name="keyShiftedLetterHintActivatedColor" format="color" /> 412 413 <!-- Key preview visual parameters --> 414 <!-- The text color for key press feedback. --> 415 <attr name="keyPreviewTextColor" format="color" /> 416 <!-- Size of the text for key press feedback popup, in the proportion of key height. --> 417 <attr name="keyPreviewTextRatio" format="fraction" /> 418 </declare-styleable> 419 420 <declare-styleable name="Keyboard_Include"> 421 <attr name="keyboardLayout" format="reference" /> 422 </declare-styleable> 423 424 <declare-styleable name="Keyboard_Case"> 425 <attr name="keyboardLayoutSet" format="string" /> 426 <!-- This should be aligned with KeyboardLayoutSet_Element's elementName. --> 427 <attr name="keyboardLayoutSetElement" format="enum|string"> 428 <enum name="alphabet" value="0" /> 429 <enum name="alphabetManualShifted" value="1" /> 430 <enum name="alphabetAutomaticShifted" value="2" /> 431 <enum name="alphabetShiftLocked" value="3" /> 432 <enum name="alphabetShiftLockShifted" value="4" /> 433 <enum name="symbols" value="5" /> 434 <enum name="symbolsShifted" value="6" /> 435 <enum name="phone" value="7" /> 436 <enum name="phoneSymbols" value="8" /> 437 <enum name="number" value="9" /> 438 <enum name="emojiRecents" value="10" /> 439 <enum name="emojiCategory1" value="11" /> 440 <enum name="emojiCategory2" value="12" /> 441 <enum name="emojiCategory3" value="13" /> 442 <enum name="emojiCategory4" value="14" /> 443 <enum name="emojiCategory5" value="15" /> 444 <enum name="emojiCategory6" value="16" /> 445 </attr> 446 <!-- This should be aligned with Keyboard.themeId and KeyboardTheme.THEME_ID_* --> 447 <attr name="keyboardTheme" format="enum|string"> 448 <enum name="ICS" value="0" /> 449 <enum name="KLP" value="2" /> 450 <enum name="LXXLight" value="3" /> 451 <enum name="LXXDark" value="4" /> 452 </attr> 453 <!-- This should be aligned with KeyboardId.MODE_* --> 454 <attr name="mode" format="enum|string"> 455 <enum name="text" value="0" /> 456 <enum name="url" value="1" /> 457 <enum name="email" value="2" /> 458 <enum name="im" value="3" /> 459 <enum name="phone" value="4" /> 460 <enum name="number" value="5" /> 461 </attr> 462 <attr name="navigateNext" format="boolean" /> 463 <attr name="navigatePrevious" format="boolean" /> 464 <attr name="passwordInput" format="boolean" /> 465 <attr name="clobberSettingsKey" format="boolean" /> 466 <attr name="hasShortcutKey" format="boolean" /> 467 <attr name="languageSwitchKeyEnabled" format="boolean" /> 468 <attr name="isMultiLine" format="boolean" /> 469 <attr name="imeAction" format="enum"> 470 <!-- This should be aligned with EditorInfo.IME_ACTION_* --> 471 <enum name="actionUnspecified" value="0" /> 472 <enum name="actionNone" value="1" /> 473 <enum name="actionGo" value="2" /> 474 <enum name="actionSearch" value="3" /> 475 <enum name="actionSend" value="4" /> 476 <enum name="actionNext" value="5" /> 477 <enum name="actionDone" value="6" /> 478 <enum name="actionPrevious" value="7" /> 479 <!-- This should be aligned with KeyboardId.IME_ACTION_* --> 480 <enum name="actionCustomLabel" value="0x100" /> 481 </attr> 482 <attr name="isIconDefined" format="string" /> 483 <attr name="localeCode" format="string" /> 484 <attr name="languageCode" format="string" /> 485 <attr name="countryCode" format="string" /> 486 </declare-styleable> 487 488 <declare-styleable name="Keyboard_KeyStyle"> 489 <attr name="styleName" format="string" /> 490 <attr name="parentStyle" format="string" /> 491 </declare-styleable> 492 493 <declare-styleable name="KeyboardLayoutSet_Element"> 494 <!-- This should be aligned with KeyboardId.ELEMENT_* --> 495 <attr name="elementName" format="enum"> 496 <enum name="alphabet" value="0" /> 497 <enum name="alphabetManualShifted" value="1" /> 498 <enum name="alphabetAutomaticShifted" value="2" /> 499 <enum name="alphabetShiftLocked" value="3" /> 500 <enum name="alphabetShiftLockShifted" value="4" /> 501 <enum name="symbols" value="5" /> 502 <enum name="symbolsShifted" value="6" /> 503 <enum name="phone" value="7" /> 504 <enum name="phoneSymbols" value="8" /> 505 <enum name="number" value="9" /> 506 <enum name="emojiRecents" value="10" /> 507 <enum name="emojiCategory1" value="11" /> 508 <enum name="emojiCategory2" value="12" /> 509 <enum name="emojiCategory3" value="13" /> 510 <enum name="emojiCategory4" value="14" /> 511 <enum name="emojiCategory5" value="15" /> 512 <enum name="emojiCategory6" value="16" /> 513 </attr> 514 <attr name="elementKeyboard" format="reference"/> 515 <!-- Enable proximity characters correction. Disabled by default. --> 516 <attr name="enableProximityCharsCorrection" format="boolean" /> 517 </declare-styleable> 518 519 <declare-styleable name="KeyboardLayoutSet_Feature"> 520 <!-- This should be aligned with ScriptUtils.SCRIPT_* --> 521 <attr name="supportedScript" format="enum"> 522 <enum name="arabic" value="0" /> 523 <enum name="armenian" value="1" /> 524 <enum name="bengali" value="2" /> 525 <enum name="cyrillic" value="3" /> 526 <enum name="devanagari" value="4" /> 527 <enum name="georgian" value="5" /> 528 <enum name="greek" value="6" /> 529 <enum name="hebrew" value="7" /> 530 <enum name="kannada" value="8" /> 531 <enum name="khmer" value="9" /> 532 <enum name="lao" value="10" /> 533 <enum name="latin" value="11" /> 534 <enum name="malayalam" value="12" /> 535 <enum name="myanmar" value="13" /> 536 <enum name="sinhala" value="14" /> 537 <enum name="tamil" value="15" /> 538 <enum name="telugu" value="16" /> 539 <enum name="thai" value="17" /> 540 </attr> 541 </declare-styleable> 542 543 <declare-styleable name="SeekBarDialogPreference"> 544 <attr name="maxValue" format="integer" /> 545 <attr name="minValue" format="integer" /> 546 <attr name="stepValue" format="integer" /> 547 </declare-styleable> 548</resources> 549