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 xmlns:android="http://schemas.android.com/apk/res/android"> 19 <style name="TextAppearance.LeanbackBase" parent="android:TextAppearance.Holo"> 20 </style> 21 <style name="TextAppearance.Leanback" parent="TextAppearance.LeanbackBase"> 22 <!-- Any text appearance overrides go here. --> 23 <item name="android:fontFamily">sans-serif-condensed</item> 24 </style> 25 26 <style name="TextAppearance.Leanback.Title" parent="TextAppearance.Leanback"> 27 <item name="android:fontFamily">sans-serif-light</item> 28 <item name="android:textSize">@dimen/lb_browse_title_text_size</item> 29 <item name="android:textColor">@color/lb_browse_title_color</item> 30 </style> 31 32 <style name="TextAppearance.Leanback.Header" parent="TextAppearance.Leanback"> 33 <item name="android:textSize">@dimen/lb_browse_header_text_size</item> 34 <item name="android:textColor">@color/lb_browse_header_color</item> 35 </style> 36 37 <style name="TextAppearance.Leanback.Header.Section"> 38 <item name="android:textColor">?defaultSectionHeaderColor</item> 39 <item name="android:textSize">@dimen/lb_browse_section_header_text_size</item> 40 </style> 41 42 <style name="TextAppearance.Leanback.Row.Header" parent="TextAppearance.Leanback.Header"> 43 </style> 44 45 <style name="TextAppearance.Leanback.SearchTextEdit" parent="TextAppearance.Leanback"> 46 <item name="android:textSize">@dimen/lb_search_bar_text_size</item> 47 </style> 48 49 <style name="TextAppearance.Leanback.DetailsDescriptionTitle"> 50 <item name="android:textSize">@dimen/lb_details_description_title_text_size</item> 51 <item name="android:textColor">@color/lb_details_description_color</item> 52 <item name="android:fontFamily">sans-serif-light</item> 53 </style> 54 55 <style name="TextAppearance.Leanback.DetailsDescriptionSubtitle"> 56 <item name="android:textSize">@dimen/lb_details_description_subtitle_text_size</item> 57 <item name="android:textColor">@color/lb_details_description_color</item> 58 <item name="android:fontFamily">sans-serif</item> 59 </style> 60 61 <style name="TextAppearance.Leanback.DetailsDescriptionBody"> 62 <item name="android:textSize">@dimen/lb_details_description_body_text_size</item> 63 <item name="android:textColor">@color/lb_details_description_body_color</item> 64 <item name="android:fontFamily">sans-serif</item> 65 </style> 66 67 <style name="TextAppearance.Leanback.DetailsActionButton"> 68 <item name="android:textSize">@dimen/lb_action_text_size</item> 69 <item name="android:textColor">@color/lb_action_text_color</item> 70 <item name="android:textAllCaps">true</item> 71 </style> 72 73 <style name="TextAppearance.Leanback.PlaybackControlsTime"> 74 <item name="android:textSize">@dimen/lb_playback_controls_time_text_size</item> 75 <item name="android:textColor">@color/lb_playback_controls_time_text_color</item> 76 <item name="android:fontFamily">sans-serif</item> 77 </style> 78 79 <style name="TextAppearance.Leanback.PlaybackControlLabel"> 80 <item name="android:textSize">@dimen/lb_control_button_text_size</item> 81 <item name="android:textColor">@color/lb_control_button_text</item> 82 <item name="android:fontFamily">sans-serif</item> 83 </style> 84 85 <style name="TextAppearance.Leanback.ErrorMessage"> 86 <item name="android:textSize">@dimen/lb_error_message_text_size</item> 87 <item name="android:textColor">@color/lb_error_message</item> 88 <item name="android:fontFamily">sans-serif</item> 89 </style> 90 91 <style name="Widget.LeanbackBase" parent="android:Widget.Holo" /> 92 <style name="Widget.Leanback" parent="Widget.LeanbackBase" /> 93 94 <style name="Widget.Leanback.BaseCardViewStyle"> 95 <item name="cardForeground">@drawable/lb_card_foreground</item> 96 <item name="cardBackground">@color/lb_basic_card_bg_color</item> 97 </style> 98 99 <style name="Widget.Leanback.TitleView" > 100 <item name="android:paddingTop">?attr/browsePaddingTop</item> 101 <item name="android:paddingBottom">?attr/browsePaddingTop</item> 102 <item name="android:paddingStart">?attr/browsePaddingStart</item> 103 <item name="android:paddingEnd">?attr/browsePaddingEnd</item> 104 </style> 105 106 <style name="Widget.Leanback.ImageCardViewStyle" parent="Widget.Leanback.BaseCardViewStyle"> 107 <item name="cardType">infoUnder</item> 108 <item name="infoVisibility">activated</item> 109 <!-- In order to keep backward compatibility we have to create an icon on right. --> 110 <item name="lbImageCardViewType">Title|Content|IconOnRight</item> 111 <!-- Deprecated. Use 'Widget.Leanback.ImageCardView.InfoAreaStyle' instead. --> 112 <item name="infoAreaBackground">@null</item> 113 </style> 114 115 <style name="TextAppearance.Leanback.ImageCardView"> 116 </style> 117 118 <style name="Widget.Leanback.ImageCardView" /> 119 120 <style name="Widget.Leanback.ImageCardView.ImageStyle"> 121 <item name="android:layout_width">wrap_content</item> 122 <item name="android:layout_height">wrap_content</item> 123 <item name="android:adjustViewBounds">true</item> 124 <item name="android:contentDescription">@null</item> 125 <item name="android:scaleType">centerCrop</item> 126 <item name="layout_viewType">main</item> 127 </style> 128 129 <style name="Widget.Leanback.ImageCardView.InfoAreaStyle"> 130 <item name="android:layout_width">match_parent</item> 131 <item name="android:layout_height">wrap_content</item> 132 <item name="android:layout_centerHorizontal">true</item> 133 <item name="layout_viewType">info</item> 134 <item name="android:paddingBottom">@dimen/lb_basic_card_info_padding_bottom</item> 135 <item name="android:paddingEnd">@dimen/lb_basic_card_info_padding_horizontal</item> 136 <item name="android:paddingStart">@dimen/lb_basic_card_info_padding_horizontal</item> 137 <item name="android:paddingTop">@dimen/lb_basic_card_info_padding_top</item> 138 <item name="android:background">@color/lb_basic_card_info_bg_color</item> 139 </style> 140 141 <style name="TextAppearance.Leanback.ImageCardView.Title"> 142 <item name="android:textColor">@color/lb_basic_card_title_text_color</item> 143 <item name="android:textSize">@dimen/lb_basic_card_title_text_size</item> 144 </style> 145 146 <style name="Widget.Leanback.ImageCardView.TitleStyle"> 147 <item name="android:id">@id/title_text</item> 148 <item name="android:layout_width">match_parent</item> 149 <item name="android:layout_height">wrap_content</item> 150 <item name="android:maxLines">1</item> 151 <item name="android:layout_marginBottom">@dimen/lb_basic_card_info_text_margin</item> 152 <item name="android:textAlignment">viewStart</item> 153 <item name="android:ellipsize">end</item> 154 <item name="android:textAppearance">@style/TextAppearance.Leanback.ImageCardView.Title</item> 155 </style> 156 157 <style name="TextAppearance.Leanback.ImageCardView.Content"> 158 <item name="android:textColor">@color/lb_basic_card_content_text_color</item> 159 <item name="android:textSize">@dimen/lb_basic_card_content_text_size</item> 160 </style> 161 162 <style name="Widget.Leanback.ImageCardView.ContentStyle"> 163 <item name="android:id">@id/content_text</item> 164 <item name="android:layout_width">match_parent</item> 165 <item name="android:layout_height">wrap_content</item> 166 <item name="android:layout_alignParentStart">true</item> 167 <item name="android:layout_below">@+id/title_text</item> 168 <item name="android:layout_toStartOf">@+id/extra_badge</item> 169 <item name="android:maxLines">1</item> 170 <item name="android:textAlignment">viewStart</item> 171 <item name="android:ellipsize">none</item> 172 <item name="android:textAppearance">@style/TextAppearance.Leanback.ImageCardView.Content</item> 173 </style> 174 175 <style name="Widget.Leanback.ImageCardView.BadgeStyle"> 176 <item name="android:id">@id/extra_badge</item> 177 <item name="android:layout_width">@dimen/lb_basic_card_info_badge_size</item> 178 <item name="android:layout_height">@dimen/lb_basic_card_info_badge_size</item> 179 <item name="android:contentDescription">@null</item> 180 <item name="android:scaleType">fitCenter</item> 181 </style> 182 183 <style name="Widget.Leanback.Title" /> 184 185 <style name="Widget.Leanback.Title.Text"> 186 <item name="android:singleLine">true</item> 187 <item name="android:gravity">end</item> 188 <item name="android:ellipsize">end</item> 189 <item name="android:textAlignment">viewStart</item> 190 <item name="android:textAppearance">@style/TextAppearance.Leanback.Title</item> 191 </style> 192 193 <style name="Widget.Leanback.Title.Icon"> 194 </style> 195 196 <!-- HeadersFragment --> 197 <style name="Widget.Leanback.Headers" /> 198 199 <!-- RowsFragment --> 200 <style name="Widget.Leanback.Rows" > 201 </style> 202 203 <!-- row view --> 204 <style name="Widget.Leanback.Row" > 205 </style> 206 207 <style name="Widget.Leanback.GridItems" /> 208 209 <style name="Widget.Leanback.Headers.VerticalGridView" > 210 <item name="android:background">?attr/defaultBrandColor</item> 211 <item name="android:paddingStart">?attr/browsePaddingStart</item> 212 <item name="focusOutFront">true</item> 213 <item name="focusOutEnd">true</item> 214 <item name="verticalMargin">@dimen/lb_browse_headers_vertical_margin</item> 215 <item name="android:focusable">true</item> 216 <item name="android:focusableInTouchMode">true</item> 217 <item name="android:contentDescription">@string/lb_navigation_menu_contentDescription</item> 218 </style> 219 220 <style name="Widget.Leanback.Header" > 221 <item name="android:minHeight">@dimen/lb_browse_header_height</item> 222 <item name="android:minWidth">1dp</item> 223 <item name="android:textAppearance">@style/TextAppearance.Leanback.Header</item> 224 <item name="android:textAlignment">viewStart</item> 225 <item name="android:singleLine">false</item> 226 <item name="android:maxLines">2</item> 227 <item name="android:ellipsize">none</item> 228 </style> 229 230 <style name="Widget.Leanback.Header.Section" > 231 <item name="android:textAppearance">@style/TextAppearance.Leanback.Header.Section</item> 232 <item name="android:singleLine">true</item> 233 </style> 234 235 <style name="Widget.Leanback.Rows.VerticalGridView" > 236 <item name="android:paddingBottom">?attr/browsePaddingBottom</item> 237 <item name="focusOutFront">true</item> 238 <item name="focusOutEnd">true</item> 239 <item name="android:focusable">true</item> 240 <item name="android:focusableInTouchMode">true</item> 241 </style> 242 243 <style name="Widget.Leanback.Row.HorizontalGridView"> 244 <item name="android:focusable">true</item> 245 <item name="android:focusableInTouchMode">true</item> 246 <item name="android:paddingStart">?attr/browsePaddingStart</item> 247 <item name="android:paddingEnd">?attr/browsePaddingEnd</item> 248 <item name="android:paddingBottom">@dimen/lb_browse_item_vertical_margin</item> 249 <item name="android:paddingTop">@dimen/lb_browse_item_vertical_margin</item> 250 <item name="horizontalMargin">@dimen/lb_browse_item_horizontal_margin</item> 251 <item name="verticalMargin">@dimen/lb_browse_item_vertical_margin</item> 252 <item name="focusOutFront">true</item> 253 </style> 254 255 <style name="Widget.Leanback.GridItems.VerticalGridView"> 256 <item name="android:focusable">true</item> 257 <item name="android:focusableInTouchMode">true</item> 258 <item name="android:paddingStart">?attr/browsePaddingStart</item> 259 <item name="android:paddingEnd">?attr/browsePaddingEnd</item> 260 <item name="android:paddingBottom">@dimen/lb_vertical_grid_padding_bottom</item> 261 <item name="android:paddingTop">?attr/browseRowsMarginTop</item> 262 <item name="android:gravity">center_horizontal</item> 263 <item name="horizontalMargin">@dimen/lb_browse_item_horizontal_margin</item> 264 <item name="verticalMargin">@dimen/lb_browse_item_vertical_margin</item> 265 <item name="focusOutFront">true</item> 266 </style> 267 268 <style name="Widget.Leanback.Row.Header" parent="Widget.Leanback.Header"> 269 <item name="android:textAppearance">@style/TextAppearance.Leanback.Row.Header</item> 270 </style> 271 272 <style name="Widget.Leanback.Row.HeaderDock"> 273 <item name="android:paddingStart">?attr/browsePaddingStart</item> 274 </style> 275 276 <style name="TextAppearance.Leanback.Row.HoverCardTitle" parent="TextAppearance.Leanback"> 277 <item name="android:textSize">@dimen/lb_browse_row_hovercard_title_font_size</item> 278 </style> 279 280 <style name="TextAppearance.Leanback.Row.HoverCardDescription" parent="TextAppearance.Leanback"> 281 <item name="android:textSize">@dimen/lb_browse_row_hovercard_description_font_size</item> 282 </style> 283 284 <style name="Widget.Leanback.Row.HoverCardTitle" > 285 <item name="android:textAlignment">viewStart</item> 286 <item name="android:textAppearance">@style/TextAppearance.Leanback.Row.HoverCardTitle</item> 287 <item name="android:maxWidth">@dimen/lb_browse_row_hovercard_max_width</item> 288 <item name="android:singleLine">true</item> 289 <item name="android:ellipsize">end</item> 290 </style> 291 292 <style name="Widget.Leanback.Row.HoverCardDescription" > 293 <item name="android:textAlignment">viewStart</item> 294 <item name="android:textAppearance">@style/TextAppearance.Leanback.Row.HoverCardDescription</item> 295 <item name="android:maxWidth">@dimen/lb_browse_row_hovercard_max_width</item> 296 <item name="android:ellipsize">end</item> 297 <item name="android:maxLines">4</item> 298 </style> 299 300 301 <!-- Styles for playback control, playlist header, and playlist content in a default media player layout. --> 302 <style name="Widget.Leanback.PlaybackRow"> 303 <item name="android:layout_marginStart">?attr/playbackPaddingStart</item> 304 <item name="android:layout_marginEnd">?attr/playbackPaddingEnd</item> 305 <item name="android:clipChildren">true</item> 306 <item name="android:clipToPadding">true</item> 307 <item name="android:foreground">@null</item> 308 <item name="android:background">#384248</item> 309 <item name="android:layout_width">match_parent</item> 310 <item name="android:layout_height">48dp</item> 311 </style> 312 313 <style name="Widget.Leanback.PlaybackMediaItemRowStyle" parent="Widget.Leanback.PlaybackRow"> 314 <item name="android:focusable">false</item> 315 <item name="android:focusableInTouchMode">false</item> 316 </style> 317 318 <style name="Widget.Leanback.PlaybackMediaItemSeparatorStyle" parent="Widget.Leanback.PlaybackRow"> 319 <item name="android:background">@color/lb_media_background_color</item> 320 <item name="android:src">@color/lb_playback_media_row_separator_highlight_color</item> 321 <item name="android:layout_height">@dimen/lb_playback_media_row_separator_height</item>" 322 </style> 323 324 <style name="Widget.Leanback.PlaybackMediaListHeaderStyle" 325 parent="Widget.Leanback.PlaybackRow"> 326 <item name="android:background">#263238</item> 327 <item name="android:focusable">false</item> 328 <item name="android:focusableInTouchMode">false</item> 329 </style> 330 331 <style name="Widget.Leanback.PlaybackMediaItemDetailsStyle"> 332 <item name="android:paddingStart">?attr/playbackMediaItemPaddingStart</item> 333 <item name="android:layout_width">0dp</item> 334 <item name="android:layout_weight">1</item> 335 <item name="android:layout_height">match_parent</item> 336 <item name="android:focusable">true</item> 337 <item name="android:focusableInTouchMode">true</item> 338 </style> 339 340 <style name="TextAppearance.Leanback.PlaybackMediaListHeaderTitle"> 341 <item name="android:textColor">#80EEEEEE</item> 342 <item name="android:textSize">18sp</item> 343 <item name="android:fontFamily">sans-serif-regular</item> 344 </style> 345 346 <style name="Widget.Leanback.PlaybackMediaListHeaderTitleStyle"> 347 <item name="android:layout_width">match_parent</item> 348 <item name="android:layout_height">match_parent</item> 349 <item name="android:layout_alignParentStart">true</item> 350 <item name="android:layout_alignParentTop">true</item> 351 <item name="android:gravity">center_vertical</item>" 352 <item name="android:paddingLeft">?attr/playbackMediaItemPaddingStart</item> 353 <item name="android:textAppearance">@style/TextAppearance.Leanback.PlaybackMediaListHeaderTitle</item> 354 </style> 355 356 <style name="Widget.Leanback.PlaybackMediaItemNumberViewFlipperStyle"> 357 <item name="android:layout_width">56dp</item> 358 <item name="android:layout_height">match_parent</item> 359 <item name="android:gravity">center_vertical</item> 360 <item name="android:visibility">gone</item> 361 </style> 362 363 <style name="TextAppearance.Leanback.PlaybackMediaItemNumber"> 364 <item name="android:textColor">#FFFFFF</item> 365 <item name="android:textSize">18sp</item> 366 <item name="android:fontFamily">sans-serif-regular</item> 367 </style> 368 369 <style name="Widget.Leanback.PlaybackMediaItemNumberStyle"> 370 <item name="android:layout_width">match_parent</item> 371 <item name="android:layout_height">match_parent</item> 372 <item name="android:gravity">center_vertical</item> 373 <item name="android:visibility">gone</item> 374 <item name="android:textAppearance">@style/TextAppearance.Leanback.PlaybackMediaItemNumber</item> 375 </style> 376 377 <style name="TextAppearance.Leanback.PlaybackMediaItemName"> 378 <item name="android:textColor">#FFFFFF</item> 379 <item name="android:textSize">18sp</item> 380 <item name="android:fontFamily">sans-serif-regular</item> 381 </style> 382 383 <style name="Widget.Leanback.PlaybackMediaItemNameStyle"> 384 <item name="android:layout_width">0dp</item> 385 <item name="android:layout_weight">1</item> 386 <item name="android:layout_height">match_parent</item> 387 <item name="android:singleLine">true</item> 388 <item name="android:gravity">center_vertical</item>" 389 <item name="android:textAppearance">@style/TextAppearance.Leanback.PlaybackMediaItemName</item> 390 </style> 391 392 <style name="TextAppearance.Leanback.PlaybackMediaItemDuration"> 393 <item name="android:textColor">#80FFFFFF</item> 394 <item name="android:textSize">18sp</item> 395 <item name="android:fontFamily">sans-serif-regular</item> 396 </style> 397 398 <style name="Widget.Leanback.PlaybackMediaItemDurationStyle"> 399 <item name="android:layout_width">56dp</item> 400 <item name="android:layout_height">match_parent</item> 401 <item name="android:singleLine">true</item> 402 <item name="android:gravity">center_vertical|right</item> 403 <item name="android:visibility">gone</item> 404 <item name="android:textAppearance">@style/TextAppearance.Leanback.PlaybackMediaItemDuration</item> 405 </style> 406 407 <style name="Widget.Leanback.DetailsDescriptionTitleStyle"> 408 <item name="android:textAlignment">viewStart</item> 409 <item name="android:textAppearance">@style/TextAppearance.Leanback.DetailsDescriptionTitle</item> 410 <item name="android:maxLines">@integer/lb_details_description_title_max_lines</item> 411 <item name="android:includeFontPadding">false</item> 412 <item name="android:ellipsize">end</item> 413 <item name="resizeTrigger">maxLines</item> 414 <item name="resizedTextSize">@dimen/lb_details_description_title_resized_text_size</item> 415 <item name="resizedPaddingAdjustmentTop">@dimen/lb_details_description_title_padding_adjust_top</item> 416 <item name="resizedPaddingAdjustmentBottom">@dimen/lb_details_description_title_padding_adjust_bottom</item> 417 </style> 418 419 <style name="Widget.Leanback.DetailsDescriptionSubtitleStyle"> 420 <item name="android:textAlignment">viewStart</item> 421 <item name="android:textAppearance">@style/TextAppearance.Leanback.DetailsDescriptionSubtitle</item> 422 <item name="android:maxLines">@integer/lb_details_description_subtitle_max_lines</item> 423 <item name="android:includeFontPadding">false</item> 424 <item name="android:ellipsize">end</item> 425 </style> 426 427 <style name="Widget.Leanback.DetailsDescriptionBodyStyle"> 428 <item name="android:textAlignment">viewStart</item> 429 <item name="android:textAppearance">@style/TextAppearance.Leanback.DetailsDescriptionBody</item> 430 <item name="android:includeFontPadding">false</item> 431 <item name="android:ellipsize">end</item> 432 </style> 433 434 <style name="Widget.Leanback.DetailsActionButtonStyleBase" parent="android:Widget.Holo.Button.Borderless"> 435 </style> 436 437 <style name="Widget.Leanback.DetailsActionButtonStyle" parent="Widget.Leanback.DetailsActionButtonStyleBase"> 438 <item name="android:textAlignment">viewStart</item> 439 <item name="android:textAppearance">@style/TextAppearance.Leanback.DetailsActionButton</item> 440 <item name="android:includeFontPadding">false</item> 441 <item name="android:drawablePadding">@dimen/lb_action_icon_margin</item> 442 <item name="android:focusable">true</item> 443 <item name="android:focusableInTouchMode">true</item> 444 <item name="android:paddingStart">@dimen/lb_action_padding_horizontal</item> 445 <item name="android:paddingEnd">@dimen/lb_action_padding_horizontal</item> 446 </style> 447 448 <style name="Widget.Leanback.PlaybackControlsButtonStyle" > 449 <item name="android:focusable">true</item> 450 <item name="android:focusableInTouchMode">true</item> 451 </style> 452 453 <style name="Widget.Leanback.PlaybackControlLabelStyle"> 454 <item name="android:textAlignment">viewStart</item> 455 <item name="android:textAppearance">@style/TextAppearance.Leanback.PlaybackControlLabel</item> 456 </style> 457 458 <style name="Widget.Leanback.PlaybackControlsTimeStyle"> 459 <item name="android:textAlignment">viewStart</item> 460 <item name="android:textAppearance">@style/TextAppearance.Leanback.PlaybackControlsTime</item> 461 </style> 462 463 <style name="Widget.Leanback.ErrorMessageStyle"> 464 <item name="android:textAlignment">viewStart</item> 465 <item name="android:textAppearance">@style/TextAppearance.Leanback.ErrorMessage</item> 466 <item name="android:includeFontPadding">false</item> 467 <item name="android:maxLines">@integer/lb_error_message_max_lines</item> 468 <item name="android:ellipsize">end</item> 469 </style> 470 471 <style name="Widget.Leanback.SearchOrbViewStyle"> 472 <item name="searchOrbIcon">?attr/defaultSearchIcon</item> 473 <item name="searchOrbColor">?attr/defaultSearchColor</item> 474 <item name="searchOrbIconColor">?attr/defaultSearchIconColor</item> 475 <item name="searchOrbBrightColor">?attr/defaultSearchBrightColor</item> 476 </style> 477 478 <style name="Widget.Leanback.PlaybackControlsActionIconsStyle"> 479 <item name="play">@drawable/lb_ic_play</item> 480 <item name="pause">@drawable/lb_ic_pause</item> 481 <item name="fast_forward">@drawable/lb_ic_fast_forward</item> 482 <item name="rewind">@drawable/lb_ic_fast_rewind</item> 483 <item name="skip_next">@drawable/lb_ic_skip_next</item> 484 <item name="skip_previous">@drawable/lb_ic_skip_previous</item> 485 <item name="thumb_up_outline">@drawable/lb_ic_thumb_up_outline</item> 486 <item name="thumb_up">@drawable/lb_ic_thumb_up</item> 487 <item name="thumb_down_outline">@drawable/lb_ic_thumb_down_outline</item> 488 <item name="thumb_down">@drawable/lb_ic_thumb_down</item> 489 <item name="repeat">@drawable/lb_ic_loop</item> 490 <item name="repeat_one">@drawable/lb_ic_loop_one</item> 491 <item name="shuffle">@drawable/lb_ic_shuffle</item> 492 <item name="high_quality">@drawable/lb_ic_hq</item> 493 <item name="closed_captioning">@drawable/lb_ic_cc</item> 494 <item name="picture_in_picture">@drawable/lb_ic_pip</item> 495 </style> 496 497 <!-- Style for the main container view in a GuidanceStylist's default layout. --> 498 <style name="Widget.Leanback.GuidanceContainerStyle"> 499 <item name="android:layout_width">match_parent</item> 500 <item name="android:layout_height">match_parent</item> 501 <item name="android:paddingStart">56dp</item> 502 <item name="android:paddingEnd">32dp</item> 503 <item name="android:clipToPadding">false</item> 504 </style> 505 506 <!-- Style for the title view in a GuidanceStylist's default layout. --> 507 <style name="Widget.Leanback.GuidanceTitleStyle"> 508 <item name="android:importantForAccessibility">no</item> 509 <item name="android:layout_below">@id/guidance_breadcrumb</item> 510 <item name="android:layout_toEndOf">@id/guidance_icon</item> 511 <item name="android:layout_width">wrap_content</item> 512 <item name="android:layout_height">wrap_content</item> 513 <item name="android:layout_centerVertical">true</item> 514 <item name="android:ellipsize">end</item> 515 <item name="android:fontFamily">sans-serif-light</item> 516 <item name="android:gravity">start</item> 517 <item name="android:maxLines">2</item> 518 <item name="android:textColor">#FFF1F1F1</item> 519 <item name="android:textSize">36sp</item> 520 <item name="android:textAlignment">viewStart</item> 521 <item name="android:paddingBottom">4dp</item> 522 <item name="android:paddingTop">2dp</item> 523 </style> 524 525 <!-- Style for the description view in a GuidanceStylist's default layout. --> 526 <style name="Widget.Leanback.GuidanceDescriptionStyle"> 527 <item name="android:importantForAccessibility">no</item> 528 <item name="android:layout_below">@id/guidance_title</item> 529 <item name="android:layout_toEndOf">@id/guidance_icon</item> 530 <item name="android:layout_width">wrap_content</item> 531 <item name="android:layout_height">wrap_content</item> 532 <item name="android:layout_alignWithParentIfMissing">true</item> 533 <item name="android:ellipsize">end</item> 534 <item name="android:fontFamily">sans-serif</item> 535 <item name="android:gravity">start</item> 536 <item name="android:maxLines">6</item> 537 <item name="android:textColor">#88F1F1F1</item> 538 <item name="android:textSize">14sp</item> 539 <item name="android:lineSpacingExtra">3dp</item> 540 <item name="android:textAlignment">viewStart</item> 541 </style> 542 543 <!-- Style for the breadcrumb view in a GuidanceStylist's default layout. --> 544 <style name="Widget.Leanback.GuidanceBreadcrumbStyle"> 545 <item name="android:importantForAccessibility">no</item> 546 <item name="android:layout_width">wrap_content</item> 547 <item name="android:layout_height">wrap_content</item> 548 <item name="android:layout_toEndOf">@id/guidance_icon</item> 549 <item name="android:ellipsize">end</item> 550 <item name="android:fontFamily">sans-serif-condensed</item> 551 <item name="android:singleLine">true</item> 552 <item name="android:textColor">#88F1F1F1</item> 553 <item name="android:textSize">18sp</item> 554 <item name="android:gravity">start</item> 555 <item name="android:textAlignment">viewStart</item> 556 </style> 557 558 <!-- Style for the icon view in a GuidanceStylist's default layout. --> 559 <style name="Widget.Leanback.GuidanceIconStyle"> 560 <item name="android:layout_width">140dp</item> 561 <item name="android:layout_height">wrap_content</item> 562 <item name="android:layout_alignParentStart">true</item> 563 <item name="android:layout_marginEnd">24dp</item> 564 <item name="android:maxHeight">280dp</item> 565 <item name="android:scaleType">fitCenter</item> 566 </style> 567 568 <!-- Style for the vertical grid of actions in a GuidedActionsStylist's default layout. --> 569 <style name="Widget.Leanback.GuidedActionsListStyle"> 570 <item name="android:focusable">false</item> 571 <item name="android:focusableInTouchMode">false</item> 572 <item name="android:layout_width">match_parent</item> 573 <item name="android:layout_height">match_parent</item> 574 <item name="verticalMargin">@dimen/lb_guidedactions_list_vertical_spacing</item> 575 <item name="android:paddingStart">@dimen/lb_guidedactions_list_padding_start</item> 576 <item name="android:paddingEnd">@dimen/lb_guidedactions_list_padding_end</item> 577 <item name="focusOutEnd">false</item> 578 <item name="focusOutFront">false</item> 579 </style> 580 581 <!-- Style for the vertical grid of sub actions in a GuidedActionsStylist's default layout. --> 582 <style name="Widget.Leanback.GuidedSubActionsListStyle" parent="Widget.Leanback.GuidedActionsListStyle"> 583 <item name="android:focusable">true</item> 584 <item name="android:focusableInTouchMode">true</item> 585 <item name="focusOutSideStart">false</item> 586 <item name="focusOutSideEnd">false</item> 587 <item name="android:layout_marginBottom">@dimen/lb_guidedactions_sublist_bottom_margin</item> 588 </style> 589 590 <!-- Style for the vertical grid of button actions in a GuidedActionsStylist's default layout. --> 591 <style name="Widget.Leanback.GuidedButtonActionsListStyle" parent="Widget.Leanback.GuidedActionsListStyle"> 592 </style> 593 594 <!-- Style for an action's container in a GuidedActionsStylist's default item layout. --> 595 <style name="Widget.Leanback.GuidedActionItemContainerStyle"> 596 <item name="android:layout_width">match_parent</item> 597 <item name="android:layout_height">wrap_content</item> 598 <item name="android:foreground">?attr/guidedActionsSelectorDrawable</item> 599 <item name="android:focusable">true</item> 600 <item name="android:focusableInTouchMode">true</item> 601 <item name="android:paddingBottom">@dimen/lb_guidedactions_item_bottom_padding</item> 602 <item name="android:paddingStart">@dimen/lb_guidedactions_item_start_padding</item> 603 <item name="android:paddingEnd">@dimen/lb_guidedactions_item_end_padding</item> 604 <item name="android:paddingTop">@dimen/lb_guidedactions_item_top_padding</item> 605 </style> 606 607 <!-- Style for an action's checkmark in a GuidedActionsStylist's default item layout. --> 608 <style name="Widget.Leanback.GuidedActionItemCheckmarkStyle"> 609 <item name="android:layout_width">@dimen/lb_guidedactions_item_checkmark_diameter</item> 610 <item name="android:layout_height">@dimen/lb_guidedactions_item_checkmark_diameter</item> 611 <item name="android:layout_gravity">center</item> 612 <item name="android:layout_marginEnd">@dimen/lb_guidedactions_item_delimiter_padding</item> 613 <item name="android:scaleType">centerInside</item> 614 <item name="android:visibility">gone</item> 615 </style> 616 617 <!-- Style for an action's icon in a GuidedActionsStylist's default item layout. --> 618 <style name="Widget.Leanback.GuidedActionItemIconStyle"> 619 <item name="android:layout_width">@dimen/lb_guidedactions_item_icon_width</item> 620 <item name="android:layout_height">@dimen/lb_guidedactions_item_icon_height</item> 621 <item name="android:layout_gravity">center</item> 622 <item name="android:layout_marginEnd">@dimen/lb_guidedactions_item_delimiter_padding</item> 623 <item name="android:scaleType">fitCenter</item> 624 <item name="android:visibility">gone</item> 625 </style> 626 627 <!-- Style for an action's text content in a GuidedActionsStylist's default item layout. --> 628 <style name="Widget.Leanback.GuidedActionItemContentStyle"> 629 <item name="android:layout_width">match_parent</item> 630 <item name="android:layout_height">wrap_content</item> 631 <item name="android:layout_gravity">start|center_vertical</item> 632 <item name="android:layout_weight">1</item> 633 <item name="android:orientation">vertical</item> 634 </style> 635 636 <!-- Style for an action's title in a GuidedActionsStylist's default item layout. --> 637 <style name="Widget.Leanback.GuidedActionItemTitleStyle"> 638 <item name="android:layout_width">match_parent</item> 639 <item name="android:layout_height">wrap_content</item> 640 <item name="android:alpha">@string/lb_guidedactions_item_unselected_text_alpha</item> 641 <item name="android:ellipsize">end</item> 642 <item name="android:fontFamily">sans-serif-condensed</item> 643 <item name="android:maxLines">@integer/lb_guidedactions_item_title_min_lines</item> 644 <item name="android:textColor">@color/lb_guidedactions_item_unselected_text_color</item> 645 <item name="android:textSize">@dimen/lb_guidedactions_item_title_font_size</item> 646 <item name="android:textAlignment">viewStart</item> 647 </style> 648 649 <!-- Style for an action's description in a GuidedActionsStylist's default item layout. --> 650 <style name="Widget.Leanback.GuidedActionItemDescriptionStyle"> 651 <item name="android:layout_width">match_parent</item> 652 <item name="android:layout_height">wrap_content</item> 653 <item name="android:alpha">@string/lb_guidedactions_item_unselected_description_text_alpha</item> 654 <item name="android:ellipsize">end</item> 655 <item name="android:layout_marginTop">@dimen/lb_guidedactions_item_space_between_title_and_description</item> 656 <item name="android:fontFamily">sans-serif-condensed</item> 657 <item name="android:maxLines">@integer/lb_guidedactions_item_description_min_lines</item> 658 <item name="android:textColor">@color/lb_guidedactions_item_unselected_text_color</item> 659 <item name="android:textSize">@dimen/lb_guidedactions_item_description_font_size</item> 660 <item name="android:textAlignment">viewStart</item> 661 <item name="android:visibility">gone</item> 662 </style> 663 664 <!-- Style for an action's chevron in a GuidedActionsStylist's default item layout. --> 665 <style name="Widget.Leanback.GuidedActionItemChevronStyle"> 666 <item name="android:layout_width">12dp</item> 667 <item name="android:layout_height">12dp</item> 668 <item name="android:layout_gravity">center</item> 669 <item name="android:layout_marginStart">@dimen/lb_guidedactions_item_delimiter_padding</item> 670 <item name="android:scaleType">fitCenter</item> 671 <item name="android:src">@drawable/lb_ic_guidedactions_item_chevron</item> 672 <item name="android:visibility">gone</item> 673 </style> 674 675 <!-- deprecated style, do not use --> 676 <style name="Widget.Leanback.GuidedActionsContainerStyle"></style> 677 <!-- deprecated style, do not use --> 678 <style name="Widget.Leanback.GuidedActionsSelectorStyle"></style> 679 680 <!-- Style for the header in OnboardingFragment. --> 681 <style name="Widget.Leanback.OnboardingHeaderStyle"> 682 <item name="android:layout_width">@dimen/lb_onboarding_content_width</item> 683 <item name="android:layout_height">@dimen/lb_onboarding_header_height</item> 684 <item name="android:layout_alignParentTop">true</item> 685 <item name="android:layout_centerHorizontal">true</item> 686 <item name="android:layout_marginTop">@dimen/lb_onboarding_header_margin_top</item> 687 <item name="android:clipChildren">false</item> 688 <item name="android:clipToPadding">false</item> 689 <item name="android:orientation">vertical</item> 690 </style> 691 692 <!-- Style for the header title in OnboardingFragment. --> 693 <style name="Widget.Leanback.OnboardingTitleStyle"> 694 <item name="android:layout_width">match_parent</item> 695 <item name="android:layout_height">0dp</item> 696 <item name="android:layout_weight">0.5</item> 697 <item name="android:layout_marginBottom">3dp</item> 698 <item name="android:fontFamily">sans-serif-light</item> 699 <item name="android:gravity">center</item> 700 <item name="android:textColor">#EEEEEE</item> 701 <item name="android:textSize">34sp</item> 702 <item name="android:lineSpacingExtra">14sp</item> 703 </style> 704 705 <!-- Style for the header description in OnboardingFragment. --> 706 <style name="Widget.Leanback.OnboardingDescriptionStyle"> 707 <item name="android:layout_width">match_parent</item> 708 <item name="android:layout_height">0dp</item> 709 <item name="android:layout_weight">0.5</item> 710 <item name="android:layout_marginTop">3dp</item> 711 <item name="android:fontFamily">sans-serif-light</item> 712 <item name="android:gravity">center</item> 713 <item name="android:textColor">#B3EEEEEE</item> 714 <item name="android:textSize">14sp</item> 715 <item name="android:lineSpacingExtra">10sp</item> 716 </style> 717 718 <!-- Style for the container of page indicator and start button in OnboardingFragment. --> 719 <style name="Widget.Leanback.OnboardingNavigatorContainerStyle"> 720 <item name="android:layout_width">wrap_content</item> 721 <item name="android:layout_height">wrap_content</item> 722 <item name="android:layout_marginBottom">58dp</item> 723 <item name="android:layout_centerHorizontal">true</item> 724 <item name="android:layout_alignParentBottom">true</item> 725 </style> 726 727 <!-- Style for the page indicator in OnboardingFragment. --> 728 <style name="Widget.Leanback.OnboardingPageIndicatorStyle"> 729 <item name="android:layout_width">@dimen/lb_onboarding_content_width</item> 730 <item name="android:layout_height">@dimen/lb_onboarding_navigation_height</item> 731 <item name="android:layout_gravity">center_horizontal</item> 732 <item name="android:focusable">true</item> 733 <item name="android:contentDescription">@string/lb_onboarding_accessibility_next</item> 734 <item name="dotRadius">@dimen/lb_page_indicator_dot_radius</item> 735 <item name="arrowRadius">@dimen/lb_page_indicator_arrow_radius</item> 736 <item name="dotToDotGap">@dimen/lb_page_indicator_dot_gap</item> 737 <item name="dotToArrowGap">@dimen/lb_page_indicator_arrow_gap</item> 738 <item name="dotBgColor">@color/lb_page_indicator_dot</item> 739 <item name="arrowBgColor">@color/lb_page_indicator_arrow_background</item> 740 </style> 741 742 <!-- Style for the start button in OnboardingFragment. --> 743 <style name="Widget.Leanback.OnboardingStartButtonStyle"> 744 <item name="android:layout_width">wrap_content</item> 745 <item name="android:layout_height">36dp</item> 746 <item name="android:layout_gravity">center_horizontal</item> 747 <item name="android:layout_marginBottom">4dp</item> 748 <item name="android:background">@drawable/lb_onboarding_start_button_background</item> 749 <item name="android:elevation">1.5dp</item> 750 <item name="android:fontFamily">sans-serif</item> 751 <item name="android:gravity">center_vertical</item> 752 <item name="android:paddingEnd">24dp</item> 753 <item name="android:paddingStart">24dp</item> 754 <item name="android:stateListAnimator">@null</item> 755 <item name="android:text">@string/lb_onboarding_get_started</item> 756 <item name="android:textAllCaps">true</item> 757 <item name="android:textColor">#014269</item> 758 <item name="android:textSize">16sp</item> 759 </style> 760 761 <!-- Style for the logo splash image in OnboardingFragment. --> 762 <style name="Widget.Leanback.OnboardingLogoStyle"> 763 <item name="android:layout_width">wrap_content</item> 764 <item name="android:layout_height">wrap_content</item> 765 <item name="android:layout_centerInParent">true</item> 766 <item name="android:contentDescription">@null</item> 767 </style> 768 769 </resources> 770