Ying Wang | 3fbe0d4 | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 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 | <!-- Defining margin between two items horizontally --> |
| 26 | <attr name="horizontalMargin" format="dimension" /> |
| 27 | <!-- Defining margin between two items vertically --> |
| 28 | <attr name="verticalMargin" format="dimension" /> |
| 29 | <!-- Defining gravity of child view --> |
| 30 | <attr name="android:gravity" /> |
| 31 | </declare-styleable> |
| 32 | |
| 33 | <declare-styleable name="lbHorizontalGridView"> |
| 34 | <!-- Defining height of each row of HorizontalGridView --> |
| 35 | <attr name="rowHeight" format="dimension" > |
| 36 | <enum name="wrap_content" value="-2" /> |
| 37 | </attr> |
| 38 | <!-- Defining number of rows --> |
| 39 | <attr name="numberOfRows" format="integer" /> |
| 40 | </declare-styleable> |
| 41 | |
| 42 | <declare-styleable name="lbVerticalGridView"> |
| 43 | <!-- Defining width of each column of VerticalGridView --> |
| 44 | <attr name="columnWidth" format="dimension" > |
| 45 | <enum name="wrap_content" value="-2" /> |
| 46 | </attr> |
| 47 | <!-- Defining number of columns --> |
| 48 | <attr name="numberOfColumns" format="integer" /> |
| 49 | </declare-styleable> |
| 50 | |
| 51 | <declare-styleable name="lbBaseCardView"> |
| 52 | <!-- Defines the type of the card layout --> |
| 53 | <attr name="cardType" format="enum"> |
| 54 | <!-- A simple card layout with a single layout region. --> |
| 55 | <enum name="mainOnly" value="0" /> |
| 56 | <!-- A card layout with two layout regions: a main area which is |
| 57 | always visible, and an info region that appears over the lower |
| 58 | area of the main region. --> |
| 59 | <enum name="infoOver" value="1" /> |
| 60 | <!-- A card layout with two layout regions: a main area which is |
| 61 | always visible, and an info region that appears below the main |
| 62 | region. --> |
| 63 | <enum name="infoUnder" value="2" /> |
| 64 | <!-- A card layout with three layout regions: a main area which is |
| 65 | always visible, an info region that appears below the main |
| 66 | region, and an extra region that appears below the info region |
| 67 | after a small delay. --> |
| 68 | <enum name="infoUnderWithExtra" value="3" /> |
| 69 | </attr> |
| 70 | <!-- Defines when the info region of a card layout is displayed. --> |
| 71 | <attr name="infoVisibility" format="enum"> |
| 72 | <!-- Always display the info region. --> |
| 73 | <enum name="always" value="0"/> |
| 74 | <!-- Display the info region only when activated. --> |
| 75 | <enum name="activated" value="1"/> |
| 76 | <!-- Display the info region only when selected. --> |
| 77 | <enum name="selected" value="2"/> |
| 78 | </attr> |
| 79 | <!-- Defines when the extra region of a card layout is displayed. |
| 80 | Depends on infoVisibility, meaning the extra region never displays |
| 81 | if the info region is not displayed as well. --> |
| 82 | <attr name="extraVisibility" format="enum"> |
| 83 | <!-- Always display the extra region. --> |
| 84 | <enum name="always" value="0"/> |
| 85 | <!-- Display the extra region only when activated. --> |
| 86 | <enum name="activated" value="1"/> |
| 87 | <!-- Display the extra region only when selected. --> |
| 88 | <enum name="selected" value="2"/> |
| 89 | </attr> |
| 90 | <!-- Defines the delay in milliseconds before the selection animation |
| 91 | runs for a card layout. --> |
| 92 | <attr name="selectedAnimationDelay" format="integer" /> |
| 93 | <!-- Defines the duration in milliseconds of the selection animation for |
| 94 | a card layout. --> |
| 95 | <attr name="selectedAnimationDuration" format="integer" /> |
| 96 | <!-- Defines the duration in milliseconds of the activated animation for |
| 97 | a card layout. --> |
| 98 | <attr name="activatedAnimationDuration" format="integer" /> |
| 99 | </declare-styleable> |
| 100 | |
| 101 | <!-- This is the basic set of layout attributes for elements within a card |
| 102 | layout. These attributes are specified with the rest of an elements's |
| 103 | normal attributes. --> |
| 104 | <declare-styleable name="lbBaseCardView_Layout"> |
| 105 | <!-- The card layout region defined by this element. At most one of |
| 106 | element of each type should be specified as an immediate child of |
| 107 | the card layout. --> |
| 108 | <attr name="layout_viewType" format="enum"> |
| 109 | <!-- The main region of the card. --> |
| 110 | <enum name="main" value="0"/> |
| 111 | <!-- The info region of the card. --> |
| 112 | <enum name="info" value="1"/> |
| 113 | <!-- The extra region of the card. --> |
| 114 | <enum name="extra" value="2"/> |
| 115 | </attr> |
| 116 | </declare-styleable> |
| 117 | |
Sandeep Siddhartha | fbcf102 | 2014-09-16 13:57:56 -0700 | [diff] [blame] | 118 | <declare-styleable name="lbImageCardView"> |
| 119 | <attr name="infoAreaBackground" format="reference|color"/> |
| 120 | </declare-styleable> |
| 121 | |
Ying Wang | 3fbe0d4 | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 122 | <declare-styleable name="lbSearchOrbView"> |
| 123 | <!-- Defining icon of the search affordance --> |
| 124 | <attr name="searchOrbIcon" format="reference"/> |
| 125 | <!-- Defining icon tint color of the search affordance --> |
| 126 | <attr name="searchOrbIconColor" format="reference|color"/> |
| 127 | <!-- Defining color of the search affordance --> |
| 128 | <attr name="searchOrbColor" format="reference|color" /> |
| 129 | <!-- Defining pulse color of the search affordance --> |
| 130 | <attr name="searchOrbBrightColor" format="reference|color" /> |
| 131 | </declare-styleable> |
| 132 | |
Sandeep Siddhartha | fbcf102 | 2014-09-16 13:57:56 -0700 | [diff] [blame] | 133 | <declare-styleable name="lbPlaybackControlsActionIcons"> |
| 134 | <attr name="play" format="reference"/> |
| 135 | <attr name="pause" format="reference"/> |
| 136 | <attr name="fast_forward" format="reference"/> |
| 137 | <attr name="rewind" format="reference"/> |
| 138 | <attr name="skip_next" format="reference"/> |
| 139 | <attr name="skip_previous" format="reference"/> |
| 140 | <attr name="thumb_up_outline" format="reference"/> |
| 141 | <attr name="thumb_up" format="reference"/> |
| 142 | <attr name="thumb_down_outline" format="reference"/> |
| 143 | <attr name="thumb_down" format="reference"/> |
| 144 | <attr name="repeat" format="reference"/> |
| 145 | <attr name="repeat_one" format="reference"/> |
| 146 | <attr name="shuffle" format="reference"/> |
| 147 | <attr name="high_quality" format="reference"/> |
| 148 | <attr name="closed_captioning" format="reference"/> |
| 149 | </declare-styleable> |
| 150 | |
Chris Banes | 16fb73e | 2015-02-16 18:24:06 +0000 | [diff] [blame] | 151 | <declare-styleable name="lbSlide"> |
| 152 | <!-- A duplication of Slide attribute slideEdge for KitKat --> |
| 153 | <attr name="lb_slideEdge"> |
| 154 | <!-- Slide to and from the left edge of the Scene. --> |
| 155 | <enum name="left" value="0x03" /> |
| 156 | <!-- Slide to and from the top edge of the Scene. --> |
| 157 | <enum name="top" value="0x30" /> |
| 158 | <!-- Slide to and from the right edge of the Scene. --> |
| 159 | <enum name="right" value="0x05" /> |
| 160 | <!-- Slide to and from the bottom edge of the Scene. --> |
| 161 | <enum name="bottom" value="0x50" /> |
| 162 | <!-- Slide to and from the x-axis position at the start of the Scene root. --> |
| 163 | <enum name="start" value="0x00800003"/> |
| 164 | <!-- Slide to and from the x-axis position at the end of the Scene root. --> |
| 165 | <enum name="end" value="0x00800005"/> |
| 166 | </attr> |
| 167 | <attr name="android:duration" /> |
| 168 | <attr name="android:startDelay" /> |
| 169 | <attr name="android:interpolator" /> |
| 170 | </declare-styleable> |
| 171 | |
| 172 | <declare-styleable name="lbResizingTextView"> |
| 173 | <!-- Conditions used to trigger text resizing --> |
| 174 | <attr name="resizeTrigger"> |
| 175 | <!-- Resize text whenever it lays out into the maximum number of lines --> |
| 176 | <flag name="maxLines" value="0x01" /> |
| 177 | </attr> |
| 178 | <!-- Text size for resized text --> |
| 179 | <attr name="resizedTextSize" format="dimension" /> |
| 180 | <!-- Whether to maintain the same line spacing when text is resized, default is false --> |
| 181 | <attr name="maintainLineSpacing" format="boolean" /> |
| 182 | <!-- Adjustment to top padding for resized text --> |
| 183 | <attr name="resizedPaddingAdjustmentTop" format="dimension" /> |
| 184 | <!-- Adjustment to bottom padding for resized text --> |
| 185 | <attr name="resizedPaddingAdjustmentBottom" format="dimension" /> |
| 186 | </declare-styleable> |
| 187 | |
Ying Wang | 3fbe0d4 | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 188 | <declare-styleable name="LeanbackTheme"> |
| 189 | |
Chris Banes | 16fb73e | 2015-02-16 18:24:06 +0000 | [diff] [blame] | 190 | <!-- start padding of BrowseFragment, RowsFragment, DetailsFragment --> |
| 191 | <attr name="browsePaddingStart" format="dimension" /> |
| 192 | <!-- end padding of BrowseFragment, RowsFragment, DetailsFragment --> |
| 193 | <attr name="browsePaddingEnd" format="dimension" /> |
Ying Wang | 3fbe0d4 | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 194 | <!-- top padding of BrowseFragment --> |
| 195 | <attr name="browsePaddingTop" format="dimension" /> |
| 196 | <!-- bottom padding of BrowseFragment --> |
| 197 | <attr name="browsePaddingBottom" format="dimension" /> |
| 198 | <!-- start margin of RowsFragment inside BrowseFragment when HeadersFragment is visible --> |
| 199 | <attr name="browseRowsMarginStart" format="dimension" /> |
| 200 | <!-- top margin of RowsFragment inside BrowseFragment when BrowseFragment title is visible --> |
| 201 | <attr name="browseRowsMarginTop" format="dimension" /> |
| 202 | <!-- fading edge length of start of browse row when HeadersFragment is visible --> |
| 203 | <attr name="browseRowsFadingEdgeLength" format="dimension" /> |
| 204 | |
| 205 | <!-- BrowseFragment Title text style --> |
| 206 | <attr name="browseTitleTextStyle" format="reference" /> |
| 207 | |
| 208 | <!-- BrowseFragment Title icon style --> |
| 209 | <attr name="browseTitleIconStyle" format="reference" /> |
| 210 | |
| 211 | <!-- BrowseFragment TitleView style --> |
| 212 | <attr name="browseTitleViewStyle" format="reference" /> |
| 213 | |
| 214 | <!-- vertical grid style inside HeadersFragment --> |
| 215 | <attr name="headersVerticalGridStyle" format="reference" /> |
| 216 | <!-- header style inside HeadersFragment --> |
| 217 | <attr name="headerStyle" format="reference" /> |
| 218 | |
| 219 | <!-- vertical grid style inside RowsFragment --> |
| 220 | <attr name="rowsVerticalGridStyle" format="reference" /> |
| 221 | |
| 222 | <!-- horizontal grid style inside a row --> |
| 223 | <attr name="rowHorizontalGridStyle" format="reference" /> |
| 224 | <!-- header style inside a row --> |
| 225 | <attr name="rowHeaderStyle" format="reference" /> |
Chris Banes | 8ac0dd3 | 2015-03-02 09:04:03 +0000 | [diff] [blame] | 226 | <!-- style for the layout that hosting Header inside a row --> |
| 227 | <attr name="rowHeaderDockStyle" format="reference" /> |
Ying Wang | 3fbe0d4 | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 228 | |
| 229 | <!-- hover card title style --> |
| 230 | <attr name="rowHoverCardTitleStyle" format="reference" /> |
| 231 | <!-- hover card description style --> |
| 232 | <attr name="rowHoverCardDescriptionStyle" format="reference" /> |
| 233 | |
| 234 | <!-- CardView styles --> |
| 235 | <attr name="baseCardViewStyle" format="reference" /> |
| 236 | <attr name="imageCardViewStyle" format="reference" /> |
| 237 | |
| 238 | <!-- for details overviews --> |
| 239 | <attr name="detailsDescriptionTitleStyle" format="reference" /> |
| 240 | <attr name="detailsDescriptionSubtitleStyle" format="reference" /> |
| 241 | <attr name="detailsDescriptionBodyStyle" format="reference" /> |
| 242 | <attr name="detailsActionButtonStyle" format="reference" /> |
| 243 | |
Sandeep Siddhartha | fbcf102 | 2014-09-16 13:57:56 -0700 | [diff] [blame] | 244 | <!-- for playback controls --> |
| 245 | <attr name="playbackControlsButtonStyle" format="reference" /> |
Chris Banes | 16fb73e | 2015-02-16 18:24:06 +0000 | [diff] [blame] | 246 | <attr name="playbackControlButtonLabelStyle" format="reference" /> |
Sandeep Siddhartha | fbcf102 | 2014-09-16 13:57:56 -0700 | [diff] [blame] | 247 | <attr name="playbackControlsTimeStyle" format="reference" /> |
| 248 | |
Ying Wang | 3fbe0d4 | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 249 | <!-- style for a vertical grid of items --> |
| 250 | <attr name="itemsVerticalGridStyle" format="reference" /> |
| 251 | |
| 252 | <!-- for messages in the error fragment --> |
| 253 | <attr name="errorMessageStyle" format="reference" /> |
| 254 | |
Sandeep Siddhartha | fbcf102 | 2014-09-16 13:57:56 -0700 | [diff] [blame] | 255 | <!-- Default brand color used for the background of certain leanback visual elements |
| 256 | such as the headers fragment. If your app runs on: |
| 257 | a) SDK 21+: set colorPrimary, used by the leanback launcher and elsewhere, and defaultBrandColor will inherit it. |
| 258 | b) SDK < 21: set the brand color explicitly via defaultBrandColor, or programatically. |
| 259 | --> |
Ying Wang | 3fbe0d4 | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 260 | <attr name="defaultBrandColor" format="reference|color" /> |
Sandeep Siddhartha | fbcf102 | 2014-09-16 13:57:56 -0700 | [diff] [blame] | 261 | |
| 262 | <!-- Default colors --> |
Ying Wang | 3fbe0d4 | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 263 | <attr name="defaultSearchColor" format="reference|color" /> |
| 264 | <!-- Default color that search orb pulses to. If not set, this color is determined programatically based on the defaultSearchColor --> |
| 265 | <attr name="defaultSearchBrightColor" format="reference|color" /> |
| 266 | |
| 267 | <!-- Style for searchOrb --> |
| 268 | <attr name="searchOrbViewStyle" format="reference"/> |
| 269 | <attr name="defaultSearchIcon" format="reference" /> |
Sandeep Siddhartha | fbcf102 | 2014-09-16 13:57:56 -0700 | [diff] [blame] | 270 | |
| 271 | <attr name="playbackProgressPrimaryColor" format="reference|color" /> |
| 272 | <attr name="playbackControlsIconHighlightColor" format="reference|color" /> |
| 273 | <attr name="playbackControlsActionIcons" format="reference" /> |
| 274 | |
| 275 | <!-- Default color for dimmed views. --> |
| 276 | <attr name="overlayDimMaskColor" format="color" /> |
| 277 | <!-- Default level of dimming for active views. --> |
| 278 | <attr name="overlayDimActiveLevel" format="fraction" /> |
| 279 | <!-- Default level of dimming for dimmed views. --> |
| 280 | <attr name="overlayDimDimmedLevel" format="fraction" /> |
Clara Bayarri | 47af33a | 2015-04-09 11:38:09 +0100 | [diff] [blame] | 281 | </declare-styleable> |
| 282 | |
| 283 | <declare-styleable name="LeanbackGuidedStepTheme"> |
| 284 | |
| 285 | <!-- Theme attribute for the overall theme used in a GuidedStepFragment. The Leanback themes |
| 286 | set the default for this, but a custom theme that does not derive from a leanback theme |
| 287 | can set this to <code>@style/Theme.Leanback.GuidedStep</code> in order to specify the |
| 288 | default GuidedStepFragment styles. --> |
| 289 | <attr name="guidedStepTheme" format="reference" /> |
| 290 | |
| 291 | <!-- @hide |
| 292 | Theme attribute used to inspect theme inheritance. --> |
| 293 | <attr name="guidedStepThemeFlag" format="boolean" /> |
| 294 | |
| 295 | <!-- Theme attribute for the animation used when a guided step element is animated in on |
| 296 | fragment stack push. Default is {@link |
| 297 | android.support.v17.leanback.R.animator#lb_guidedstep_slide_in_from_end}. --> |
| 298 | <attr name="guidedStepEntryAnimation" format="reference" /> |
| 299 | <!-- Theme attribute for the animation used when a guided step element is animated out on |
| 300 | fragment stack push. Default is {@link |
| 301 | android.support.v17.leanback.R.animator#lb_guidedstep_slide_out_to_start}. --> |
| 302 | <attr name="guidedStepExitAnimation" format="reference" /> |
| 303 | <!-- Theme attribute for the animation used when a guided step element is animated in on |
| 304 | fragment stack pop. Default is {@link |
| 305 | android.support.v17.leanback.R.animator#lb_guidedstep_slide_in_from_start}. --> |
| 306 | <attr name="guidedStepReentryAnimation" format="reference" /> |
| 307 | <!-- Theme attribute for the animation used when a guided step element is animated out on |
| 308 | fragment stack pop. Default is {@link |
| 309 | android.support.v17.leanback.R.animator#lb_guidedstep_slide_out_to_end}. --> |
| 310 | <attr name="guidedStepReturnAnimation" format="reference" /> |
| 311 | |
| 312 | <!-- Theme attribute for the animation used when the guidance is animated in at activity |
| 313 | start. Default is {@link android.support.v17.leanback.R.animator#lb_guidance_entry}. |
| 314 | --> |
| 315 | <attr name="guidanceEntryAnimation" format="reference" /> |
| 316 | <!-- Theme attribute for the style of the main container in a GuidanceStylist. Default is |
| 317 | {@link android.support.v17.leanback.R.style#Widget_Leanback_GuidanceContainerStyle}.--> |
| 318 | <attr name="guidanceContainerStyle" format="reference" /> |
| 319 | <!-- Theme attribute for the style of the title in a GuidanceStylist. Default is |
| 320 | {@link android.support.v17.leanback.R.style#Widget_Leanback_GuidanceTitleStyle}. --> |
| 321 | <attr name="guidanceTitleStyle" format="reference" /> |
| 322 | <!-- Theme attribute for the style of the description in a GuidanceStylist. Default is |
| 323 | {@link android.support.v17.leanback.R.style#Widget_Leanback_GuidanceDescriptionStyle}. --> |
| 324 | <attr name="guidanceDescriptionStyle" format="reference" /> |
| 325 | <!-- Theme attribute for the style of the breadcrumb in a GuidanceStylist. Default is |
| 326 | {@link android.support.v17.leanback.R.style#Widget_Leanback_GuidanceBreadcrumbStyle}. --> |
| 327 | <attr name="guidanceBreadcrumbStyle" format="reference" /> |
| 328 | <!-- Theme attribute for the style of the icon in a GuidanceStylist. Default is |
| 329 | {@link android.support.v17.leanback.R.style#Widget_Leanback_GuidanceIconStyle}. --> |
| 330 | <attr name="guidanceIconStyle" format="reference" /> |
| 331 | |
| 332 | <!-- Theme attribute for the animation used in a GuidedActionsPresenter when the actions |
| 333 | list is animated in at activity start. Default is {@link |
| 334 | android.support.v17.leanback.R.animator#lb_guidedactions_entry}. --> |
| 335 | <attr name="guidedActionsEntryAnimation" format="reference" /> |
| 336 | <!-- Theme attribute for the animation used in a GuidedActionsPresenter when the action |
| 337 | selector is animated in at activity start. Default is {@link |
| 338 | android.support.v17.leanback.R.animator#lb_guidedactions_selector_show}. --> |
| 339 | <attr name="guidedActionsSelectorShowAnimation" format="reference" /> |
| 340 | <!-- Theme attribute for the animation used in a GuidedActionsPresenter when the action |
| 341 | selector is animated in at activity start. Default is {@link |
| 342 | android.support.v17.leanback.R.animator#lb_guidedactions_selector_hide}. --> |
| 343 | <attr name="guidedActionsSelectorHideAnimation" format="reference" /> |
| 344 | <!-- Theme attribute for the style of the container in a GuidedActionsPresenter. Default is |
| 345 | {@link android.support.v17.leanback.R.style#Widget_Leanback_GuidedActionsContainerStyle}. --> |
| 346 | <attr name="guidedActionsContainerStyle" format="reference" /> |
| 347 | <!-- Theme attribute for the style of the item selector in a GuidedActionsPresenter. Default is |
| 348 | {@link android.support.v17.leanback.R.style#Widget_Leanback_GuidedActionsSelectorStyle}. --> |
| 349 | <attr name="guidedActionsSelectorStyle" format="reference" /> |
| 350 | <!-- Theme attribute for the style of the list in a GuidedActionsPresenter. Default is |
| 351 | {@link android.support.v17.leanback.R.style#Widget_Leanback_GuidedActionsListStyle}.--> |
| 352 | <attr name="guidedActionsListStyle" format="reference" /> |
| 353 | |
| 354 | <!-- Theme attribute for the style of the container of a single action in a |
| 355 | GuidedActionsPresenter. Default is {@link |
| 356 | android.support.v17.leanback.R.style#Widget_Leanback_GuidedActionItemContainerStyle}. --> |
| 357 | <attr name="guidedActionItemContainerStyle" format="reference" /> |
| 358 | <!-- Theme attribute for the style of an action's checkmark in a GuidedActionsPresenter. |
| 359 | Default is {@link |
| 360 | android.support.v17.leanback.R.style#Widget_Leanback_GuidedActionItemCheckmarkStyle}. --> |
| 361 | <attr name="guidedActionItemCheckmarkStyle" format="reference" /> |
| 362 | <!-- Theme attribute for the style of an action's icon in a GuidedActionsPresenter. Default |
| 363 | is {@link |
| 364 | android.support.v17.leanback.R.style#Widget_Leanback_GuidedActionItemIconStyle}. --> |
| 365 | <attr name="guidedActionItemIconStyle" format="reference" /> |
| 366 | <!-- Theme attribute for the style of an action's content in a GuidedActionsPresenter. |
| 367 | Default is {@link |
| 368 | android.support.v17.leanback.R.style#Widget_Leanback_GuidedActionItemContentStyle}. --> |
| 369 | <attr name="guidedActionItemContentStyle" format="reference" /> |
| 370 | <!-- Theme attribute for the style of an action's title in a GuidedActionsPresenter. Default |
| 371 | is {@link |
| 372 | android.support.v17.leanback.R.style#Widget_Leanback_GuidedActionItemTitleStyle}. --> |
| 373 | <attr name="guidedActionItemTitleStyle" format="reference" /> |
| 374 | <!-- Theme attribute for the style of an action's description in a GuidedActionsPresenter. |
| 375 | Default is {@link |
| 376 | android.support.v17.leanback.R.style#Widget_Leanback_GuidedActionItemDescriptionStyle}. --> |
| 377 | <attr name="guidedActionItemDescriptionStyle" format="reference" /> |
| 378 | <!-- Theme attribute for the style of an action's chevron decoration in a |
| 379 | GuidedActionsPresenter. Default is {@link |
| 380 | android.support.v17.leanback.R.style#Widget_Leanback_GuidedActionItemChevronStyle}. --> |
| 381 | <attr name="guidedActionItemChevronStyle" format="reference" /> |
| 382 | |
| 383 | <!-- Theme attribute for the animation used in a GuidedActionsPresenter when an action |
| 384 | is checked. Default is {@link |
| 385 | android.support.v17.leanback.R.animator#lb_guidedactions_item_checked}. --> |
| 386 | <attr name="guidedActionCheckedAnimation" format="reference" /> |
| 387 | <!-- Theme attribute for the animation used in a GuidedActionsPresenter when an action |
| 388 | is unchecked. Default is {@link |
| 389 | android.support.v17.leanback.R.animator#lb_guidedactions_item_unchecked}. --> |
| 390 | <attr name="guidedActionUncheckedAnimation" format="reference" /> |
| 391 | <!-- Theme attribute for the animation used in a GuidedActionsPresenter when an action |
| 392 | is pressed. Default is {@link |
| 393 | android.support.v17.leanback.R.animator#lb_guidedactions_item_pressed}. --> |
| 394 | <attr name="guidedActionPressedAnimation" format="reference" /> |
| 395 | <!-- Theme attribute for the animation used in a GuidedActionsPresenter when an action |
| 396 | is unpressed. Default is {@link |
| 397 | android.support.v17.leanback.R.animator#lb_guidedactions_item_unpressed}. --> |
| 398 | <attr name="guidedActionUnpressedAnimation" format="reference" /> |
| 399 | <!-- Theme attribute used in a GuidedActionsPresenter for the alpha value of the chevron |
| 400 | decoration when its action is enabled. Default is {@link |
| 401 | android.support.v17.leanback.R.string#lb_guidedactions_item_enabled_chevron_alpha}. --> |
| 402 | <attr name="guidedActionEnabledChevronAlpha" format="reference" /> |
| 403 | <!-- Theme attribute used in a GuidedActionsPresenter for the alpha value of the chevron |
| 404 | decoration when its action is disabled. Default is {@link |
| 405 | android.support.v17.leanback.R.string#lb_guidedactions_item_disabled_chevron_alpha}. --> |
| 406 | <attr name="guidedActionDisabledChevronAlpha" format="reference" /> |
| 407 | <!-- Theme attribute used in a GuidedActionsPresenter for the width of the text area of |
| 408 | a single action when there is an icon present. Default is {@link |
| 409 | android.support.v17.leanback.R.dimen#lb_guidedactions_item_text_width}. --> |
| 410 | <attr name="guidedActionContentWidth" format="reference" /> |
| 411 | <!-- Theme attribute used in a GuidedActionsPresenter for the width of the text area of |
| 412 | a single action when there is no icon present. Default is {@link |
| 413 | android.support.v17.leanback.R.dimen#lb_guidedactions_item_text_width_no_icon}. --> |
| 414 | <attr name="guidedActionContentWidthNoIcon" format="reference" /> |
| 415 | <!-- Theme attribute used in a GuidedActionsPresenter for the max lines of the title text |
| 416 | view when the action's isMultilineDescription is set to false. Default is {@link |
| 417 | android.support.v17.leanback.R.integer#lb_guidedactions_item_title_min_lines}. --> |
| 418 | <attr name="guidedActionTitleMinLines" format="reference" /> |
| 419 | <!-- Theme attribute used in a GuidedActionsPresenter for the max lines of the title text |
| 420 | view when the action's isMultilineDescription is set to true. Default is {@link |
| 421 | android.support.v17.leanback.R.integer#lb_guidedactions_item_title_max_lines}. --> |
| 422 | <attr name="guidedActionTitleMaxLines" format="reference" /> |
| 423 | <!-- Theme attribute used in a GuidedActionsPresenter for the max lines of the title text |
| 424 | view when the action's isMultilineDescription is set to false. Default is {@link |
| 425 | android.support.v17.leanback.R.integer#lb_guidedactions_item_description_min_lines}. --> |
| 426 | <attr name="guidedActionDescriptionMinLines" format="reference" /> |
| 427 | <!-- Theme attribute used in a GuidedActionsPresenter for the vertical padding between |
| 428 | action views in the list. Default is {@link |
| 429 | android.support.v17.leanback.R.dimen#lb_guidedactions_vertical_padding}. --> |
| 430 | <attr name="guidedActionVerticalPadding" format="reference" /> |
Sandeep Siddhartha | fbcf102 | 2014-09-16 13:57:56 -0700 | [diff] [blame] | 431 | |
Ying Wang | 3fbe0d4 | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 432 | </declare-styleable> |
| 433 | |
Ying Wang | 3fbe0d4 | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 434 | </resources> |