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"> |
| 90 | <item name="android:foreground">@drawable/lb_card_foreground</item> |
| 91 | </style> |
Tim Kilbourn | b55f088 | 2014-04-05 01:21:30 -0700 | [diff] [blame] | 92 | |
Craig Stout | 731066a | 2014-06-04 19:13:15 -0700 | [diff] [blame] | 93 | <style name="Widget.Leanback.TitleView" > |
Dake Gu | 46443cb | 2015-02-13 14:22:14 -0800 | [diff] [blame] | 94 | <item name="android:paddingTop">?attr/browsePaddingTop</item> |
| 95 | <item name="android:paddingBottom">?attr/browsePaddingTop</item> |
| 96 | <item name="android:paddingStart">?attr/browsePaddingStart</item> |
| 97 | <item name="android:paddingEnd">?attr/browsePaddingEnd</item> |
Craig Stout | 731066a | 2014-06-04 19:13:15 -0700 | [diff] [blame] | 98 | </style> |
| 99 | |
Robert Hahn | df805b8 | 2015-07-17 03:21:37 +0000 | [diff] [blame] | 100 | <style name="Widget.Leanback.ImageCardViewStyle" parent="Widget.Leanback.BaseCardViewStyle"> |
| 101 | <item name="cardType">infoUnder</item> |
| 102 | <item name="infoVisibility">activated</item> |
| 103 | <item name="android:background">@color/lb_basic_card_bg_color</item> |
Robert Hahn | ce3ffc6 | 2015-07-31 17:33:01 -0700 | [diff] [blame^] | 104 | <item name="android:focusable">true</item> |
| 105 | <item name="android:focusableInTouchMode">true</item> |
Robert Hahn | df805b8 | 2015-07-17 03:21:37 +0000 | [diff] [blame] | 106 | <!-- In order to keep backward compatibility we have to create an icon on right. --> |
| 107 | <item name="lbImageCardViewType">Title|Content|IconOnRight</item> |
| 108 | <item name="lbImageCardViewImageStyle">@style/Widget.Leanback.ImageCardView.ImageStyle</item> |
| 109 | <item name="lbImageCardViewTitleStyle">@style/Widget.Leanback.ImageCardView.TitleStyle</item> |
| 110 | <item name="lbImageCardViewContentStyle">@style/Widget.Leanback.ImageCardView.ContentStyle</item> |
| 111 | <item name="lbImageCardViewBadgeStyle">@style/Widget.Leanback.ImageCardView.BadgeStyle</item> |
| 112 | <item name="lbImageCardViewInfoAreaStyle">@style/Widget.Leanback.ImageCardView.InfoAreaStyle</item> |
| 113 | <!-- Deprecated. Use 'Widget.Leanback.ImageCardView.InfoAreaStyle' instead. --> |
| 114 | <item name="infoAreaBackground">@null</item> |
| 115 | </style> |
| 116 | |
Robert Hahn | ce3ffc6 | 2015-07-31 17:33:01 -0700 | [diff] [blame^] | 117 | <style name="Widget.Leanback.ImageCardView" /> |
Robert Hahn | df805b8 | 2015-07-17 03:21:37 +0000 | [diff] [blame] | 118 | |
| 119 | <style name="Widget.Leanback.ImageCardView.ImageStyle"> |
| 120 | <item name="android:layout_width">wrap_content</item> |
| 121 | <item name="android:layout_height">wrap_content</item> |
| 122 | <item name="android:adjustViewBounds">true</item> |
| 123 | <item name="android:contentDescription">@null</item> |
| 124 | <item name="android:scaleType">centerCrop</item> |
| 125 | <item name="layout_viewType">main</item> |
Robert Hahn | ce3ffc6 | 2015-07-31 17:33:01 -0700 | [diff] [blame^] | 126 | <item name="android:background">@null</item> |
Robert Hahn | df805b8 | 2015-07-17 03:21:37 +0000 | [diff] [blame] | 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="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> |
| 147 | <item name="android:fontFamily">sans-serif-condensed</item> |
| 148 | <item name="android:textColor">@color/lb_basic_card_title_text_color</item> |
| 149 | <item name="android:textSize">@dimen/lb_basic_card_title_text_size</item> |
| 150 | <item name="android:ellipsize">end</item> |
| 151 | <item name="android:background">@null</item> |
| 152 | </style> |
| 153 | |
| 154 | <style name="Widget.Leanback.ImageCardView.ContentStyle"> |
| 155 | <item name="android:id">@id/content_text</item> |
| 156 | <item name="android:layout_width">match_parent</item> |
| 157 | <item name="android:layout_height">wrap_content</item> |
| 158 | <item name="android:layout_alignParentStart">true</item> |
| 159 | <item name="android:layout_below">@+id/title_text</item> |
| 160 | <item name="android:layout_toStartOf">@+id/extra_badge</item> |
| 161 | <item name="android:maxLines">1</item> |
| 162 | <item name="android:fontFamily">sans-serif-condensed</item> |
| 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 | <item name="android:ellipsize">none</item> |
| 166 | <item name="android:background">@null</item> |
| 167 | </style> |
| 168 | |
| 169 | <style name="Widget.Leanback.ImageCardView.BadgeStyle"> |
| 170 | <item name="android:id">@id/extra_badge</item> |
| 171 | <item name="android:layout_width">@dimen/lb_basic_card_info_badge_size</item> |
| 172 | <item name="android:layout_height">@dimen/lb_basic_card_info_badge_size</item> |
| 173 | <item name="android:contentDescription">@null</item> |
| 174 | <item name="android:scaleType">fitCenter</item> |
Robert Hahn | df805b8 | 2015-07-17 03:21:37 +0000 | [diff] [blame] | 175 | <item name="android:background">@null</item> |
| 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 | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 184 | <item name="android:textAppearance">@style/TextAppearance.Leanback.Title</item> |
| 185 | </style> |
| 186 | |
| 187 | <style name="Widget.Leanback.Title.Icon"> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 188 | </style> |
| 189 | |
Dake Gu | 42e4e84 | 2014-05-12 12:20:39 -0700 | [diff] [blame] | 190 | <!-- HeadersFragment --> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 191 | <style name="Widget.Leanback.Headers" /> |
| 192 | |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 193 | <!-- RowsFragment --> |
| 194 | <style name="Widget.Leanback.Rows" > |
| 195 | </style> |
| 196 | |
| 197 | <!-- row view --> |
| 198 | <style name="Widget.Leanback.Row" > |
| 199 | </style> |
| 200 | |
Craig Stout | 739e380 | 2014-04-07 12:10:51 -0700 | [diff] [blame] | 201 | <style name="Widget.Leanback.GridItems" /> |
| 202 | |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 203 | <style name="Widget.Leanback.Headers.VerticalGridView" > |
Kris Giesing | 8e35662 | 2014-11-18 18:58:27 -0800 | [diff] [blame] | 204 | <item name="android:paddingStart">?attr/browsePaddingStart</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 205 | <item name="focusOutFront">true</item> |
| 206 | <item name="focusOutEnd">true</item> |
Dake Gu | 3c23ada | 2014-04-18 14:08:05 -0700 | [diff] [blame] | 207 | <item name="verticalMargin">@dimen/lb_browse_headers_vertical_margin</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 208 | <item name="android:focusable">true</item> |
| 209 | <item name="android:focusableInTouchMode">true</item> |
| 210 | </style> |
| 211 | |
| 212 | <style name="Widget.Leanback.Header" > |
Craig Stout | 268de3d | 2014-05-22 17:07:16 -0700 | [diff] [blame] | 213 | <item name="android:minHeight">@dimen/lb_browse_header_height</item> |
Craig Stout | ad9af35 | 2015-02-02 17:26:13 -0800 | [diff] [blame] | 214 | <item name="android:minWidth">1dp</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 215 | <item name="android:textAppearance">@style/TextAppearance.Leanback.Header</item> |
| 216 | <item name="android:singleLine">true</item> |
Dake Gu | 7a208cd | 2014-09-08 17:40:21 -0700 | [diff] [blame] | 217 | <item name="android:ellipsize">none</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 218 | </style> |
| 219 | |
| 220 | <style name="Widget.Leanback.Rows.VerticalGridView" > |
| 221 | <item name="android:paddingBottom">?attr/browsePaddingBottom</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 222 | <item name="focusOutFront">true</item> |
| 223 | <item name="focusOutEnd">true</item> |
| 224 | <item name="android:focusable">true</item> |
| 225 | <item name="android:focusableInTouchMode">true</item> |
| 226 | </style> |
| 227 | |
| 228 | <style name="Widget.Leanback.Row.HorizontalGridView"> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 229 | <item name="android:focusable">true</item> |
| 230 | <item name="android:focusableInTouchMode">true</item> |
Kris Giesing | 8e35662 | 2014-11-18 18:58:27 -0800 | [diff] [blame] | 231 | <item name="android:paddingStart">?attr/browsePaddingStart</item> |
| 232 | <item name="android:paddingEnd">?attr/browsePaddingEnd</item> |
Craig Stout | 58b9f20 | 2014-06-02 11:58:34 -0700 | [diff] [blame] | 233 | <item name="android:paddingBottom">@dimen/lb_browse_item_vertical_margin</item> |
| 234 | <item name="android:paddingTop">@dimen/lb_browse_item_vertical_margin</item> |
| 235 | <item name="horizontalMargin">@dimen/lb_browse_item_horizontal_margin</item> |
| 236 | <item name="verticalMargin">@dimen/lb_browse_item_vertical_margin</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 237 | <item name="focusOutFront">true</item> |
| 238 | </style> |
| 239 | |
Craig Stout | 739e380 | 2014-04-07 12:10:51 -0700 | [diff] [blame] | 240 | <style name="Widget.Leanback.GridItems.VerticalGridView"> |
Craig Stout | 739e380 | 2014-04-07 12:10:51 -0700 | [diff] [blame] | 241 | <item name="android:focusable">true</item> |
| 242 | <item name="android:focusableInTouchMode">true</item> |
Kris Giesing | 8e35662 | 2014-11-18 18:58:27 -0800 | [diff] [blame] | 243 | <item name="android:paddingStart">?attr/browsePaddingStart</item> |
| 244 | <item name="android:paddingEnd">?attr/browsePaddingEnd</item> |
Craig Stout | 7b777e6 | 2014-06-17 15:38:17 -0700 | [diff] [blame] | 245 | <item name="android:paddingBottom">@dimen/lb_vertical_grid_padding_bottom</item> |
Dake Gu | e34cae4 | 2014-05-01 16:52:53 -0700 | [diff] [blame] | 246 | <item name="android:paddingTop">?attr/browseRowsMarginTop</item> |
Dake Gu | 01ce047 | 2014-05-02 18:12:32 -0700 | [diff] [blame] | 247 | <item name="android:gravity">center_horizontal</item> |
Craig Stout | 58b9f20 | 2014-06-02 11:58:34 -0700 | [diff] [blame] | 248 | <item name="horizontalMargin">@dimen/lb_browse_item_horizontal_margin</item> |
| 249 | <item name="verticalMargin">@dimen/lb_browse_item_vertical_margin</item> |
Craig Stout | 739e380 | 2014-04-07 12:10:51 -0700 | [diff] [blame] | 250 | <item name="focusOutFront">true</item> |
| 251 | </style> |
| 252 | |
Craig Stout | 268de3d | 2014-05-22 17:07:16 -0700 | [diff] [blame] | 253 | <style name="Widget.Leanback.Row.Header" parent="Widget.Leanback.Header"> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 254 | <item name="android:textAppearance">@style/TextAppearance.Leanback.Row.Header</item> |
| 255 | </style> |
| 256 | |
Dake Gu | 46443cb | 2015-02-13 14:22:14 -0800 | [diff] [blame] | 257 | <style name="Widget.Leanback.Row.HeaderDock"> |
| 258 | <item name="android:paddingStart">?attr/browsePaddingStart</item> |
| 259 | </style> |
| 260 | |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 261 | <style name="TextAppearance.Leanback.Row.HoverCardTitle" parent="TextAppearance.Leanback"> |
| 262 | <item name="android:textSize">@dimen/lb_browse_row_hovercard_title_font_size</item> |
| 263 | </style> |
| 264 | |
| 265 | <style name="TextAppearance.Leanback.Row.HoverCardDescription" parent="TextAppearance.Leanback"> |
| 266 | <item name="android:textSize">@dimen/lb_browse_row_hovercard_description_font_size</item> |
| 267 | </style> |
| 268 | |
| 269 | <style name="Widget.Leanback.Row.HoverCardTitle" > |
| 270 | <item name="android:textAppearance">@style/TextAppearance.Leanback.Row.HoverCardTitle</item> |
| 271 | <item name="android:maxWidth">@dimen/lb_browse_row_hovercard_max_width</item> |
| 272 | <item name="android:singleLine">true</item> |
| 273 | <item name="android:ellipsize">end</item> |
| 274 | </style> |
| 275 | |
| 276 | <style name="Widget.Leanback.Row.HoverCardDescription" > |
| 277 | <item name="android:textAppearance">@style/TextAppearance.Leanback.Row.HoverCardDescription</item> |
| 278 | <item name="android:maxWidth">@dimen/lb_browse_row_hovercard_max_width</item> |
| 279 | <item name="android:ellipsize">end</item> |
Craig Stout | 268de3d | 2014-05-22 17:07:16 -0700 | [diff] [blame] | 280 | <item name="android:maxLines">4</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 281 | </style> |
| 282 | |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 283 | <style name="Widget.Leanback.DetailsDescriptionTitleStyle"> |
| 284 | <item name="android:textAppearance">@style/TextAppearance.Leanback.DetailsDescriptionTitle</item> |
| 285 | <item name="android:maxLines">@integer/lb_details_description_title_max_lines</item> |
Craig Stout | d2c235a | 2014-05-16 13:59:26 -0700 | [diff] [blame] | 286 | <item name="android:includeFontPadding">false</item> |
Craig Stout | 2a2b18c | 2014-05-27 16:25:45 -0700 | [diff] [blame] | 287 | <item name="android:ellipsize">end</item> |
Kris Giesing | 7fa663f | 2014-12-03 23:38:54 -0800 | [diff] [blame] | 288 | <item name="resizeTrigger">maxLines</item> |
| 289 | <item name="resizedTextSize">@dimen/lb_details_description_title_resized_text_size</item> |
| 290 | <item name="resizedPaddingAdjustmentTop">@dimen/lb_details_description_title_padding_adjust_top</item> |
| 291 | <item name="resizedPaddingAdjustmentBottom">@dimen/lb_details_description_title_padding_adjust_bottom</item> |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 292 | </style> |
| 293 | |
| 294 | <style name="Widget.Leanback.DetailsDescriptionSubtitleStyle"> |
| 295 | <item name="android:textAppearance">@style/TextAppearance.Leanback.DetailsDescriptionSubtitle</item> |
| 296 | <item name="android:maxLines">@integer/lb_details_description_subtitle_max_lines</item> |
Craig Stout | d2c235a | 2014-05-16 13:59:26 -0700 | [diff] [blame] | 297 | <item name="android:includeFontPadding">false</item> |
Craig Stout | 2a2b18c | 2014-05-27 16:25:45 -0700 | [diff] [blame] | 298 | <item name="android:ellipsize">end</item> |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 299 | </style> |
| 300 | |
| 301 | <style name="Widget.Leanback.DetailsDescriptionBodyStyle"> |
| 302 | <item name="android:textAppearance">@style/TextAppearance.Leanback.DetailsDescriptionBody</item> |
Craig Stout | 7c00407 | 2014-05-21 16:40:13 -0700 | [diff] [blame] | 303 | <item name="android:includeFontPadding">false</item> |
Craig Stout | 2a2b18c | 2014-05-27 16:25:45 -0700 | [diff] [blame] | 304 | <item name="android:ellipsize">end</item> |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 305 | </style> |
Craig Stout | 7c00407 | 2014-05-21 16:40:13 -0700 | [diff] [blame] | 306 | |
Craig Stout | 600b211 | 2014-08-11 16:02:34 -0700 | [diff] [blame] | 307 | <style name="Widget.Leanback.DetailsActionButtonStyleBase" parent="android:Widget.Holo.Button.Borderless"> |
| 308 | </style> |
| 309 | |
| 310 | <style name="Widget.Leanback.DetailsActionButtonStyle" parent="Widget.Leanback.DetailsActionButtonStyleBase"> |
Craig Stout | 7c00407 | 2014-05-21 16:40:13 -0700 | [diff] [blame] | 311 | <item name="android:textAppearance">@style/TextAppearance.Leanback.DetailsActionButton</item> |
| 312 | <item name="android:includeFontPadding">false</item> |
Craig Stout | 7c00407 | 2014-05-21 16:40:13 -0700 | [diff] [blame] | 313 | <item name="android:drawablePadding">@dimen/lb_action_icon_margin</item> |
| 314 | <item name="android:focusable">true</item> |
| 315 | <item name="android:focusableInTouchMode">true</item> |
Kris Giesing | 8e35662 | 2014-11-18 18:58:27 -0800 | [diff] [blame] | 316 | <item name="android:paddingStart">@dimen/lb_action_padding_horizontal</item> |
| 317 | <item name="android:paddingEnd">@dimen/lb_action_padding_horizontal</item> |
Craig Stout | 7c00407 | 2014-05-21 16:40:13 -0700 | [diff] [blame] | 318 | </style> |
| 319 | |
Craig Stout | 7ab1edf | 2014-07-16 11:06:09 -0700 | [diff] [blame] | 320 | <style name="Widget.Leanback.PlaybackControlsButtonStyle" > |
| 321 | <item name="android:focusable">true</item> |
| 322 | <item name="android:focusableInTouchMode">true</item> |
| 323 | </style> |
| 324 | |
Craig Stout | eb66dab | 2014-10-30 15:58:40 -0700 | [diff] [blame] | 325 | <style name="Widget.Leanback.PlaybackControlLabelStyle"> |
| 326 | <item name="android:textAppearance">@style/TextAppearance.Leanback.PlaybackControlLabel</item> |
| 327 | </style> |
| 328 | |
Craig Stout | e5b67be | 2014-07-28 11:41:35 -0700 | [diff] [blame] | 329 | <style name="Widget.Leanback.PlaybackControlsTimeStyle"> |
| 330 | <item name="android:textAppearance">@style/TextAppearance.Leanback.PlaybackControlsTime</item> |
| 331 | </style> |
| 332 | |
Craig Stout | b7c2e02 | 2014-06-26 16:31:15 -0700 | [diff] [blame] | 333 | <style name="Widget.Leanback.ErrorMessageStyle"> |
| 334 | <item name="android:textAppearance">@style/TextAppearance.Leanback.ErrorMessage</item> |
| 335 | <item name="android:includeFontPadding">false</item> |
| 336 | <item name="android:maxLines">@integer/lb_error_message_max_lines</item> |
| 337 | <item name="android:ellipsize">end</item> |
| 338 | </style> |
| 339 | |
Jerome Poichet | f0e7118 | 2014-06-05 13:29:18 -0700 | [diff] [blame] | 340 | <style name="Widget.Leanback.SearchOrbViewStyle"> |
Jerome Poichet | 937f910 | 2014-06-06 16:03:36 -0700 | [diff] [blame] | 341 | <item name="searchOrbIcon">?attr/defaultSearchIcon</item> |
Jerome Poichet | f0e7118 | 2014-06-05 13:29:18 -0700 | [diff] [blame] | 342 | <item name="searchOrbColor">?attr/defaultSearchColor</item> |
bulic | 8b55ff2 | 2014-06-06 13:12:30 -0700 | [diff] [blame] | 343 | <item name="searchOrbBrightColor">?attr/defaultSearchBrightColor</item> |
Jerome Poichet | f0e7118 | 2014-06-05 13:29:18 -0700 | [diff] [blame] | 344 | </style> |
Craig Stout | 1902530 | 2014-07-25 22:27:20 -0700 | [diff] [blame] | 345 | |
| 346 | <style name="Widget.Leanback.PlaybackControlsActionIconsStyle"> |
| 347 | <item name="play">@drawable/lb_ic_play</item> |
| 348 | <item name="pause">@drawable/lb_ic_pause</item> |
| 349 | <item name="fast_forward">@drawable/lb_ic_fast_forward</item> |
| 350 | <item name="rewind">@drawable/lb_ic_fast_rewind</item> |
| 351 | <item name="skip_next">@drawable/lb_ic_skip_next</item> |
| 352 | <item name="skip_previous">@drawable/lb_ic_skip_previous</item> |
| 353 | <item name="thumb_up_outline">@drawable/lb_ic_thumb_up_outline</item> |
| 354 | <item name="thumb_up">@drawable/lb_ic_thumb_up</item> |
| 355 | <item name="thumb_down_outline">@drawable/lb_ic_thumb_down_outline</item> |
| 356 | <item name="thumb_down">@drawable/lb_ic_thumb_down</item> |
| 357 | <item name="repeat">@drawable/lb_ic_loop</item> |
| 358 | <item name="repeat_one">@drawable/lb_ic_loop_one</item> |
| 359 | <item name="shuffle">@drawable/lb_ic_shuffle</item> |
| 360 | <item name="high_quality">@drawable/lb_ic_hq</item> |
| 361 | <item name="closed_captioning">@drawable/lb_ic_cc</item> |
| 362 | </style> |
| 363 | |
Kris Giesing | ebd3d90 | 2015-02-16 15:08:50 -0800 | [diff] [blame] | 364 | <!-- Style for the main container view in a GuidanceStylist's default layout. --> |
| 365 | <style name="Widget.Leanback.GuidanceContainerStyle"> |
| 366 | <item name="android:layout_width">match_parent</item> |
| 367 | <item name="android:layout_height">match_parent</item> |
| 368 | <item name="android:paddingStart">48dp</item> |
| 369 | <item name="android:paddingEnd">16dp</item> |
| 370 | <item name="android:clipToPadding">false</item> |
| 371 | </style> |
| 372 | |
| 373 | <!-- Style for the title view in a GuidanceStylist's default layout. --> |
| 374 | <style name="Widget.Leanback.GuidanceTitleStyle"> |
| 375 | <item name="android:layout_toStartOf">@id/guidance_icon</item> |
| 376 | <item name="android:layout_width">wrap_content</item> |
| 377 | <item name="android:layout_height">wrap_content</item> |
| 378 | <item name="android:layout_alignWithParentIfMissing">true</item> |
| 379 | <item name="android:layout_centerVertical">true</item> |
| 380 | <item name="android:ellipsize">end</item> |
| 381 | <item name="android:fontFamily">sans-serif-light</item> |
| 382 | <item name="android:gravity">end</item> |
| 383 | <item name="android:maxLines">2</item> |
| 384 | <item name="android:paddingBottom">4dp</item> |
| 385 | <item name="android:paddingTop">2dp</item> |
| 386 | <item name="android:textColor">#FFF1F1F1</item> |
| 387 | <item name="android:textSize">36sp</item> |
| 388 | </style> |
| 389 | |
| 390 | <!-- Style for the description view in a GuidanceStylist's default layout. --> |
| 391 | <style name="Widget.Leanback.GuidanceDescriptionStyle"> |
| 392 | <item name="android:layout_below">@id/guidance_title</item> |
| 393 | <item name="android:layout_toStartOf">@id/guidance_icon</item> |
| 394 | <item name="android:layout_width">wrap_content</item> |
| 395 | <item name="android:layout_height">wrap_content</item> |
| 396 | <item name="android:layout_alignWithParentIfMissing">true</item> |
| 397 | <item name="android:ellipsize">end</item> |
| 398 | <item name="android:fontFamily">sans-serif</item> |
| 399 | <item name="android:gravity">end</item> |
| 400 | <item name="android:maxLines">6</item> |
| 401 | <item name="android:textColor">#88F1F1F1</item> |
| 402 | <item name="android:textSize">14sp</item> |
| 403 | <item name="android:lineSpacingExtra">3dp</item> |
| 404 | </style> |
| 405 | |
| 406 | <!-- Style for the breadcrumb view in a GuidanceStylist's default layout. --> |
| 407 | <style name="Widget.Leanback.GuidanceBreadcrumbStyle"> |
| 408 | <item name="android:layout_above">@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-condensed</item> |
| 415 | <item name="android:singleLine">true</item> |
| 416 | <item name="android:textColor">#88F1F1F1</item> |
| 417 | <item name="android:textSize">18sp</item> |
| 418 | </style> |
| 419 | |
| 420 | <!-- Style for the icon view in a GuidanceStylist's default layout. --> |
| 421 | <style name="Widget.Leanback.GuidanceIconStyle"> |
| 422 | <item name="android:layout_width">140dp</item> |
| 423 | <item name="android:layout_height">wrap_content</item> |
| 424 | <item name="android:layout_alignParentEnd">true</item> |
| 425 | <item name="android:layout_centerVertical">true</item> |
| 426 | <item name="android:layout_marginStart">16dp</item> |
| 427 | <item name="android:maxHeight">280dp</item> |
| 428 | <item name="android:scaleType">fitCenter</item> |
| 429 | </style> |
| 430 | |
| 431 | <!-- Style for the container view in a GuidedActionsStylist's default layout. --> |
| 432 | <style name="Widget.Leanback.GuidedActionsContainerStyle"> |
| 433 | <item name="android:layout_width">@dimen/lb_guidedactions_section_width</item> |
| 434 | <item name="android:layout_height">match_parent</item> |
| 435 | <item name="android:layout_alignParentEnd">true</item> |
| 436 | <item name="android:background">@color/lb_guidedactions_background</item> |
| 437 | <item name="android:elevation">@dimen/lb_guidedactions_elevation</item> |
| 438 | </style> |
| 439 | |
| 440 | <!-- Style for the selector view in a GuidedActionsStylist's default layout. --> |
| 441 | <style name="Widget.Leanback.GuidedActionsSelectorStyle"> |
| 442 | <item name="android:layout_width">match_parent</item> |
| 443 | <item name="android:layout_height">@dimen/lb_guidedactions_selector_min_height</item> |
| 444 | <item name="android:layout_centerVertical">true</item> |
| 445 | <item name="android:alpha">0</item> |
| 446 | <item name="android:background">@color/lb_guidedactions_selector_color</item> |
| 447 | </style> |
| 448 | |
| 449 | <!-- Style for the vertical grid of actions in a GuidedActionsStylist's default layout. --> |
| 450 | <style name="Widget.Leanback.GuidedActionsListStyle"> |
| 451 | <item name="android:layout_width">match_parent</item> |
| 452 | <item name="android:layout_height">match_parent</item> |
| 453 | <item name="android:focusable">true</item> |
| 454 | </style> |
| 455 | |
| 456 | |
| 457 | <!-- Style for an action's container in a GuidedActionsStylist's default item layout. --> |
| 458 | <style name="Widget.Leanback.GuidedActionItemContainerStyle"> |
| 459 | <item name="android:layout_width">match_parent</item> |
| 460 | <item name="android:layout_height">wrap_content</item> |
| 461 | <item name="android:focusable">true</item> |
| 462 | <item name="android:minHeight">@dimen/lb_guidedactions_item_min_height</item> |
| 463 | <item name="android:paddingBottom">@dimen/lb_guidedactions_vertical_padding</item> |
| 464 | <item name="android:paddingStart">@dimen/lb_guidedactions_item_start_padding</item> |
| 465 | <item name="android:paddingEnd">@dimen/lb_guidedactions_item_end_padding</item> |
| 466 | <item name="android:paddingTop">@dimen/lb_guidedactions_vertical_padding</item> |
| 467 | </style> |
| 468 | |
| 469 | <!-- Style for an action's checkmark in a GuidedActionsStylist's default item layout. --> |
| 470 | <style name="Widget.Leanback.GuidedActionItemCheckmarkStyle"> |
| 471 | <item name="android:layout_width">@dimen/lb_guidedactions_item_checkmark_diameter</item> |
| 472 | <item name="android:layout_height">@dimen/lb_guidedactions_item_checkmark_diameter</item> |
| 473 | <item name="android:layout_gravity">center</item> |
| 474 | <item name="android:layout_marginEnd">@dimen/lb_guidedactions_item_delimiter_padding</item> |
| 475 | <item name="android:scaleType">center</item> |
| 476 | <item name="android:src">@drawable/lb_guidedactions_item_checkmark</item> |
| 477 | <item name="android:visibility">invisible</item> |
| 478 | </style> |
| 479 | |
| 480 | <!-- Style for an action's icon in a GuidedActionsStylist's default item layout. --> |
| 481 | <style name="Widget.Leanback.GuidedActionItemIconStyle"> |
| 482 | <item name="android:layout_width">@dimen/lb_guidedactions_item_icon_width</item> |
| 483 | <item name="android:layout_height">@dimen/lb_guidedactions_item_icon_height</item> |
| 484 | <item name="android:layout_gravity">center</item> |
| 485 | <item name="android:layout_marginEnd">@dimen/lb_guidedactions_item_delimiter_padding</item> |
| 486 | <item name="android:scaleType">fitCenter</item> |
| 487 | <item name="android:visibility">gone</item> |
| 488 | </style> |
| 489 | |
| 490 | <!-- Style for an action's text content in a GuidedActionsStylist's default item layout. --> |
| 491 | <style name="Widget.Leanback.GuidedActionItemContentStyle"> |
| 492 | <item name="android:layout_width">0dp</item> |
| 493 | <item name="android:layout_height">wrap_content</item> |
| 494 | <item name="android:layout_gravity">start|center_vertical</item> |
| 495 | <item name="android:layout_weight">1</item> |
| 496 | <item name="android:orientation">vertical</item> |
| 497 | </style> |
| 498 | |
| 499 | <!-- Style for an action's title in a GuidedActionsStylist's default item layout. --> |
| 500 | <style name="Widget.Leanback.GuidedActionItemTitleStyle"> |
| 501 | <item name="android:layout_width">match_parent</item> |
| 502 | <item name="android:layout_height">wrap_content</item> |
| 503 | <item name="android:alpha">@string/lb_guidedactions_item_unselected_text_alpha</item> |
| 504 | <item name="android:ellipsize">marquee</item> |
| 505 | <item name="android:fontFamily">sans-serif-condensed</item> |
| 506 | <item name="android:maxLines">@integer/lb_guidedactions_item_title_min_lines</item> |
| 507 | <item name="android:textColor">@color/lb_guidedactions_item_unselected_text_color</item> |
| 508 | <item name="android:textSize">@dimen/lb_guidedactions_item_title_font_size</item> |
| 509 | </style> |
| 510 | |
| 511 | <!-- Style for an action's description in a GuidedActionsStylist's default item layout. --> |
| 512 | <style name="Widget.Leanback.GuidedActionItemDescriptionStyle"> |
| 513 | <item name="android:layout_width">match_parent</item> |
| 514 | <item name="android:layout_height">wrap_content</item> |
| 515 | <item name="android:alpha">@string/lb_guidedactions_item_unselected_description_text_alpha</item> |
| 516 | <item name="android:ellipsize">marquee</item> |
| 517 | <item name="android:fontFamily">sans-serif-condensed</item> |
| 518 | <item name="android:maxLines">@integer/lb_guidedactions_item_description_min_lines</item> |
| 519 | <item name="android:textColor">@color/lb_guidedactions_item_unselected_text_color</item> |
| 520 | <item name="android:textSize">@dimen/lb_guidedactions_item_description_font_size</item> |
| 521 | <item name="android:visibility">gone</item> |
| 522 | </style> |
| 523 | |
| 524 | <!-- Style for an action's chevron in a GuidedActionsStylist's default item layout. --> |
| 525 | <style name="Widget.Leanback.GuidedActionItemChevronStyle"> |
| 526 | <item name="android:layout_width">wrap_content</item> |
| 527 | <item name="android:layout_height">wrap_content</item> |
| 528 | <item name="android:layout_gravity">center</item> |
| 529 | <item name="android:layout_marginStart">@dimen/lb_guidedactions_item_delimiter_padding</item> |
| 530 | <item name="android:scaleType">fitCenter</item> |
| 531 | <item name="android:src">@drawable/lb_ic_guidedactions_item_chevron</item> |
| 532 | <item name="android:visibility">gone</item> |
| 533 | </style> |
| 534 | |
Tim Kilbourn | 7fbbc85 | 2014-02-18 10:26:40 -0800 | [diff] [blame] | 535 | </resources> |