1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2014 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17 18<resources> 19 <declare-styleable name="lbBaseGridView"> 20 <!-- Allow DPAD key to navigate out at the front of the View (where position = 0), 21 default is false --> 22 <attr name="focusOutFront" format="boolean" /> 23 <!-- Allow DPAD key to navigate out at the end of the view, default is false --> 24 <attr name="focusOutEnd" format="boolean" /> 25 <!-- Allow DPAD key to navigate out of first row, for HorizontalGridView, it's the 26 top edge, for VerticalGridView it's the "start" edge. Default value is true. --> 27 <attr name="focusOutSideStart" format="boolean" /> 28 <!-- Allow DPAD key to navigate out of last row, for HorizontalGridView, it's the 29 bottom edge, for VerticalGridView it's the "end" edge. Default value is true. --> 30 <attr name="focusOutSideEnd" format="boolean" /> 31 <!-- Deprecated, use android:horizontalSpacing --> 32 <attr name="horizontalMargin" format="dimension" /> 33 <!-- Deprecated, use android:verticalSpacing --> 34 <attr name="verticalMargin" format="dimension" /> 35 <!-- Defining space between two items horizontally --> 36 <attr name="android:horizontalSpacing" /> 37 <!-- Defining space between two items vertically --> 38 <attr name="android:verticalSpacing" /> 39 <!-- Defining gravity of child view --> 40 <attr name="android:gravity" /> 41 </declare-styleable> 42 43 <declare-styleable name="lbHorizontalGridView"> 44 <!-- Defining height of each row of HorizontalGridView --> 45 <attr name="rowHeight" format="dimension" > 46 <enum name="wrap_content" value="-2" /> 47 </attr> 48 <!-- Defining number of rows --> 49 <attr name="numberOfRows" format="integer" /> 50 </declare-styleable> 51 52 <declare-styleable name="lbVerticalGridView"> 53 <!-- Defining width of each column of VerticalGridView --> 54 <attr name="columnWidth" format="dimension" > 55 <enum name="wrap_content" value="-2" /> 56 </attr> 57 <!-- Defining number of columns --> 58 <attr name="numberOfColumns" format="integer" /> 59 </declare-styleable> 60 61 <declare-styleable name="lbBaseCardView"> 62 <!-- Defines the background of card --> 63 <attr name="cardForeground" format="reference|color"/> 64 <!-- Defines the background of card --> 65 <attr name="cardBackground" format="reference|color"/> 66 <!-- Defines the type of the card layout --> 67 <attr name="cardType" format="enum"> 68 <!-- A simple card layout with a single layout region. --> 69 <enum name="mainOnly" value="0" /> 70 <!-- A card layout with two layout regions: a main area which is 71 always visible, and an info region that appears over the lower 72 area of the main region. --> 73 <enum name="infoOver" value="1" /> 74 <!-- A card layout with two layout regions: a main area which is 75 always visible, and an info region that appears below the main 76 region. --> 77 <enum name="infoUnder" value="2" /> 78 <!-- A card layout with three layout regions: a main area which is 79 always visible, an info region that appears below the main 80 region, and an extra region that appears below the info region 81 after a small delay. --> 82 <enum name="infoUnderWithExtra" value="3" /> 83 </attr> 84 <!-- Defines when the info region of a card layout is displayed. --> 85 <attr name="infoVisibility" format="enum"> 86 <!-- Always display the info region. --> 87 <enum name="always" value="0"/> 88 <!-- Display the info region only when activated. --> 89 <enum name="activated" value="1"/> 90 <!-- Display the info region only when selected. --> 91 <enum name="selected" value="2"/> 92 </attr> 93 <!-- Defines when the extra region of a card layout is displayed. 94 Depends on infoVisibility, meaning the extra region never displays 95 if the info region is not displayed as well. --> 96 <attr name="extraVisibility" format="enum"> 97 <!-- Always display the extra region. --> 98 <enum name="always" value="0"/> 99 <!-- Display the extra region only when activated. --> 100 <enum name="activated" value="1"/> 101 <!-- Display the extra region only when selected. --> 102 <enum name="selected" value="2"/> 103 </attr> 104 <!-- Defines the delay in milliseconds before the selection animation 105 runs for a card layout. --> 106 <attr name="selectedAnimationDelay" format="integer" /> 107 <!-- Defines the duration in milliseconds of the selection animation for 108 a card layout. --> 109 <attr name="selectedAnimationDuration" format="integer" /> 110 <!-- Defines the duration in milliseconds of the activated animation for 111 a card layout. --> 112 <attr name="activatedAnimationDuration" format="integer" /> 113 </declare-styleable> 114 115 <!-- This is the basic set of layout attributes for elements within a card 116 layout. These attributes are specified with the rest of an elements's 117 normal attributes. --> 118 <declare-styleable name="lbBaseCardView_Layout"> 119 <!-- The card layout region defined by this element. At most one of 120 element of each type should be specified as an immediate child of 121 the card layout. --> 122 <attr name="layout_viewType" format="enum"> 123 <!-- The main region of the card. --> 124 <enum name="main" value="0"/> 125 <!-- The info region of the card. --> 126 <enum name="info" value="1"/> 127 <!-- The extra region of the card. --> 128 <enum name="extra" value="2"/> 129 </attr> 130 </declare-styleable> 131 132 <declare-styleable name="lbImageCardView"> 133 <!-- Deprecated. Use 'imageCardViewInfoAreaStyle' instead. --> 134 <attr name="infoAreaBackground" format="reference|color"/> 135 <!-- Defines what components the ImageCardView will use. --> 136 <attr name="lbImageCardViewType"> 137 <flag name="Title" value="1" /> 138 <flag name="Content" value="2" /> 139 <flag name="IconOnRight" value="4" /> 140 <flag name="IconOnLeft" value="8" /> 141 <!-- Only display the main image. --> 142 <flag name="ImageOnly" value="0" /> 143 </attr> 144 </declare-styleable> 145 146 <declare-styleable name="lbSearchOrbView"> 147 <!-- Defining icon of the search affordance --> 148 <attr name="searchOrbIcon" format="reference"/> 149 <!-- Defining icon tint color of the search affordance --> 150 <attr name="searchOrbIconColor" format="reference|color"/> 151 <!-- Defining color of the search affordance --> 152 <attr name="searchOrbColor" format="reference|color" /> 153 <!-- Defining pulse color of the search affordance --> 154 <attr name="searchOrbBrightColor" format="reference|color" /> 155 </declare-styleable> 156 157 <declare-styleable name="lbPlaybackControlsActionIcons"> 158 <attr name="play" format="reference"/> 159 <attr name="pause" format="reference"/> 160 <attr name="fast_forward" format="reference"/> 161 <attr name="rewind" format="reference"/> 162 <attr name="skip_next" format="reference"/> 163 <attr name="skip_previous" format="reference"/> 164 <attr name="thumb_up_outline" format="reference"/> 165 <attr name="thumb_up" format="reference"/> 166 <attr name="thumb_down_outline" format="reference"/> 167 <attr name="thumb_down" format="reference"/> 168 <attr name="repeat" format="reference"/> 169 <attr name="repeat_one" format="reference"/> 170 <attr name="shuffle" format="reference"/> 171 <attr name="high_quality" format="reference"/> 172 <attr name="closed_captioning" format="reference"/> 173 <attr name="picture_in_picture" format="reference"/> 174 </declare-styleable> 175 176 <declare-styleable name="lbSlide"> 177 <!-- A duplication of Slide attribute slideEdge for KitKat --> 178 <attr name="lb_slideEdge"> 179 <!-- Slide to and from the left edge of the Scene. --> 180 <enum name="left" value="0x03" /> 181 <!-- Slide to and from the top edge of the Scene. --> 182 <enum name="top" value="0x30" /> 183 <!-- Slide to and from the right edge of the Scene. --> 184 <enum name="right" value="0x05" /> 185 <!-- Slide to and from the bottom edge of the Scene. --> 186 <enum name="bottom" value="0x50" /> 187 <!-- Slide to and from the x-axis position at the start of the Scene root. --> 188 <enum name="start" value="0x00800003"/> 189 <!-- Slide to and from the x-axis position at the end of the Scene root. --> 190 <enum name="end" value="0x00800005"/> 191 </attr> 192 <attr name="android:duration" /> 193 <attr name="android:startDelay" /> 194 <attr name="android:interpolator" /> 195 </declare-styleable> 196 197 <declare-styleable name="lbResizingTextView"> 198 <!-- Conditions used to trigger text resizing --> 199 <attr name="resizeTrigger"> 200 <!-- Resize text whenever it lays out into the maximum number of lines --> 201 <flag name="maxLines" value="0x01" /> 202 </attr> 203 <!-- Text size for resized text --> 204 <attr name="resizedTextSize" format="dimension" /> 205 <!-- Whether to maintain the same line spacing when text is resized, default is false --> 206 <attr name="maintainLineSpacing" format="boolean" /> 207 <!-- Adjustment to top padding for resized text --> 208 <attr name="resizedPaddingAdjustmentTop" format="dimension" /> 209 <!-- Adjustment to bottom padding for resized text --> 210 <attr name="resizedPaddingAdjustmentBottom" format="dimension" /> 211 </declare-styleable> 212 213 <declare-styleable name="LeanbackTheme"> 214 215 <!-- start padding of BrowseFragment, RowsFragment, DetailsFragment --> 216 <attr name="browsePaddingStart" format="dimension" /> 217 <!-- end padding of BrowseFragment, RowsFragment, DetailsFragment --> 218 <attr name="browsePaddingEnd" format="dimension" /> 219 <!-- top padding of BrowseFragment --> 220 <attr name="browsePaddingTop" format="dimension" /> 221 <!-- bottom padding of BrowseFragment --> 222 <attr name="browsePaddingBottom" format="dimension" /> 223 <!-- start margin of RowsFragment inside BrowseFragment when HeadersFragment is visible --> 224 <attr name="browseRowsMarginStart" format="dimension" /> 225 <!-- top margin of RowsFragment inside BrowseFragment when BrowseFragment title is visible --> 226 <attr name="browseRowsMarginTop" format="dimension" /> 227 <!-- fading edge length of start of browse row when HeadersFragment is visible --> 228 <attr name="browseRowsFadingEdgeLength" format="dimension" /> 229 230 <!-- fragment title text style --> 231 <attr name="browseTitleTextStyle" format="reference" /> 232 233 <!-- fragment title icon style --> 234 <attr name="browseTitleIconStyle" format="reference" /> 235 236 <!-- fragment title view style --> 237 <attr name="browseTitleViewStyle" format="reference" /> 238 239 <!-- customize title view layout file, it must have title view with id browse_title_group --> 240 <attr name="browseTitleViewLayout" format="reference" /> 241 242 <!-- vertical grid style inside HeadersFragment --> 243 <attr name="headersVerticalGridStyle" format="reference" /> 244 <!-- header style inside HeadersFragment --> 245 <attr name="headerStyle" format="reference" /> 246 <!-- Non selectable header style inside HeadersFragment --> 247 <attr name="sectionHeaderStyle" format="reference" /> 248 249 <!-- vertical grid style inside RowsFragment --> 250 <attr name="rowsVerticalGridStyle" format="reference" /> 251 252 <!-- horizontal grid style inside a row --> 253 <attr name="rowHorizontalGridStyle" format="reference" /> 254 <!-- header style inside a row --> 255 <attr name="rowHeaderStyle" format="reference" /> 256 257 <!-- header description style inside a row --> 258 <attr name="rowHeaderDescriptionStyle" format="reference" /> 259 260 <!-- style for the layout that hosting Header inside a row --> 261 <attr name="rowHeaderDockStyle" format="reference" /> 262 263 <!-- hover card title style --> 264 <attr name="rowHoverCardTitleStyle" format="reference" /> 265 <!-- hover card description style --> 266 <attr name="rowHoverCardDescriptionStyle" format="reference" /> 267 268 <!-- CardView styles --> 269 <attr name="baseCardViewStyle" format="reference" /> 270 <attr name="imageCardViewStyle" format="reference" /> 271 <attr name="imageCardViewImageStyle" format="reference" /> 272 <attr name="imageCardViewTitleStyle" format="reference" /> 273 <attr name="imageCardViewContentStyle" format="reference" /> 274 <attr name="imageCardViewBadgeStyle" format="reference" /> 275 <attr name="imageCardViewInfoAreaStyle" format="reference" /> 276 277 <!-- for details overviews --> 278 <attr name="detailsDescriptionTitleStyle" format="reference" /> 279 <attr name="detailsDescriptionSubtitleStyle" format="reference" /> 280 <attr name="detailsDescriptionBodyStyle" format="reference" /> 281 <attr name="detailsActionButtonStyle" format="reference" /> 282 283 <!-- for playlist and playback controls styling --> 284 <attr name="playbackPaddingStart" format="dimension"/> 285 <attr name="playbackPaddingEnd" format="dimension"/> 286 <attr name="playbackMediaItemPaddingStart" format="dimension"/> 287 288 <attr name="playbackMediaListHeaderStyle" format="reference"/> 289 <attr name="playbackMediaItemRowStyle" format="reference"/> 290 <attr name="playbackMediaItemSeparatorStyle" format="reference"/> 291 292 <attr name="playbackMediaListHeaderTitleStyle" format="reference"/> 293 <attr name="playbackMediaItemDetailsStyle" format="reference"/> 294 <attr name="playbackMediaItemNumberViewFlipperStyle" format="reference"/> 295 <attr name="playbackMediaItemNumberViewFlipperLayout" format="reference"/> 296 <attr name="playbackMediaItemNumberStyle" format="reference"/> 297 <attr name="playbackMediaItemNameStyle" format="reference"/> 298 <attr name="playbackMediaItemDurationStyle" format="reference"/> 299 300 <attr name="playbackControlsButtonStyle" format="reference" /> 301 <attr name="playbackControlButtonLabelStyle" format="reference" /> 302 <attr name="playbackControlsTimeStyle" format="reference" /> 303 304 <!-- style for a vertical grid of items --> 305 <attr name="itemsVerticalGridStyle" format="reference" /> 306 307 <!-- for messages in the error fragment --> 308 <attr name="errorMessageStyle" format="reference" /> 309 310 <!-- Default brand color used for the background of certain leanback visual elements 311 such as the headers fragment. If your app runs on: 312 a) SDK 21+: set colorPrimary, used by the leanback launcher and elsewhere, and defaultBrandColor will inherit it. 313 b) SDK < 21: set the brand color explicitly via defaultBrandColor, or programatically. 314 --> 315 <attr name="defaultBrandColor" format="reference|color" /> 316 <!-- Default dark brand color used for the background of certain leanback visual elements 317 such as the actions background. If your app runs on: 318 a) SDK 21+: set colorPrimaryDark, used by the leanback launcher and elsewhere, and defaultBrandColorDark will inherit it. 319 b) SDK < 21: set the brand color explicitly via defaultBrandColorDark, or programatically. 320 --> 321 <attr name="defaultBrandColorDark" format="reference|color" /> 322 323 <!-- Default background color for Search Icon --> 324 <attr name="defaultSearchColor" format="reference|color" /> 325 <!-- Default icon color for Search Icon --> 326 <attr name="defaultSearchIconColor" format="reference|color" /> 327 <!-- Default color that search orb pulses to. If not set, this color is determined programatically based on the defaultSearchColor --> 328 <attr name="defaultSearchBrightColor" format="reference|color" /> 329 <!-- Default color for SectionHeader, by default same as defaultSearchColor --> 330 <attr name="defaultSectionHeaderColor" format="reference|color" /> 331 332 <!-- Style for searchOrb --> 333 <attr name="searchOrbViewStyle" format="reference"/> 334 <attr name="defaultSearchIcon" format="reference" /> 335 336 <attr name="playbackProgressPrimaryColor" format="reference|color" /> 337 <attr name="playbackControlsIconHighlightColor" format="reference|color" /> 338 <attr name="playbackControlsActionIcons" format="reference" /> 339 340 <!-- Default color for dimmed views. --> 341 <attr name="overlayDimMaskColor" format="color" /> 342 <!-- Default level of dimming for active views. --> 343 <attr name="overlayDimActiveLevel" format="fraction" /> 344 <!-- Default level of dimming for dimmed views. --> 345 <attr name="overlayDimDimmedLevel" format="fraction" /> 346 </declare-styleable> 347 348 <declare-styleable name="LeanbackGuidedStepTheme"> 349 350 <!-- Theme attribute for the overall theme used in a GuidedStepFragment. The Leanback themes 351 set the default for this, but a custom theme that does not derive from a leanback theme 352 can set this to <code>@style/Theme.Leanback.GuidedStep</code> in order to specify the 353 default GuidedStepFragment styles. --> 354 <attr name="guidedStepTheme" format="reference" /> 355 <!-- Used to control the height of the fragment. By default this fragment will take 356 up the full height of it's parent. The height of this fragment is governed by 357 this property. Default weight is set to 2.0, so inorder to render the fragment 358 in half screen mode, this attribute should be set to 1.0 --> 359 <attr name="guidedStepHeightWeight" format="float" /> 360 361 <!-- Y offset to the bottom of the TitleView(font baseline) used to align the 362 first action text on the right. --> 363 <attr name="guidedStepKeyline" format="float" /> 364 365 <!-- @hide 366 Theme attribute used to inspect theme inheritance. --> 367 <attr name="guidedStepThemeFlag" format="boolean" /> 368 369 <!-- Theme attribute of background drawable used by GuidedStepFragment. --> 370 <attr name="guidedStepBackground" format="reference|color" /> 371 372 <!-- Theme attribute for the animation used when a guided step element is animated in 373 response to the IME appearing. Default is {@link 374 androidx.leanbackback.R.animator#lb_guidedstep_slide_up}. --> 375 <attr name="guidedStepImeAppearingAnimation" format="reference" /> 376 <!-- Theme attribute for the animation used when a guided step element is animated in 377 response to the IME disappearing. Default is {@link 378 androidx.leanbackback.R.animator#lb_guidedstep_slide_down}. --> 379 <attr name="guidedStepImeDisappearingAnimation" format="reference" /> 380 381 <!-- Theme attribute for the style of the main container in a GuidanceStylist. Default is 382 {@landroidx.leanbackback.R.style#Widget_Leanback_GuidanceContainerStyle}.--> 383 <attr name="guidanceContainerStyle" format="reference" /> 384 <!-- Theme attribute for the style of the title in a GuidanceStylist. Default is 385 {@landroidx.leanbackback.R.style#Widget_Leanback_GuidanceTitleStyle}. --> 386 <attr name="guidanceTitleStyle" format="reference" /> 387 <!-- Theme attribute for the style of the description in a GuidanceStylist. Default is 388 {@landroidx.leanbackback.R.style#Widget_Leanback_GuidanceDescriptionStyle}. --> 389 <attr name="guidanceDescriptionStyle" format="reference" /> 390 <!-- Theme attribute for the style of the breadcrumb in a GuidanceStylist. Default is 391 {@landroidx.leanbackback.R.style#Widget_Leanback_GuidanceBreadcrumbStyle}. --> 392 <attr name="guidanceBreadcrumbStyle" format="reference" /> 393 <!-- Theme attribute for the style of the icon in a GuidanceStylist. Default is 394 {@landroidx.leanbackback.R.style#Widget_Leanback_GuidanceIconStyle}. --> 395 <attr name="guidanceIconStyle" format="reference" /> 396 397 <!-- Theme attribute for the style of the item selector in a GuidedActionsPresenter. Default is 398 ?android:attr/selectableItemBackground. --> 399 <attr name="guidedActionsSelectorDrawable" format="reference" /> 400 401 <!-- Theme attribute for the shadow elevation of GuidedActions. Default is 402 {@landroidx.leanbackback.R.dimen#lb_guidedactions_elevation}.--> 403 <attr name="guidedActionsElevation" format="dimension|reference" /> 404 405 <!-- Theme attribute for the background of GuidedActions. Default is 406 {@landroidx.leanbackback.R.color#lb_guidedactions_background}.--> 407 <attr name="guidedActionsBackground" format="reference" /> 408 409 <!-- Theme attribute for the dark version background of GuidedActions. Default is 410 {@landroidx.leanbackback.R.color#lb_guidedactions_background_dark}.--> 411 <attr name="guidedActionsBackgroundDark" format="reference" /> 412 413 <!-- Theme attribute for the style of the list in a GuidedActionsPresenter. Default is 414 {@landroidx.leanbackback.R.style#Widget_Leanback_GuidedActionsListStyle}.--> 415 <attr name="guidedActionsListStyle" format="reference" /> 416 417 <!-- Theme attribute for the style of the sub actions list in a GuidedActionsPresenter. Default is 418 {@landroidx.leanbackback.R.style#Widget_Leanback_GuidedSubActionsListStyle}.--> 419 <attr name="guidedSubActionsListStyle" format="reference" /> 420 421 <!-- Theme attribute for the style of the list in a GuidedActionsPresenter. Default is 422 {@landroidx.leanbackback.R.style#Widget_Leanback_GuidedButtonActionsListStyle}.--> 423 <attr name="guidedButtonActionsListStyle" format="reference" /> 424 425 <!-- Theme attribute for the style of the container of a single action in a 426 GuidedActionsPresenter. Default is {@link 427 androidx.leanbackback.R.style#Widget_Leanback_GuidedActionItemContainerStyle}. --> 428 <attr name="guidedActionItemContainerStyle" format="reference" /> 429 <!-- Theme attribute for the style of an action's checkmark in a GuidedActionsPresenter. 430 Default is {@link 431 androidx.leanbackback.R.style#Widget_Leanback_GuidedActionItemCheckmarkStyle}. --> 432 <attr name="guidedActionItemCheckmarkStyle" format="reference" /> 433 <!-- Theme attribute for the style of an action's icon in a GuidedActionsPresenter. Default 434 is {@link 435 androidx.leanbackback.R.style#Widget_Leanback_GuidedActionItemIconStyle}. --> 436 <attr name="guidedActionItemIconStyle" format="reference" /> 437 <!-- Theme attribute for the style of an action's content in a GuidedActionsPresenter. 438 Default is {@link 439 androidx.leanbackback.R.style#Widget_Leanback_GuidedActionItemContentStyle}. --> 440 <attr name="guidedActionItemContentStyle" format="reference" /> 441 <!-- Theme attribute for the style of an action's title in a GuidedActionsPresenter. Default 442 is {@link 443 androidx.leanbackback.R.style#Widget_Leanback_GuidedActionItemTitleStyle}. --> 444 <attr name="guidedActionItemTitleStyle" format="reference" /> 445 <!-- Theme attribute for the style of an action's description in a GuidedActionsPresenter. 446 Default is {@link 447 androidx.leanbackback.R.style#Widget_Leanback_GuidedActionItemDescriptionStyle}. --> 448 <attr name="guidedActionItemDescriptionStyle" format="reference" /> 449 <!-- Theme attribute for the style of an action's chevron decoration in a 450 GuidedActionsPresenter. Default is {@link 451 androidx.leanbackback.R.style#Widget_Leanback_GuidedActionItemChevronStyle}. --> 452 <attr name="guidedActionItemChevronStyle" format="reference" /> 453 454 <!-- Theme attribute for the animation used in a GuidedActionsPresenter when an action 455 is pressed. Default is {@link 456 androidx.leanbackback.R.animator#lb_guidedactions_item_pressed}. --> 457 <attr name="guidedActionPressedAnimation" format="reference" /> 458 <!-- Theme attribute for the animation used in a GuidedActionsPresenter when an action 459 is unpressed. Default is {@link 460 androidx.leanbackback.R.animator#lb_guidedactions_item_unpressed}. --> 461 <attr name="guidedActionUnpressedAnimation" format="reference" /> 462 <!-- Theme attribute used in a GuidedActionsPresenter for the alpha value of the chevron 463 decoration when its action is enabled. Default is {@link 464 androidx.leanbackback.R.string#lb_guidedactions_item_enabled_chevron_alpha}. --> 465 <attr name="guidedActionEnabledChevronAlpha" format="reference" /> 466 <!-- Theme attribute used in a GuidedActionsPresenter for the alpha value of the chevron 467 decoration when its action is disabled. Default is {@link 468 androidx.leanbackback.R.string#lb_guidedactions_item_disabled_chevron_alpha}. --> 469 <attr name="guidedActionDisabledChevronAlpha" format="reference" /> 470 <!-- Theme attribute used for the width weight of actions in comparison to guidance area. Default is {@link 471 androidx.leanbackback.R.string#lb_guidedactions_width_weight}. --> 472 <attr name="guidedActionContentWidthWeight" format="reference" /> 473 <!-- Theme attribute used for the width weight of actions and button actions in comparison to guidance area. Default is {@link 474 androidx.leanbackback.R.string#lb_guidedactions_width_weight_two_panels}. --> 475 <attr name="guidedActionContentWidthWeightTwoPanels" format="reference" /> 476 <!-- Theme attribute used for the width weight of button actions in compare to actions --> 477 <attr name="guidedButtonActionsWidthWeight" format="reference" /> 478 <!-- Theme attribute used in a GuidedActionsPresenter for the max lines of the title text 479 view when the action's isMultilineDescription is set to false. Default is {@link 480 androidx.leanbackback.R.integer#lb_guidedactions_item_title_min_lines}. --> 481 <attr name="guidedActionTitleMinLines" format="reference" /> 482 <!-- Theme attribute used in a GuidedActionsPresenter for the max lines of the title text 483 view when the action's isMultilineDescription is set to true. Default is {@link 484 androidx.leanbackback.R.integer#lb_guidedactions_item_title_max_lines}. --> 485 <attr name="guidedActionTitleMaxLines" format="reference" /> 486 <!-- Theme attribute used in a GuidedActionsPresenter for the max lines of the title text 487 view when the action's isMultilineDescription is set to false. Default is {@link 488 androidx.leanbackback.R.integer#lb_guidedactions_item_description_min_lines}. --> 489 <attr name="guidedActionDescriptionMinLines" format="reference" /> 490 <!-- Theme attribute used in a GuidedActionsPresenter for the vertical padding between 491 action views in the list. Default is {@link 492 androidx.leanbackback.R.dimen#lb_guidedactions_vertical_padding}. --> 493 <attr name="guidedActionVerticalPadding" format="reference" /> 494 495 <!-- Deprecated theme attribute, do not use --> 496 <attr name="guidedActionsContainerStyle" format="reference" /> 497 <!-- Deprecated theme attribute, do not use --> 498 <attr name="guidedActionsSelectorStyle" format="reference" /> 499 <!-- Deprecated theme attribute, do not use --> 500 <attr name="guidedStepEntryAnimation" format="reference" /> 501 <!-- Deprecated theme attribute, do not use --> 502 <attr name="guidedStepExitAnimation" format="reference" /> 503 <!-- Deprecated theme attribute, do not use --> 504 <attr name="guidedStepReentryAnimation" format="reference" /> 505 <!-- Deprecated theme attribute, do not use --> 506 <attr name="guidedStepReturnAnimation" format="reference" /> 507 <!-- Deprecated theme attribute, do not use --> 508 <attr name="guidanceEntryAnimation" format="reference" /> 509 <!-- Deprecated theme attribute, do not use --> 510 <attr name="guidedActionsEntryAnimation" format="reference" /> 511 <!-- Deprecated theme attribute, do not use --> 512 <attr name="guidedActionsSelectorShowAnimation" format="reference" /> 513 <!-- Deprecated theme attribute, do not use --> 514 <attr name="guidedActionsSelectorHideAnimation" format="reference" /> 515 <!-- Deprecated theme attribute, do not use --> 516 <attr name="guidedActionCheckedAnimation" format="reference" /> 517 <!-- Deprecated theme attribute, do not use --> 518 <attr name="guidedActionUncheckedAnimation" format="reference" /> 519 <!-- Deprecated theme attribute, do not use --> 520 <attr name="guidedActionContentWidth" format="reference" /> 521 <!-- Deprecated theme attribute, do not use --> 522 <attr name="guidedActionContentWidthNoIcon" format="reference" /> 523 </declare-styleable> 524 525 <declare-styleable name="lbTimePicker"> 526 <!-- attr indicating whether time is in 24 hour format (true) or AM/PM format (false). --> 527 <attr name="is24HourFormat" format="boolean" /> 528 <!-- attr indicating whether time fields should be initially set to the current time. 529 By default, it's true i.e. TimePicker initializes fields with the current time. --> 530 <attr name="useCurrentTime" format="boolean" /> 531 </declare-styleable> 532 533 <declare-styleable name="lbDatePicker"> 534 <attr name="android:minDate" /> 535 <attr name="android:maxDate" /> 536 <!-- e.g. "MDY", "MY" --> 537 <attr name="datePickerFormat" format="string"/> 538 </declare-styleable> 539 540 <declare-styleable name="LeanbackOnboardingTheme"> 541 <!-- Theme attribute for the overall theme used in the onboarding. The Leanback themes set 542 the default for this, but a custom theme that does not derive from a leanback theme can 543 set this to <code>@style/Theme.Leanback.Onboarding</code> in order to specify the 544 default OnboardingFragment styles. --> 545 <attr name="onboardingTheme" format="reference" /> 546 547 <!-- Theme attribute for the style of the header in onboarding screen. Default is 548 {@landroidx.leanbackback.R.style#Widget_Leanback_OnboardingHeaderStyle}.--> 549 <attr name="onboardingHeaderStyle" format="reference" /> 550 <!-- Theme attribute for the style of the title text in onboarding screen. Default is 551 {@landroidx.leanbackback.R.style#Widget_Leanback_OnboardingTitleStyle}.--> 552 <attr name="onboardingTitleStyle" format="reference" /> 553 <!-- Theme attribute for the style of the description text in onboarding screen. Default is 554 {@landroidx.leanbackback.R.style#Widget_Leanback_OnboardingDescriptionStyle}.--> 555 <attr name="onboardingDescriptionStyle" format="reference" /> 556 557 <!-- Theme attribute for the style of the navigator container in onboarding screen. Default is 558 {@landroidx.leanbackback.R.style#Widget_Leanback_OnboardingNavigatorContainerStyle}.--> 559 <attr name="onboardingNavigatorContainerStyle" format="reference" /> 560 <!-- Theme attribute for the style of the page indicator in onboarding screen. Default is 561 {@landroidx.leanbackback.R.style#Widget_Leanback_OnboardingPageIndicatorStyle}.--> 562 <attr name="onboardingPageIndicatorStyle" format="reference" /> 563 <!-- Theme attribute for the style of the start button in onboarding screen. Default is 564 {@landroidx.leanbackback.R.style#Widget_Leanback_OnboardingStartButtonStyle}.--> 565 <attr name="onboardingStartButtonStyle" format="reference" /> 566 567 <!-- Theme attribute for the style of the logo in onboarding screen. Default is 568 {@landroidx.leanbackback.R.style#Widget_Leanback_OnboardingLogoStyle}.--> 569 <attr name="onboardingLogoStyle" format="reference" /> 570 571 <!-- Theme attribute for the style of the main icon in onboarding fragment. Default is 572 {@landroidx.leanbackback.R.style#Widget_Leanback_OnboardingMainIconStyle}.--> 573 <attr name="onboardingMainIconStyle" format="reference" /> 574 </declare-styleable> 575 576 <declare-styleable name="PagingIndicator"> 577 <!-- Attributes for the radius of the dot. --> 578 <attr name="lbDotRadius" format="reference" /> 579 <!-- Attributes for the radius of the arrow. --> 580 <attr name="arrowRadius" format="reference" /> 581 <!-- Attributes for the distance between the centers of the adjacent dots. --> 582 <attr name="dotToDotGap" format="reference" /> 583 <!-- Attributes for the distance between the centers of the arrow circle and the adjacent dot. --> 584 <attr name="dotToArrowGap" format="reference" /> 585 <!-- Attribute for background color of the dots in PagingIndicator. --> 586 <attr name="dotBgColor" format="reference" /> 587 <!-- Attribute for the arrow color in PagingIndicator. --> 588 <attr name="arrowColor" format="reference" /> 589 <!-- Attribute for background color of the arrow in PagingIndicator. --> 590 <attr name="arrowBgColor" format="reference" /> 591 </declare-styleable> 592</resources> 593