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