Tim Kilbourn | 7fbbc85 | 2014-02-18 10:26:40 -0800 | [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 | |
Craig Stout | 47520b6 | 2014-03-11 05:50:23 -0700 | [diff] [blame] | 18 | <resources xmlns:android="http://schemas.android.com/apk/res/android"> |
Craig Stout | c1b8dde | 2014-09-17 13:00:13 -0700 | [diff] [blame] | 19 | <style name="TextAppearance.LeanbackBase" parent="android:TextAppearance.Holo"> |
| 20 | </style> |
| 21 | <style name="TextAppearance.Leanback" parent="TextAppearance.LeanbackBase"> |
Tim Kilbourn | 7fbbc85 | 2014-02-18 10:26:40 -0800 | [diff] [blame] | 22 | <!-- Any text appearance overrides go here. --> |
Dake Gu | f804d90 | 2014-03-18 18:04:57 -0700 | [diff] [blame] | 23 | <item name="android:fontFamily">sans-serif-condensed</item> |
Tim Kilbourn | 7fbbc85 | 2014-02-18 10:26:40 -0800 | [diff] [blame] | 24 | </style> |
| 25 | |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 26 | <style name="TextAppearance.Leanback.Title" parent="TextAppearance.Leanback"> |
Craig Stout | 268de3d | 2014-05-22 17:07:16 -0700 | [diff] [blame] | 27 | <item name="android:fontFamily">sans-serif-light</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 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 | |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 32 | <style name="TextAppearance.Leanback.Header" parent="TextAppearance.Leanback"> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 33 | <item name="android:textSize">@dimen/lb_browse_header_text_size</item> |
Craig Stout | 268de3d | 2014-05-22 17:07:16 -0700 | [diff] [blame] | 34 | <item name="android:textColor">@color/lb_browse_header_color</item> |
| 35 | </style> |
| 36 | |
| 37 | <style name="TextAppearance.Leanback.Row.Header" parent="TextAppearance.Leanback.Header"> |
Dake Gu | f804d90 | 2014-03-18 18:04:57 -0700 | [diff] [blame] | 38 | </style> |
| 39 | |
Jerome Poichet | 3c2998d | 2014-03-28 15:43:26 -0700 | [diff] [blame] | 40 | <style name="TextAppearance.Leanback.SearchTextEdit" parent="TextAppearance.Leanback"> |
Jerome Poichet | 3c2998d | 2014-03-28 15:43:26 -0700 | [diff] [blame] | 41 | <item name="android:textSize">@dimen/lb_search_bar_text_size</item> |
| 42 | </style> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 43 | |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 44 | <style name="TextAppearance.Leanback.DetailsDescriptionTitle"> |
| 45 | <item name="android:textSize">@dimen/lb_details_description_title_text_size</item> |
| 46 | <item name="android:textColor">@color/lb_details_description_color</item> |
Craig Stout | 5235c54 | 2014-07-25 22:26:20 -0700 | [diff] [blame] | 47 | <item name="android:fontFamily">sans-serif-light</item> |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 48 | </style> |
| 49 | |
| 50 | <style name="TextAppearance.Leanback.DetailsDescriptionSubtitle"> |
| 51 | <item name="android:textSize">@dimen/lb_details_description_subtitle_text_size</item> |
| 52 | <item name="android:textColor">@color/lb_details_description_color</item> |
Craig Stout | d2c235a | 2014-05-16 13:59:26 -0700 | [diff] [blame] | 53 | <item name="android:fontFamily">sans-serif</item> |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 54 | </style> |
| 55 | |
| 56 | <style name="TextAppearance.Leanback.DetailsDescriptionBody"> |
| 57 | <item name="android:textSize">@dimen/lb_details_description_body_text_size</item> |
Craig Stout | 5235c54 | 2014-07-25 22:26:20 -0700 | [diff] [blame] | 58 | <item name="android:textColor">@color/lb_details_description_body_color</item> |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 59 | <item name="android:fontFamily">sans-serif</item> |
| 60 | </style> |
| 61 | |
Craig Stout | 7c00407 | 2014-05-21 16:40:13 -0700 | [diff] [blame] | 62 | <style name="TextAppearance.Leanback.DetailsActionButton"> |
| 63 | <item name="android:textSize">@dimen/lb_action_text_size</item> |
| 64 | <item name="android:textColor">@color/lb_action_text_color</item> |
| 65 | <item name="android:textAllCaps">true</item> |
| 66 | </style> |
| 67 | |
Craig Stout | e5b67be | 2014-07-28 11:41:35 -0700 | [diff] [blame] | 68 | <style name="TextAppearance.Leanback.PlaybackControlsTime"> |
| 69 | <item name="android:textSize">@dimen/lb_playback_controls_time_text_size</item> |
| 70 | <item name="android:textColor">@color/lb_playback_controls_time_text_color</item> |
| 71 | <item name="android:fontFamily">sans-serif</item> |
| 72 | </style> |
| 73 | |
Craig Stout | eb66dab | 2014-10-30 15:58:40 -0700 | [diff] [blame] | 74 | <style name="TextAppearance.Leanback.PlaybackControlLabel"> |
| 75 | <item name="android:textSize">@dimen/lb_control_button_text_size</item> |
| 76 | <item name="android:textColor">@color/lb_control_button_text</item> |
| 77 | <item name="android:fontFamily">sans-serif</item> |
| 78 | </style> |
| 79 | |
Craig Stout | b7c2e02 | 2014-06-26 16:31:15 -0700 | [diff] [blame] | 80 | <style name="TextAppearance.Leanback.ErrorMessage"> |
| 81 | <item name="android:textSize">@dimen/lb_error_message_text_size</item> |
Craig Stout | 6a5a773 | 2014-12-03 19:46:29 -0800 | [diff] [blame] | 82 | <item name="android:textColor">@color/lb_error_message</item> |
Craig Stout | b7c2e02 | 2014-06-26 16:31:15 -0700 | [diff] [blame] | 83 | <item name="android:fontFamily">sans-serif</item> |
| 84 | </style> |
| 85 | |
Craig Stout | c1b8dde | 2014-09-17 13:00:13 -0700 | [diff] [blame] | 86 | <style name="Widget.LeanbackBase" parent="android:Widget.Holo" /> |
| 87 | <style name="Widget.Leanback" parent="Widget.LeanbackBase" /> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 88 | |
Dake Gu | dcc8de5 | 2014-08-05 18:16:24 -0700 | [diff] [blame] | 89 | <style name="Widget.Leanback.BaseCardViewStyle"> |
Dake Gu | 69d050a | 2015-08-06 12:36:00 -0700 | [diff] [blame] | 90 | <item name="cardForeground">@drawable/lb_card_foreground</item> |
| 91 | <item name="cardBackground">@color/lb_basic_card_bg_color</item> |
Dake Gu | dcc8de5 | 2014-08-05 18:16:24 -0700 | [diff] [blame] | 92 | </style> |
Tim Kilbourn | b55f088 | 2014-04-05 01:21:30 -0700 | [diff] [blame] | 93 | |
Craig Stout | 731066a | 2014-06-04 19:13:15 -0700 | [diff] [blame] | 94 | <style name="Widget.Leanback.TitleView" > |
Dake Gu | 46443cb | 2015-02-13 14:22:14 -0800 | [diff] [blame] | 95 | <item name="android:paddingTop">?attr/browsePaddingTop</item> |
| 96 | <item name="android:paddingBottom">?attr/browsePaddingTop</item> |
| 97 | <item name="android:paddingStart">?attr/browsePaddingStart</item> |
| 98 | <item name="android:paddingEnd">?attr/browsePaddingEnd</item> |
Craig Stout | 731066a | 2014-06-04 19:13:15 -0700 | [diff] [blame] | 99 | </style> |
| 100 | |
Robert Hahn | df805b8 | 2015-07-17 03:21:37 +0000 | [diff] [blame] | 101 | <style name="Widget.Leanback.ImageCardViewStyle" parent="Widget.Leanback.BaseCardViewStyle"> |
| 102 | <item name="cardType">infoUnder</item> |
| 103 | <item name="infoVisibility">activated</item> |
Robert Hahn | df805b8 | 2015-07-17 03:21:37 +0000 | [diff] [blame] | 104 | <!-- In order to keep backward compatibility we have to create an icon on right. --> |
| 105 | <item name="lbImageCardViewType">Title|Content|IconOnRight</item> |
Robert Hahn | df805b8 | 2015-07-17 03:21:37 +0000 | [diff] [blame] | 106 | <!-- Deprecated. Use 'Widget.Leanback.ImageCardView.InfoAreaStyle' instead. --> |
| 107 | <item name="infoAreaBackground">@null</item> |
| 108 | </style> |
| 109 | |
Dake Gu | ef6a00e | 2015-12-17 18:40:02 -0800 | [diff] [blame] | 110 | <style name="TextAppearance.Leanback.ImageCardView"> |
| 111 | </style> |
| 112 | |
Robert Hahn | ce3ffc6 | 2015-07-31 17:33:01 -0700 | [diff] [blame] | 113 | <style name="Widget.Leanback.ImageCardView" /> |
Robert Hahn | df805b8 | 2015-07-17 03:21:37 +0000 | [diff] [blame] | 114 | |
| 115 | <style name="Widget.Leanback.ImageCardView.ImageStyle"> |
| 116 | <item name="android:layout_width">wrap_content</item> |
| 117 | <item name="android:layout_height">wrap_content</item> |
| 118 | <item name="android:adjustViewBounds">true</item> |
| 119 | <item name="android:contentDescription">@null</item> |
| 120 | <item name="android:scaleType">centerCrop</item> |
| 121 | <item name="layout_viewType">main</item> |
| 122 | </style> |
| 123 | |
| 124 | <style name="Widget.Leanback.ImageCardView.InfoAreaStyle"> |
| 125 | <item name="android:layout_width">match_parent</item> |
| 126 | <item name="android:layout_height">wrap_content</item> |
| 127 | <item name="android:layout_centerHorizontal">true</item> |
| 128 | <item name="layout_viewType">info</item> |
| 129 | <item name="android:paddingBottom">@dimen/lb_basic_card_info_padding_bottom</item> |
| 130 | <item name="android:paddingEnd">@dimen/lb_basic_card_info_padding_horizontal</item> |
| 131 | <item name="android:paddingStart">@dimen/lb_basic_card_info_padding_horizontal</item> |
| 132 | <item name="android:paddingTop">@dimen/lb_basic_card_info_padding_top</item> |
| 133 | <item name="android:background">@color/lb_basic_card_info_bg_color</item> |
| 134 | </style> |
Dake Gu | ef6a00e | 2015-12-17 18:40:02 -0800 | [diff] [blame] | 135 | |
| 136 | <style name="TextAppearance.Leanback.ImageCardView.Title"> |
| 137 | <item name="android:textColor">@color/lb_basic_card_title_text_color</item> |
| 138 | <item name="android:textSize">@dimen/lb_basic_card_title_text_size</item> |
| 139 | </style> |
| 140 | |
Robert Hahn | df805b8 | 2015-07-17 03:21:37 +0000 | [diff] [blame] | 141 | <style name="Widget.Leanback.ImageCardView.TitleStyle"> |
| 142 | <item name="android:id">@id/title_text</item> |
| 143 | <item name="android:layout_width">match_parent</item> |
| 144 | <item name="android:layout_height">wrap_content</item> |
| 145 | <item name="android:maxLines">1</item> |
| 146 | <item name="android:layout_marginBottom">@dimen/lb_basic_card_info_text_margin</item> |
Dake Gu | ebb4ade | 2015-12-03 11:10:56 -0800 | [diff] [blame] | 147 | <item name="android:textAlignment">viewStart</item> |
Robert Hahn | df805b8 | 2015-07-17 03:21:37 +0000 | [diff] [blame] | 148 | <item name="android:ellipsize">end</item> |
Dake Gu | ef6a00e | 2015-12-17 18:40:02 -0800 | [diff] [blame] | 149 | <item name="android:textAppearance">@style/TextAppearance.Leanback.ImageCardView.Title</item> |
| 150 | </style> |
| 151 | |
| 152 | <style name="TextAppearance.Leanback.ImageCardView.Content"> |
| 153 | <item name="android:textColor">@color/lb_basic_card_content_text_color</item> |
| 154 | <item name="android:textSize">@dimen/lb_basic_card_content_text_size</item> |
Robert Hahn | df805b8 | 2015-07-17 03:21:37 +0000 | [diff] [blame] | 155 | </style> |
| 156 | |
| 157 | <style name="Widget.Leanback.ImageCardView.ContentStyle"> |
| 158 | <item name="android:id">@id/content_text</item> |
| 159 | <item name="android:layout_width">match_parent</item> |
| 160 | <item name="android:layout_height">wrap_content</item> |
| 161 | <item name="android:layout_alignParentStart">true</item> |
| 162 | <item name="android:layout_below">@+id/title_text</item> |
| 163 | <item name="android:layout_toStartOf">@+id/extra_badge</item> |
| 164 | <item name="android:maxLines">1</item> |
Dake Gu | ebb4ade | 2015-12-03 11:10:56 -0800 | [diff] [blame] | 165 | <item name="android:textAlignment">viewStart</item> |
Robert Hahn | df805b8 | 2015-07-17 03:21:37 +0000 | [diff] [blame] | 166 | <item name="android:ellipsize">none</item> |
Dake Gu | ef6a00e | 2015-12-17 18:40:02 -0800 | [diff] [blame] | 167 | <item name="android:textAppearance">@style/TextAppearance.Leanback.ImageCardView.Content</item> |
Robert Hahn | df805b8 | 2015-07-17 03:21:37 +0000 | [diff] [blame] | 168 | </style> |
| 169 | |
| 170 | <style name="Widget.Leanback.ImageCardView.BadgeStyle"> |
| 171 | <item name="android:id">@id/extra_badge</item> |
| 172 | <item name="android:layout_width">@dimen/lb_basic_card_info_badge_size</item> |
| 173 | <item name="android:layout_height">@dimen/lb_basic_card_info_badge_size</item> |
| 174 | <item name="android:contentDescription">@null</item> |
| 175 | <item name="android:scaleType">fitCenter</item> |
Robert Hahn | df805b8 | 2015-07-17 03:21:37 +0000 | [diff] [blame] | 176 | </style> |
| 177 | |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 178 | <style name="Widget.Leanback.Title" /> |
| 179 | |
| 180 | <style name="Widget.Leanback.Title.Text"> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 181 | <item name="android:singleLine">true</item> |
Kris Giesing | 8e35662 | 2014-11-18 18:58:27 -0800 | [diff] [blame] | 182 | <item name="android:gravity">end</item> |
Craig Stout | 4cf79b1 | 2014-05-13 16:56:58 -0700 | [diff] [blame] | 183 | <item name="android:ellipsize">end</item> |
Dake Gu | ebb4ade | 2015-12-03 11:10:56 -0800 | [diff] [blame] | 184 | <item name="android:textAlignment">viewStart</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 185 | <item name="android:textAppearance">@style/TextAppearance.Leanback.Title</item> |
| 186 | </style> |
| 187 | |
| 188 | <style name="Widget.Leanback.Title.Icon"> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 189 | </style> |
| 190 | |
Dake Gu | 42e4e84 | 2014-05-12 12:20:39 -0700 | [diff] [blame] | 191 | <!-- HeadersFragment --> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 192 | <style name="Widget.Leanback.Headers" /> |
| 193 | |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 194 | <!-- RowsFragment --> |
| 195 | <style name="Widget.Leanback.Rows" > |
| 196 | </style> |
| 197 | |
| 198 | <!-- row view --> |
| 199 | <style name="Widget.Leanback.Row" > |
| 200 | </style> |
| 201 | |
Craig Stout | 739e380 | 2014-04-07 12:10:51 -0700 | [diff] [blame] | 202 | <style name="Widget.Leanback.GridItems" /> |
| 203 | |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 204 | <style name="Widget.Leanback.Headers.VerticalGridView" > |
Dake Gu | 7f43e18 | 2015-11-16 13:17:08 -0800 | [diff] [blame] | 205 | <item name="android:background">?attr/defaultBrandColor</item> |
Kris Giesing | 8e35662 | 2014-11-18 18:58:27 -0800 | [diff] [blame] | 206 | <item name="android:paddingStart">?attr/browsePaddingStart</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 207 | <item name="focusOutFront">true</item> |
| 208 | <item name="focusOutEnd">true</item> |
Dake Gu | 3c23ada | 2014-04-18 14:08:05 -0700 | [diff] [blame] | 209 | <item name="verticalMargin">@dimen/lb_browse_headers_vertical_margin</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 210 | <item name="android:focusable">true</item> |
| 211 | <item name="android:focusableInTouchMode">true</item> |
| 212 | </style> |
| 213 | |
| 214 | <style name="Widget.Leanback.Header" > |
Craig Stout | 268de3d | 2014-05-22 17:07:16 -0700 | [diff] [blame] | 215 | <item name="android:minHeight">@dimen/lb_browse_header_height</item> |
Craig Stout | ad9af35 | 2015-02-02 17:26:13 -0800 | [diff] [blame] | 216 | <item name="android:minWidth">1dp</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 217 | <item name="android:textAppearance">@style/TextAppearance.Leanback.Header</item> |
Dake Gu | ebb4ade | 2015-12-03 11:10:56 -0800 | [diff] [blame] | 218 | <item name="android:textAlignment">viewStart</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 219 | <item name="android:singleLine">true</item> |
Dake Gu | 7a208cd | 2014-09-08 17:40:21 -0700 | [diff] [blame] | 220 | <item name="android:ellipsize">none</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 221 | </style> |
| 222 | |
| 223 | <style name="Widget.Leanback.Rows.VerticalGridView" > |
| 224 | <item name="android:paddingBottom">?attr/browsePaddingBottom</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 225 | <item name="focusOutFront">true</item> |
| 226 | <item name="focusOutEnd">true</item> |
| 227 | <item name="android:focusable">true</item> |
| 228 | <item name="android:focusableInTouchMode">true</item> |
| 229 | </style> |
| 230 | |
| 231 | <style name="Widget.Leanback.Row.HorizontalGridView"> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 232 | <item name="android:focusable">true</item> |
| 233 | <item name="android:focusableInTouchMode">true</item> |
Kris Giesing | 8e35662 | 2014-11-18 18:58:27 -0800 | [diff] [blame] | 234 | <item name="android:paddingStart">?attr/browsePaddingStart</item> |
| 235 | <item name="android:paddingEnd">?attr/browsePaddingEnd</item> |
Craig Stout | 58b9f20 | 2014-06-02 11:58:34 -0700 | [diff] [blame] | 236 | <item name="android:paddingBottom">@dimen/lb_browse_item_vertical_margin</item> |
| 237 | <item name="android:paddingTop">@dimen/lb_browse_item_vertical_margin</item> |
| 238 | <item name="horizontalMargin">@dimen/lb_browse_item_horizontal_margin</item> |
| 239 | <item name="verticalMargin">@dimen/lb_browse_item_vertical_margin</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 240 | <item name="focusOutFront">true</item> |
| 241 | </style> |
| 242 | |
Craig Stout | 739e380 | 2014-04-07 12:10:51 -0700 | [diff] [blame] | 243 | <style name="Widget.Leanback.GridItems.VerticalGridView"> |
Craig Stout | 739e380 | 2014-04-07 12:10:51 -0700 | [diff] [blame] | 244 | <item name="android:focusable">true</item> |
| 245 | <item name="android:focusableInTouchMode">true</item> |
Kris Giesing | 8e35662 | 2014-11-18 18:58:27 -0800 | [diff] [blame] | 246 | <item name="android:paddingStart">?attr/browsePaddingStart</item> |
| 247 | <item name="android:paddingEnd">?attr/browsePaddingEnd</item> |
Craig Stout | 7b777e6 | 2014-06-17 15:38:17 -0700 | [diff] [blame] | 248 | <item name="android:paddingBottom">@dimen/lb_vertical_grid_padding_bottom</item> |
Dake Gu | e34cae4 | 2014-05-01 16:52:53 -0700 | [diff] [blame] | 249 | <item name="android:paddingTop">?attr/browseRowsMarginTop</item> |
Dake Gu | 01ce047 | 2014-05-02 18:12:32 -0700 | [diff] [blame] | 250 | <item name="android:gravity">center_horizontal</item> |
Craig Stout | 58b9f20 | 2014-06-02 11:58:34 -0700 | [diff] [blame] | 251 | <item name="horizontalMargin">@dimen/lb_browse_item_horizontal_margin</item> |
| 252 | <item name="verticalMargin">@dimen/lb_browse_item_vertical_margin</item> |
Craig Stout | 739e380 | 2014-04-07 12:10:51 -0700 | [diff] [blame] | 253 | <item name="focusOutFront">true</item> |
| 254 | </style> |
| 255 | |
Craig Stout | 268de3d | 2014-05-22 17:07:16 -0700 | [diff] [blame] | 256 | <style name="Widget.Leanback.Row.Header" parent="Widget.Leanback.Header"> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 257 | <item name="android:textAppearance">@style/TextAppearance.Leanback.Row.Header</item> |
| 258 | </style> |
| 259 | |
Dake Gu | 46443cb | 2015-02-13 14:22:14 -0800 | [diff] [blame] | 260 | <style name="Widget.Leanback.Row.HeaderDock"> |
| 261 | <item name="android:paddingStart">?attr/browsePaddingStart</item> |
| 262 | </style> |
| 263 | |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 264 | <style name="TextAppearance.Leanback.Row.HoverCardTitle" parent="TextAppearance.Leanback"> |
| 265 | <item name="android:textSize">@dimen/lb_browse_row_hovercard_title_font_size</item> |
| 266 | </style> |
| 267 | |
| 268 | <style name="TextAppearance.Leanback.Row.HoverCardDescription" parent="TextAppearance.Leanback"> |
| 269 | <item name="android:textSize">@dimen/lb_browse_row_hovercard_description_font_size</item> |
| 270 | </style> |
| 271 | |
| 272 | <style name="Widget.Leanback.Row.HoverCardTitle" > |
Dake Gu | ebb4ade | 2015-12-03 11:10:56 -0800 | [diff] [blame] | 273 | <item name="android:textAlignment">viewStart</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 274 | <item name="android:textAppearance">@style/TextAppearance.Leanback.Row.HoverCardTitle</item> |
| 275 | <item name="android:maxWidth">@dimen/lb_browse_row_hovercard_max_width</item> |
| 276 | <item name="android:singleLine">true</item> |
| 277 | <item name="android:ellipsize">end</item> |
| 278 | </style> |
| 279 | |
| 280 | <style name="Widget.Leanback.Row.HoverCardDescription" > |
Dake Gu | ebb4ade | 2015-12-03 11:10:56 -0800 | [diff] [blame] | 281 | <item name="android:textAlignment">viewStart</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 282 | <item name="android:textAppearance">@style/TextAppearance.Leanback.Row.HoverCardDescription</item> |
| 283 | <item name="android:maxWidth">@dimen/lb_browse_row_hovercard_max_width</item> |
| 284 | <item name="android:ellipsize">end</item> |
Craig Stout | 268de3d | 2014-05-22 17:07:16 -0700 | [diff] [blame] | 285 | <item name="android:maxLines">4</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 286 | </style> |
| 287 | |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 288 | <style name="Widget.Leanback.DetailsDescriptionTitleStyle"> |
Dake Gu | ebb4ade | 2015-12-03 11:10:56 -0800 | [diff] [blame] | 289 | <item name="android:textAlignment">viewStart</item> |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 290 | <item name="android:textAppearance">@style/TextAppearance.Leanback.DetailsDescriptionTitle</item> |
| 291 | <item name="android:maxLines">@integer/lb_details_description_title_max_lines</item> |
Craig Stout | d2c235a | 2014-05-16 13:59:26 -0700 | [diff] [blame] | 292 | <item name="android:includeFontPadding">false</item> |
Craig Stout | 2a2b18c | 2014-05-27 16:25:45 -0700 | [diff] [blame] | 293 | <item name="android:ellipsize">end</item> |
Kris Giesing | 7fa663f | 2014-12-03 23:38:54 -0800 | [diff] [blame] | 294 | <item name="resizeTrigger">maxLines</item> |
| 295 | <item name="resizedTextSize">@dimen/lb_details_description_title_resized_text_size</item> |
| 296 | <item name="resizedPaddingAdjustmentTop">@dimen/lb_details_description_title_padding_adjust_top</item> |
| 297 | <item name="resizedPaddingAdjustmentBottom">@dimen/lb_details_description_title_padding_adjust_bottom</item> |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 298 | </style> |
| 299 | |
| 300 | <style name="Widget.Leanback.DetailsDescriptionSubtitleStyle"> |
Dake Gu | ebb4ade | 2015-12-03 11:10:56 -0800 | [diff] [blame] | 301 | <item name="android:textAlignment">viewStart</item> |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 302 | <item name="android:textAppearance">@style/TextAppearance.Leanback.DetailsDescriptionSubtitle</item> |
| 303 | <item name="android:maxLines">@integer/lb_details_description_subtitle_max_lines</item> |
Craig Stout | d2c235a | 2014-05-16 13:59:26 -0700 | [diff] [blame] | 304 | <item name="android:includeFontPadding">false</item> |
Craig Stout | 2a2b18c | 2014-05-27 16:25:45 -0700 | [diff] [blame] | 305 | <item name="android:ellipsize">end</item> |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 306 | </style> |
| 307 | |
| 308 | <style name="Widget.Leanback.DetailsDescriptionBodyStyle"> |
Dake Gu | ebb4ade | 2015-12-03 11:10:56 -0800 | [diff] [blame] | 309 | <item name="android:textAlignment">viewStart</item> |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 310 | <item name="android:textAppearance">@style/TextAppearance.Leanback.DetailsDescriptionBody</item> |
Craig Stout | 7c00407 | 2014-05-21 16:40:13 -0700 | [diff] [blame] | 311 | <item name="android:includeFontPadding">false</item> |
Craig Stout | 2a2b18c | 2014-05-27 16:25:45 -0700 | [diff] [blame] | 312 | <item name="android:ellipsize">end</item> |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 313 | </style> |
Craig Stout | 7c00407 | 2014-05-21 16:40:13 -0700 | [diff] [blame] | 314 | |
Craig Stout | 600b211 | 2014-08-11 16:02:34 -0700 | [diff] [blame] | 315 | <style name="Widget.Leanback.DetailsActionButtonStyleBase" parent="android:Widget.Holo.Button.Borderless"> |
| 316 | </style> |
| 317 | |
| 318 | <style name="Widget.Leanback.DetailsActionButtonStyle" parent="Widget.Leanback.DetailsActionButtonStyleBase"> |
Dake Gu | ebb4ade | 2015-12-03 11:10:56 -0800 | [diff] [blame] | 319 | <item name="android:textAlignment">viewStart</item> |
Craig Stout | 7c00407 | 2014-05-21 16:40:13 -0700 | [diff] [blame] | 320 | <item name="android:textAppearance">@style/TextAppearance.Leanback.DetailsActionButton</item> |
| 321 | <item name="android:includeFontPadding">false</item> |
Craig Stout | 7c00407 | 2014-05-21 16:40:13 -0700 | [diff] [blame] | 322 | <item name="android:drawablePadding">@dimen/lb_action_icon_margin</item> |
| 323 | <item name="android:focusable">true</item> |
| 324 | <item name="android:focusableInTouchMode">true</item> |
Kris Giesing | 8e35662 | 2014-11-18 18:58:27 -0800 | [diff] [blame] | 325 | <item name="android:paddingStart">@dimen/lb_action_padding_horizontal</item> |
| 326 | <item name="android:paddingEnd">@dimen/lb_action_padding_horizontal</item> |
Craig Stout | 7c00407 | 2014-05-21 16:40:13 -0700 | [diff] [blame] | 327 | </style> |
| 328 | |
Craig Stout | 7ab1edf | 2014-07-16 11:06:09 -0700 | [diff] [blame] | 329 | <style name="Widget.Leanback.PlaybackControlsButtonStyle" > |
| 330 | <item name="android:focusable">true</item> |
| 331 | <item name="android:focusableInTouchMode">true</item> |
| 332 | </style> |
| 333 | |
Craig Stout | eb66dab | 2014-10-30 15:58:40 -0700 | [diff] [blame] | 334 | <style name="Widget.Leanback.PlaybackControlLabelStyle"> |
Dake Gu | ebb4ade | 2015-12-03 11:10:56 -0800 | [diff] [blame] | 335 | <item name="android:textAlignment">viewStart</item> |
Craig Stout | eb66dab | 2014-10-30 15:58:40 -0700 | [diff] [blame] | 336 | <item name="android:textAppearance">@style/TextAppearance.Leanback.PlaybackControlLabel</item> |
| 337 | </style> |
| 338 | |
Craig Stout | e5b67be | 2014-07-28 11:41:35 -0700 | [diff] [blame] | 339 | <style name="Widget.Leanback.PlaybackControlsTimeStyle"> |
Dake Gu | ebb4ade | 2015-12-03 11:10:56 -0800 | [diff] [blame] | 340 | <item name="android:textAlignment">viewStart</item> |
Craig Stout | e5b67be | 2014-07-28 11:41:35 -0700 | [diff] [blame] | 341 | <item name="android:textAppearance">@style/TextAppearance.Leanback.PlaybackControlsTime</item> |
| 342 | </style> |
| 343 | |
Craig Stout | b7c2e02 | 2014-06-26 16:31:15 -0700 | [diff] [blame] | 344 | <style name="Widget.Leanback.ErrorMessageStyle"> |
Dake Gu | ebb4ade | 2015-12-03 11:10:56 -0800 | [diff] [blame] | 345 | <item name="android:textAlignment">viewStart</item> |
Craig Stout | b7c2e02 | 2014-06-26 16:31:15 -0700 | [diff] [blame] | 346 | <item name="android:textAppearance">@style/TextAppearance.Leanback.ErrorMessage</item> |
| 347 | <item name="android:includeFontPadding">false</item> |
| 348 | <item name="android:maxLines">@integer/lb_error_message_max_lines</item> |
| 349 | <item name="android:ellipsize">end</item> |
| 350 | </style> |
| 351 | |
Jerome Poichet | f0e7118 | 2014-06-05 13:29:18 -0700 | [diff] [blame] | 352 | <style name="Widget.Leanback.SearchOrbViewStyle"> |
Jerome Poichet | 937f910 | 2014-06-06 16:03:36 -0700 | [diff] [blame] | 353 | <item name="searchOrbIcon">?attr/defaultSearchIcon</item> |
Jerome Poichet | f0e7118 | 2014-06-05 13:29:18 -0700 | [diff] [blame] | 354 | <item name="searchOrbColor">?attr/defaultSearchColor</item> |
bulic | 8b55ff2 | 2014-06-06 13:12:30 -0700 | [diff] [blame] | 355 | <item name="searchOrbBrightColor">?attr/defaultSearchBrightColor</item> |
Jerome Poichet | f0e7118 | 2014-06-05 13:29:18 -0700 | [diff] [blame] | 356 | </style> |
Craig Stout | 1902530 | 2014-07-25 22:27:20 -0700 | [diff] [blame] | 357 | |
| 358 | <style name="Widget.Leanback.PlaybackControlsActionIconsStyle"> |
| 359 | <item name="play">@drawable/lb_ic_play</item> |
| 360 | <item name="pause">@drawable/lb_ic_pause</item> |
| 361 | <item name="fast_forward">@drawable/lb_ic_fast_forward</item> |
| 362 | <item name="rewind">@drawable/lb_ic_fast_rewind</item> |
| 363 | <item name="skip_next">@drawable/lb_ic_skip_next</item> |
| 364 | <item name="skip_previous">@drawable/lb_ic_skip_previous</item> |
| 365 | <item name="thumb_up_outline">@drawable/lb_ic_thumb_up_outline</item> |
| 366 | <item name="thumb_up">@drawable/lb_ic_thumb_up</item> |
| 367 | <item name="thumb_down_outline">@drawable/lb_ic_thumb_down_outline</item> |
| 368 | <item name="thumb_down">@drawable/lb_ic_thumb_down</item> |
| 369 | <item name="repeat">@drawable/lb_ic_loop</item> |
| 370 | <item name="repeat_one">@drawable/lb_ic_loop_one</item> |
| 371 | <item name="shuffle">@drawable/lb_ic_shuffle</item> |
| 372 | <item name="high_quality">@drawable/lb_ic_hq</item> |
| 373 | <item name="closed_captioning">@drawable/lb_ic_cc</item> |
Dongwon Kang | 2401804 | 2016-01-20 17:12:51 -0800 | [diff] [blame] | 374 | <item name="picture_in_picture">@drawable/lb_ic_pip</item> |
Craig Stout | 1902530 | 2014-07-25 22:27:20 -0700 | [diff] [blame] | 375 | </style> |
| 376 | |
Kris Giesing | ebd3d90 | 2015-02-16 15:08:50 -0800 | [diff] [blame] | 377 | <!-- Style for the main container view in a GuidanceStylist's default layout. --> |
| 378 | <style name="Widget.Leanback.GuidanceContainerStyle"> |
| 379 | <item name="android:layout_width">match_parent</item> |
| 380 | <item name="android:layout_height">match_parent</item> |
| 381 | <item name="android:paddingStart">48dp</item> |
| 382 | <item name="android:paddingEnd">16dp</item> |
| 383 | <item name="android:clipToPadding">false</item> |
| 384 | </style> |
| 385 | |
| 386 | <!-- Style for the title view in a GuidanceStylist's default layout. --> |
| 387 | <style name="Widget.Leanback.GuidanceTitleStyle"> |
Dake Gu | db14ff5 | 2016-01-20 15:58:56 -0800 | [diff] [blame] | 388 | <item name="android:importantForAccessibility">no</item> |
Kris Giesing | ebd3d90 | 2015-02-16 15:08:50 -0800 | [diff] [blame] | 389 | <item name="android:layout_toStartOf">@id/guidance_icon</item> |
| 390 | <item name="android:layout_width">wrap_content</item> |
| 391 | <item name="android:layout_height">wrap_content</item> |
| 392 | <item name="android:layout_alignWithParentIfMissing">true</item> |
| 393 | <item name="android:layout_centerVertical">true</item> |
| 394 | <item name="android:ellipsize">end</item> |
| 395 | <item name="android:fontFamily">sans-serif-light</item> |
| 396 | <item name="android:gravity">end</item> |
| 397 | <item name="android:maxLines">2</item> |
| 398 | <item name="android:paddingBottom">4dp</item> |
| 399 | <item name="android:paddingTop">2dp</item> |
| 400 | <item name="android:textColor">#FFF1F1F1</item> |
| 401 | <item name="android:textSize">36sp</item> |
Dake Gu | ebb4ade | 2015-12-03 11:10:56 -0800 | [diff] [blame] | 402 | <item name="android:textAlignment">viewEnd</item> |
Kris Giesing | ebd3d90 | 2015-02-16 15:08:50 -0800 | [diff] [blame] | 403 | </style> |
| 404 | |
| 405 | <!-- Style for the description view in a GuidanceStylist's default layout. --> |
| 406 | <style name="Widget.Leanback.GuidanceDescriptionStyle"> |
Dake Gu | db14ff5 | 2016-01-20 15:58:56 -0800 | [diff] [blame] | 407 | <item name="android:importantForAccessibility">no</item> |
Kris Giesing | ebd3d90 | 2015-02-16 15:08:50 -0800 | [diff] [blame] | 408 | <item name="android:layout_below">@id/guidance_title</item> |
| 409 | <item name="android:layout_toStartOf">@id/guidance_icon</item> |
| 410 | <item name="android:layout_width">wrap_content</item> |
| 411 | <item name="android:layout_height">wrap_content</item> |
| 412 | <item name="android:layout_alignWithParentIfMissing">true</item> |
| 413 | <item name="android:ellipsize">end</item> |
| 414 | <item name="android:fontFamily">sans-serif</item> |
| 415 | <item name="android:gravity">end</item> |
| 416 | <item name="android:maxLines">6</item> |
| 417 | <item name="android:textColor">#88F1F1F1</item> |
| 418 | <item name="android:textSize">14sp</item> |
| 419 | <item name="android:lineSpacingExtra">3dp</item> |
Dake Gu | ebb4ade | 2015-12-03 11:10:56 -0800 | [diff] [blame] | 420 | <item name="android:textAlignment">viewEnd</item> |
Kris Giesing | ebd3d90 | 2015-02-16 15:08:50 -0800 | [diff] [blame] | 421 | </style> |
| 422 | |
| 423 | <!-- Style for the breadcrumb view in a GuidanceStylist's default layout. --> |
| 424 | <style name="Widget.Leanback.GuidanceBreadcrumbStyle"> |
Dake Gu | db14ff5 | 2016-01-20 15:58:56 -0800 | [diff] [blame] | 425 | <item name="android:importantForAccessibility">no</item> |
Kris Giesing | ebd3d90 | 2015-02-16 15:08:50 -0800 | [diff] [blame] | 426 | <item name="android:layout_above">@id/guidance_title</item> |
| 427 | <item name="android:layout_toStartOf">@id/guidance_icon</item> |
| 428 | <item name="android:layout_width">wrap_content</item> |
| 429 | <item name="android:layout_height">wrap_content</item> |
| 430 | <item name="android:layout_alignWithParentIfMissing">true</item> |
| 431 | <item name="android:ellipsize">end</item> |
| 432 | <item name="android:fontFamily">sans-serif-condensed</item> |
| 433 | <item name="android:singleLine">true</item> |
| 434 | <item name="android:textColor">#88F1F1F1</item> |
| 435 | <item name="android:textSize">18sp</item> |
Dake Gu | ebb4ade | 2015-12-03 11:10:56 -0800 | [diff] [blame] | 436 | <item name="android:gravity">end</item> |
| 437 | <item name="android:textAlignment">viewEnd</item> |
Kris Giesing | ebd3d90 | 2015-02-16 15:08:50 -0800 | [diff] [blame] | 438 | </style> |
| 439 | |
| 440 | <!-- Style for the icon view in a GuidanceStylist's default layout. --> |
| 441 | <style name="Widget.Leanback.GuidanceIconStyle"> |
| 442 | <item name="android:layout_width">140dp</item> |
| 443 | <item name="android:layout_height">wrap_content</item> |
| 444 | <item name="android:layout_alignParentEnd">true</item> |
| 445 | <item name="android:layout_centerVertical">true</item> |
| 446 | <item name="android:layout_marginStart">16dp</item> |
| 447 | <item name="android:maxHeight">280dp</item> |
| 448 | <item name="android:scaleType">fitCenter</item> |
| 449 | </style> |
| 450 | |
Kris Giesing | ebd3d90 | 2015-02-16 15:08:50 -0800 | [diff] [blame] | 451 | <!-- Style for the vertical grid of actions in a GuidedActionsStylist's default layout. --> |
| 452 | <style name="Widget.Leanback.GuidedActionsListStyle"> |
| 453 | <item name="android:layout_width">match_parent</item> |
| 454 | <item name="android:layout_height">match_parent</item> |
Dake Gu | b5ba553 | 2015-12-15 11:58:10 -0800 | [diff] [blame] | 455 | <item name="focusOutEnd">false</item> |
Dake Gu | be6eb61 | 2015-11-19 17:31:53 -0800 | [diff] [blame] | 456 | <item name="focusOutFront">false</item> |
Kris Giesing | ebd3d90 | 2015-02-16 15:08:50 -0800 | [diff] [blame] | 457 | </style> |
| 458 | |
Dake Gu | be6eb61 | 2015-11-19 17:31:53 -0800 | [diff] [blame] | 459 | <!-- Style for the vertical grid of sub actions in a GuidedActionsStylist's default layout. --> |
| 460 | <style name="Widget.Leanback.GuidedSubActionsListStyle" parent="Widget.Leanback.GuidedActionsListStyle"> |
| 461 | <item name="focusOutEnd">false</item> |
Dake Gu | b5ba553 | 2015-12-15 11:58:10 -0800 | [diff] [blame] | 462 | <item name="focusOutFront">false</item> |
Dake Gu | be6eb61 | 2015-11-19 17:31:53 -0800 | [diff] [blame] | 463 | <item name="focusOutSideStart">false</item> |
| 464 | <item name="focusOutSideEnd">false</item> |
| 465 | <item name="android:layout_marginBottom">@dimen/lb_guidedactions_sublist_bottom_margin</item> |
| 466 | </style> |
| 467 | |
| 468 | <!-- Style for the vertical grid of button actions in a GuidedActionsStylist's default layout. --> |
| 469 | <style name="Widget.Leanback.GuidedButtonActionsListStyle" parent="Widget.Leanback.GuidedActionsListStyle"> |
Dake Gu | be6eb61 | 2015-11-19 17:31:53 -0800 | [diff] [blame] | 470 | </style> |
Kris Giesing | ebd3d90 | 2015-02-16 15:08:50 -0800 | [diff] [blame] | 471 | |
| 472 | <!-- Style for an action's container in a GuidedActionsStylist's default item layout. --> |
| 473 | <style name="Widget.Leanback.GuidedActionItemContainerStyle"> |
| 474 | <item name="android:layout_width">match_parent</item> |
| 475 | <item name="android:layout_height">wrap_content</item> |
Dake Gu | 1db5382 | 2015-12-02 13:16:14 -0800 | [diff] [blame] | 476 | <item name="android:foreground">?attr/guidedActionsSelectorDrawable</item> |
Kris Giesing | ebd3d90 | 2015-02-16 15:08:50 -0800 | [diff] [blame] | 477 | <item name="android:focusable">true</item> |
Dake Gu | 1db5382 | 2015-12-02 13:16:14 -0800 | [diff] [blame] | 478 | <item name="android:focusableInTouchMode">true</item> |
Kris Giesing | ebd3d90 | 2015-02-16 15:08:50 -0800 | [diff] [blame] | 479 | <item name="android:minHeight">@dimen/lb_guidedactions_item_min_height</item> |
| 480 | <item name="android:paddingBottom">@dimen/lb_guidedactions_vertical_padding</item> |
| 481 | <item name="android:paddingStart">@dimen/lb_guidedactions_item_start_padding</item> |
| 482 | <item name="android:paddingEnd">@dimen/lb_guidedactions_item_end_padding</item> |
| 483 | <item name="android:paddingTop">@dimen/lb_guidedactions_vertical_padding</item> |
| 484 | </style> |
| 485 | |
| 486 | <!-- Style for an action's checkmark in a GuidedActionsStylist's default item layout. --> |
| 487 | <style name="Widget.Leanback.GuidedActionItemCheckmarkStyle"> |
| 488 | <item name="android:layout_width">@dimen/lb_guidedactions_item_checkmark_diameter</item> |
| 489 | <item name="android:layout_height">@dimen/lb_guidedactions_item_checkmark_diameter</item> |
| 490 | <item name="android:layout_gravity">center</item> |
| 491 | <item name="android:layout_marginEnd">@dimen/lb_guidedactions_item_delimiter_padding</item> |
Dake Gu | 11cb62d | 2015-11-10 18:15:11 -0800 | [diff] [blame] | 492 | <item name="android:scaleType">centerInside</item> |
| 493 | <item name="android:visibility">gone</item> |
Kris Giesing | ebd3d90 | 2015-02-16 15:08:50 -0800 | [diff] [blame] | 494 | </style> |
| 495 | |
| 496 | <!-- Style for an action's icon in a GuidedActionsStylist's default item layout. --> |
| 497 | <style name="Widget.Leanback.GuidedActionItemIconStyle"> |
| 498 | <item name="android:layout_width">@dimen/lb_guidedactions_item_icon_width</item> |
| 499 | <item name="android:layout_height">@dimen/lb_guidedactions_item_icon_height</item> |
| 500 | <item name="android:layout_gravity">center</item> |
| 501 | <item name="android:layout_marginEnd">@dimen/lb_guidedactions_item_delimiter_padding</item> |
| 502 | <item name="android:scaleType">fitCenter</item> |
| 503 | <item name="android:visibility">gone</item> |
| 504 | </style> |
| 505 | |
| 506 | <!-- Style for an action's text content in a GuidedActionsStylist's default item layout. --> |
| 507 | <style name="Widget.Leanback.GuidedActionItemContentStyle"> |
Dake Gu | d14724d | 2015-10-30 16:48:55 -0700 | [diff] [blame] | 508 | <item name="android:layout_width">match_parent</item> |
Kris Giesing | ebd3d90 | 2015-02-16 15:08:50 -0800 | [diff] [blame] | 509 | <item name="android:layout_height">wrap_content</item> |
| 510 | <item name="android:layout_gravity">start|center_vertical</item> |
| 511 | <item name="android:layout_weight">1</item> |
| 512 | <item name="android:orientation">vertical</item> |
| 513 | </style> |
| 514 | |
| 515 | <!-- Style for an action's title in a GuidedActionsStylist's default item layout. --> |
| 516 | <style name="Widget.Leanback.GuidedActionItemTitleStyle"> |
| 517 | <item name="android:layout_width">match_parent</item> |
| 518 | <item name="android:layout_height">wrap_content</item> |
| 519 | <item name="android:alpha">@string/lb_guidedactions_item_unselected_text_alpha</item> |
Kris Giesing | 4158705 | 2015-05-22 15:19:05 -0700 | [diff] [blame] | 520 | <item name="android:ellipsize">end</item> |
Kris Giesing | ebd3d90 | 2015-02-16 15:08:50 -0800 | [diff] [blame] | 521 | <item name="android:fontFamily">sans-serif-condensed</item> |
| 522 | <item name="android:maxLines">@integer/lb_guidedactions_item_title_min_lines</item> |
| 523 | <item name="android:textColor">@color/lb_guidedactions_item_unselected_text_color</item> |
| 524 | <item name="android:textSize">@dimen/lb_guidedactions_item_title_font_size</item> |
Dake Gu | ebb4ade | 2015-12-03 11:10:56 -0800 | [diff] [blame] | 525 | <item name="android:textAlignment">viewStart</item> |
Kris Giesing | ebd3d90 | 2015-02-16 15:08:50 -0800 | [diff] [blame] | 526 | </style> |
| 527 | |
| 528 | <!-- Style for an action's description in a GuidedActionsStylist's default item layout. --> |
| 529 | <style name="Widget.Leanback.GuidedActionItemDescriptionStyle"> |
| 530 | <item name="android:layout_width">match_parent</item> |
| 531 | <item name="android:layout_height">wrap_content</item> |
| 532 | <item name="android:alpha">@string/lb_guidedactions_item_unselected_description_text_alpha</item> |
Dake Gu | c174124 | 2015-10-16 15:09:10 -0700 | [diff] [blame] | 533 | <item name="android:ellipsize">end</item> |
Kris Giesing | ebd3d90 | 2015-02-16 15:08:50 -0800 | [diff] [blame] | 534 | <item name="android:fontFamily">sans-serif-condensed</item> |
| 535 | <item name="android:maxLines">@integer/lb_guidedactions_item_description_min_lines</item> |
| 536 | <item name="android:textColor">@color/lb_guidedactions_item_unselected_text_color</item> |
| 537 | <item name="android:textSize">@dimen/lb_guidedactions_item_description_font_size</item> |
Dake Gu | ebb4ade | 2015-12-03 11:10:56 -0800 | [diff] [blame] | 538 | <item name="android:textAlignment">viewStart</item> |
Kris Giesing | ebd3d90 | 2015-02-16 15:08:50 -0800 | [diff] [blame] | 539 | <item name="android:visibility">gone</item> |
| 540 | </style> |
| 541 | |
| 542 | <!-- Style for an action's chevron in a GuidedActionsStylist's default item layout. --> |
| 543 | <style name="Widget.Leanback.GuidedActionItemChevronStyle"> |
| 544 | <item name="android:layout_width">wrap_content</item> |
| 545 | <item name="android:layout_height">wrap_content</item> |
| 546 | <item name="android:layout_gravity">center</item> |
| 547 | <item name="android:layout_marginStart">@dimen/lb_guidedactions_item_delimiter_padding</item> |
| 548 | <item name="android:scaleType">fitCenter</item> |
| 549 | <item name="android:src">@drawable/lb_ic_guidedactions_item_chevron</item> |
| 550 | <item name="android:visibility">gone</item> |
| 551 | </style> |
| 552 | |
Dake Gu | 0b84583 | 2015-12-07 11:28:50 -0800 | [diff] [blame] | 553 | <!-- deprecated style, do not use --> |
| 554 | <style name="Widget.Leanback.GuidedActionsContainerStyle"></style> |
| 555 | <!-- deprecated style, do not use --> |
| 556 | <style name="Widget.Leanback.GuidedActionsSelectorStyle"></style> |
| 557 | |
Chulwoo Lee | e220922 | 2016-02-18 19:06:05 +0000 | [diff] [blame^] | 558 | <!-- @hide |
| 559 | Style for the header in OnboardingFragment. --> |
| 560 | <style name="Widget.Leanback.OnboardingHeaderStyle"> |
| 561 | <item name="android:layout_width">@dimen/lb_onboarding_content_width</item> |
| 562 | <item name="android:layout_height">@dimen/lb_onboarding_header_height</item> |
| 563 | <item name="android:layout_alignParentTop">true</item> |
| 564 | <item name="android:layout_centerHorizontal">true</item> |
| 565 | <item name="android:layout_marginTop">@dimen/lb_onboarding_header_margin_top</item> |
| 566 | <item name="android:clipChildren">false</item> |
| 567 | <item name="android:clipToPadding">false</item> |
| 568 | <item name="android:orientation">vertical</item> |
| 569 | </style> |
| 570 | |
| 571 | <!-- @hide |
| 572 | Style for the header title in OnboardingFragment. --> |
| 573 | <style name="Widget.Leanback.OnboardingTitleStyle"> |
| 574 | <item name="android:layout_width">match_parent</item> |
| 575 | <item name="android:layout_height">0dp</item> |
| 576 | <item name="android:layout_weight">0.5</item> |
| 577 | <item name="android:layout_marginBottom">3dp</item> |
| 578 | <item name="android:fontFamily">sans-serif-light</item> |
| 579 | <item name="android:gravity">center</item> |
| 580 | <item name="android:textColor">#EEEEEE</item> |
| 581 | <item name="android:textSize">34sp</item> |
| 582 | <item name="android:lineSpacingExtra">14sp</item> |
| 583 | </style> |
| 584 | |
| 585 | <!-- @hide |
| 586 | Style for the header description in OnboardingFragment. --> |
| 587 | <style name="Widget.Leanback.OnboardingDescriptionStyle"> |
| 588 | <item name="android:layout_width">match_parent</item> |
| 589 | <item name="android:layout_height">0dp</item> |
| 590 | <item name="android:layout_weight">0.5</item> |
| 591 | <item name="android:layout_marginTop">3dp</item> |
| 592 | <item name="android:fontFamily">sans-serif-light</item> |
| 593 | <item name="android:gravity">center</item> |
| 594 | <item name="android:textColor">#B3EEEEEE</item> |
| 595 | <item name="android:textSize">14sp</item> |
| 596 | <item name="android:lineSpacingExtra">10sp</item> |
| 597 | </style> |
| 598 | |
| 599 | <!-- @hide |
| 600 | Style for the container of page indicator and start button in OnboardingFragment. --> |
| 601 | <style name="Widget.Leanback.OnboardingNavigatorContainerStyle"> |
| 602 | <item name="android:layout_width">wrap_content</item> |
| 603 | <item name="android:layout_height">wrap_content</item> |
| 604 | <item name="android:layout_marginBottom">58dp</item> |
| 605 | <item name="android:layout_centerHorizontal">true</item> |
| 606 | <item name="android:layout_alignParentBottom">true</item> |
| 607 | </style> |
| 608 | |
| 609 | <!-- @hide |
| 610 | Style for the page indicator in OnboardingFragment. --> |
| 611 | <style name="Widget.Leanback.OnboardingPageIndicatorStyle"> |
| 612 | <item name="android:layout_width">@dimen/lb_onboarding_content_width</item> |
| 613 | <item name="android:layout_height">@dimen/lb_onboarding_navigation_height</item> |
| 614 | <item name="android:layout_gravity">center_horizontal</item> |
| 615 | <item name="android:focusable">true</item> |
| 616 | <item name="android:contentDescription">@string/lb_onboarding_accessibility_next</item> |
| 617 | </style> |
| 618 | |
| 619 | <!-- @hide |
| 620 | Style for the start button in OnboardingFragment. --> |
| 621 | <style name="Widget.Leanback.OnboardingStartButtonStyle"> |
| 622 | <item name="android:layout_width">wrap_content</item> |
| 623 | <item name="android:layout_height">36dp</item> |
| 624 | <item name="android:layout_gravity">center_horizontal</item> |
| 625 | <item name="android:layout_marginBottom">4dp</item> |
| 626 | <item name="android:background">@drawable/lb_onboarding_start_button_background</item> |
| 627 | <item name="android:elevation">1.5dp</item> |
| 628 | <item name="android:fontFamily">sans-serif</item> |
| 629 | <item name="android:gravity">center_vertical</item> |
| 630 | <item name="android:paddingEnd">24dp</item> |
| 631 | <item name="android:paddingStart">24dp</item> |
| 632 | <item name="android:stateListAnimator">@null</item> |
| 633 | <item name="android:text">@string/lb_onboarding_get_started</item> |
| 634 | <item name="android:textAllCaps">true</item> |
| 635 | <item name="android:textColor">#014269</item> |
| 636 | <item name="android:textSize">16sp</item> |
| 637 | </style> |
| 638 | |
| 639 | <!-- @hide |
| 640 | Style for the logo splash image in OnboardingFragment. --> |
| 641 | <style name="Widget.Leanback.OnboardingLogoStyle"> |
| 642 | <item name="android:layout_width">wrap_content</item> |
| 643 | <item name="android:layout_height">wrap_content</item> |
| 644 | <item name="android:layout_centerInParent">true</item> |
| 645 | <item name="android:contentDescription">@null</item> |
| 646 | </style> |
| 647 | |
Tim Kilbourn | 7fbbc85 | 2014-02-18 10:26:40 -0800 | [diff] [blame] | 648 | </resources> |