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"> |
Tim Kilbourn | 7fbbc85 | 2014-02-18 10:26:40 -0800 | [diff] [blame] | 19 | <style name="TextAppearance.Leanback" parent="android:TextAppearance.Holo"> |
| 20 | <!-- Any text appearance overrides go here. --> |
Dake Gu | f804d90 | 2014-03-18 18:04:57 -0700 | [diff] [blame] | 21 | <item name="android:fontFamily">sans-serif-condensed</item> |
Tim Kilbourn | 7fbbc85 | 2014-02-18 10:26:40 -0800 | [diff] [blame] | 22 | </style> |
| 23 | |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 24 | <style name="TextAppearance.Leanback.Title" parent="TextAppearance.Leanback"> |
Craig Stout | 268de3d | 2014-05-22 17:07:16 -0700 | [diff] [blame^] | 25 | <item name="android:fontFamily">sans-serif-light</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 26 | <item name="android:textSize">@dimen/lb_browse_title_text_size</item> |
| 27 | <item name="android:textColor">@color/lb_browse_title_color</item> |
| 28 | </style> |
| 29 | |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 30 | <style name="TextAppearance.Leanback.Header" parent="TextAppearance.Leanback"> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 31 | <item name="android:textSize">@dimen/lb_browse_header_text_size</item> |
Craig Stout | 268de3d | 2014-05-22 17:07:16 -0700 | [diff] [blame^] | 32 | <item name="android:textColor">@color/lb_browse_header_color</item> |
| 33 | </style> |
| 34 | |
| 35 | <style name="TextAppearance.Leanback.Row.Header" parent="TextAppearance.Leanback.Header"> |
| 36 | <item name="android:fontFamily">sans-serif</item> |
Dake Gu | f804d90 | 2014-03-18 18:04:57 -0700 | [diff] [blame] | 37 | </style> |
| 38 | |
Jerome Poichet | 3c2998d | 2014-03-28 15:43:26 -0700 | [diff] [blame] | 39 | <style name="TextAppearance.Leanback.SearchTextEdit" parent="TextAppearance.Leanback"> |
Jerome Poichet | 3c2998d | 2014-03-28 15:43:26 -0700 | [diff] [blame] | 40 | <item name="android:textSize">@dimen/lb_search_bar_text_size</item> |
| 41 | </style> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 42 | |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 43 | <style name="TextAppearance.Leanback.DetailsDescriptionTitle"> |
| 44 | <item name="android:textSize">@dimen/lb_details_description_title_text_size</item> |
| 45 | <item name="android:textColor">@color/lb_details_description_color</item> |
Craig Stout | d2c235a | 2014-05-16 13:59:26 -0700 | [diff] [blame] | 46 | <item name="android:fontFamily">sans-serif</item> |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 47 | </style> |
| 48 | |
| 49 | <style name="TextAppearance.Leanback.DetailsDescriptionSubtitle"> |
| 50 | <item name="android:textSize">@dimen/lb_details_description_subtitle_text_size</item> |
| 51 | <item name="android:textColor">@color/lb_details_description_color</item> |
Craig Stout | d2c235a | 2014-05-16 13:59:26 -0700 | [diff] [blame] | 52 | <item name="android:fontFamily">sans-serif</item> |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 53 | </style> |
| 54 | |
| 55 | <style name="TextAppearance.Leanback.DetailsDescriptionBody"> |
| 56 | <item name="android:textSize">@dimen/lb_details_description_body_text_size</item> |
| 57 | <item name="android:textColor">@color/lb_details_description_color</item> |
| 58 | <item name="android:fontFamily">sans-serif</item> |
| 59 | </style> |
| 60 | |
Craig Stout | 7c00407 | 2014-05-21 16:40:13 -0700 | [diff] [blame] | 61 | <style name="TextAppearance.Leanback.DetailsActionButton"> |
| 62 | <item name="android:textSize">@dimen/lb_action_text_size</item> |
| 63 | <item name="android:textColor">@color/lb_action_text_color</item> |
| 64 | <item name="android:textAllCaps">true</item> |
| 65 | </style> |
| 66 | |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 67 | <style name="Widget.Leanback" parent="android:Widget.Holo" /> |
| 68 | |
Tim Kilbourn | b55f088 | 2014-04-05 01:21:30 -0700 | [diff] [blame] | 69 | <style name="Widget.Leanback.BaseCardViewStyle" /> |
| 70 | |
| 71 | <style name="Widget.Leanback.ImageCardViewStyle" parent="Widget.Leanback.BaseCardViewStyle"> |
| 72 | <item name="cardType">infoUnder</item> |
| 73 | <item name="infoVisibility">activated</item> |
| 74 | <item name="android:background">@color/lb_basic_card_bg_color</item> |
| 75 | </style> |
| 76 | |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 77 | <style name="Widget.Leanback.Title" /> |
| 78 | |
| 79 | <style name="Widget.Leanback.Title.Text"> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 80 | <item name="android:singleLine">true</item> |
Craig Stout | 4cf79b1 | 2014-05-13 16:56:58 -0700 | [diff] [blame] | 81 | <item name="android:gravity">right</item> |
| 82 | <item name="android:ellipsize">end</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 83 | <item name="android:textAppearance">@style/TextAppearance.Leanback.Title</item> |
| 84 | </style> |
| 85 | |
| 86 | <style name="Widget.Leanback.Title.Icon"> |
Craig Stout | 31356ff | 2014-04-15 14:24:36 -0700 | [diff] [blame] | 87 | <item name="android:scaleType">centerInside</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 88 | </style> |
| 89 | |
Dake Gu | 42e4e84 | 2014-05-12 12:20:39 -0700 | [diff] [blame] | 90 | <!-- HeadersFragment --> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 91 | <style name="Widget.Leanback.Headers" /> |
| 92 | |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 93 | <!-- RowsFragment --> |
| 94 | <style name="Widget.Leanback.Rows" > |
| 95 | </style> |
| 96 | |
| 97 | <!-- row view --> |
| 98 | <style name="Widget.Leanback.Row" > |
| 99 | </style> |
| 100 | |
Craig Stout | 739e380 | 2014-04-07 12:10:51 -0700 | [diff] [blame] | 101 | <style name="Widget.Leanback.GridItems" /> |
| 102 | |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 103 | <style name="Widget.Leanback.Headers.VerticalGridView" > |
| 104 | <item name="android:paddingLeft">?attr/browsePaddingLeft</item> |
| 105 | <item name="android:clipToPadding">false</item> |
| 106 | <item name="focusOutFront">true</item> |
| 107 | <item name="focusOutEnd">true</item> |
Dake Gu | 3c23ada | 2014-04-18 14:08:05 -0700 | [diff] [blame] | 108 | <item name="verticalMargin">@dimen/lb_browse_headers_vertical_margin</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 109 | <item name="android:focusable">true</item> |
| 110 | <item name="android:focusableInTouchMode">true</item> |
| 111 | </style> |
| 112 | |
| 113 | <style name="Widget.Leanback.Header" > |
Craig Stout | 268de3d | 2014-05-22 17:07:16 -0700 | [diff] [blame^] | 114 | <item name="android:minHeight">@dimen/lb_browse_header_height</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 115 | <item name="android:textAppearance">@style/TextAppearance.Leanback.Header</item> |
| 116 | <item name="android:singleLine">true</item> |
Craig Stout | 268de3d | 2014-05-22 17:07:16 -0700 | [diff] [blame^] | 117 | <item name="android:ellipsize">marquee</item> |
| 118 | <item name="android:marqueeRepeatLimit">0</item> |
| 119 | <item name="android:paddingRight">@dimen/lb_browse_header_padding_right</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 120 | </style> |
| 121 | |
| 122 | <style name="Widget.Leanback.Rows.VerticalGridView" > |
| 123 | <item name="android:paddingBottom">?attr/browsePaddingBottom</item> |
| 124 | <item name="android:clipToPadding">false</item> |
| 125 | <item name="focusOutFront">true</item> |
| 126 | <item name="focusOutEnd">true</item> |
| 127 | <item name="android:focusable">true</item> |
| 128 | <item name="android:focusableInTouchMode">true</item> |
| 129 | </style> |
| 130 | |
| 131 | <style name="Widget.Leanback.Row.HorizontalGridView"> |
| 132 | <item name="android:clipToPadding">false</item> |
| 133 | <item name="android:focusable">true</item> |
| 134 | <item name="android:focusableInTouchMode">true</item> |
| 135 | <item name="android:paddingLeft">?attr/browsePaddingLeft</item> |
| 136 | <item name="android:paddingRight">?attr/browsePaddingRight</item> |
Dake Gu | e43e926 | 2014-05-16 13:10:39 -0700 | [diff] [blame] | 137 | <item name="android:paddingBottom">@dimen/lb_browse_item_margin</item> |
| 138 | <item name="android:paddingTop">@dimen/lb_browse_item_margin</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 139 | <item name="horizontalMargin">@dimen/lb_browse_item_margin</item> |
| 140 | <item name="verticalMargin">@dimen/lb_browse_item_margin</item> |
| 141 | <item name="focusOutFront">true</item> |
Craig Stout | f272f75 | 2014-04-25 16:13:25 -0700 | [diff] [blame] | 142 | <item name="rowHeight">wrap_content</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 143 | </style> |
| 144 | |
Craig Stout | 739e380 | 2014-04-07 12:10:51 -0700 | [diff] [blame] | 145 | <style name="Widget.Leanback.GridItems.VerticalGridView"> |
| 146 | <item name="android:clipToPadding">false</item> |
| 147 | <item name="android:focusable">true</item> |
| 148 | <item name="android:focusableInTouchMode">true</item> |
| 149 | <item name="android:paddingLeft">?attr/browsePaddingLeft</item> |
| 150 | <item name="android:paddingRight">?attr/browsePaddingRight</item> |
Dake Gu | e43e926 | 2014-05-16 13:10:39 -0700 | [diff] [blame] | 151 | <item name="android:paddingBottom">@dimen/lb_browse_item_margin</item> |
Dake Gu | e34cae4 | 2014-05-01 16:52:53 -0700 | [diff] [blame] | 152 | <item name="android:paddingTop">?attr/browseRowsMarginTop</item> |
Dake Gu | 01ce047 | 2014-05-02 18:12:32 -0700 | [diff] [blame] | 153 | <item name="android:gravity">center_horizontal</item> |
Craig Stout | 739e380 | 2014-04-07 12:10:51 -0700 | [diff] [blame] | 154 | <item name="horizontalMargin">@dimen/lb_browse_item_margin</item> |
| 155 | <item name="verticalMargin">@dimen/lb_browse_item_margin</item> |
| 156 | <item name="focusOutFront">true</item> |
| 157 | </style> |
| 158 | |
Craig Stout | 268de3d | 2014-05-22 17:07:16 -0700 | [diff] [blame^] | 159 | <style name="Widget.Leanback.Row.Header" parent="Widget.Leanback.Header"> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 160 | <item name="android:textAppearance">@style/TextAppearance.Leanback.Row.Header</item> |
| 161 | </style> |
| 162 | |
| 163 | <style name="TextAppearance.Leanback.Row.HoverCardTitle" parent="TextAppearance.Leanback"> |
| 164 | <item name="android:textSize">@dimen/lb_browse_row_hovercard_title_font_size</item> |
| 165 | </style> |
| 166 | |
| 167 | <style name="TextAppearance.Leanback.Row.HoverCardDescription" parent="TextAppearance.Leanback"> |
| 168 | <item name="android:textSize">@dimen/lb_browse_row_hovercard_description_font_size</item> |
| 169 | </style> |
| 170 | |
| 171 | <style name="Widget.Leanback.Row.HoverCardTitle" > |
| 172 | <item name="android:textAppearance">@style/TextAppearance.Leanback.Row.HoverCardTitle</item> |
| 173 | <item name="android:maxWidth">@dimen/lb_browse_row_hovercard_max_width</item> |
| 174 | <item name="android:singleLine">true</item> |
| 175 | <item name="android:ellipsize">end</item> |
| 176 | </style> |
| 177 | |
| 178 | <style name="Widget.Leanback.Row.HoverCardDescription" > |
| 179 | <item name="android:textAppearance">@style/TextAppearance.Leanback.Row.HoverCardDescription</item> |
| 180 | <item name="android:maxWidth">@dimen/lb_browse_row_hovercard_max_width</item> |
| 181 | <item name="android:ellipsize">end</item> |
Craig Stout | 268de3d | 2014-05-22 17:07:16 -0700 | [diff] [blame^] | 182 | <item name="android:maxLines">4</item> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 183 | </style> |
| 184 | |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 185 | <style name="Widget.Leanback.DetailsDescriptionTitleStyle"> |
| 186 | <item name="android:textAppearance">@style/TextAppearance.Leanback.DetailsDescriptionTitle</item> |
| 187 | <item name="android:maxLines">@integer/lb_details_description_title_max_lines</item> |
Craig Stout | d2c235a | 2014-05-16 13:59:26 -0700 | [diff] [blame] | 188 | <item name="android:includeFontPadding">false</item> |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 189 | </style> |
| 190 | |
| 191 | <style name="Widget.Leanback.DetailsDescriptionSubtitleStyle"> |
| 192 | <item name="android:textAppearance">@style/TextAppearance.Leanback.DetailsDescriptionSubtitle</item> |
| 193 | <item name="android:maxLines">@integer/lb_details_description_subtitle_max_lines</item> |
Craig Stout | d2c235a | 2014-05-16 13:59:26 -0700 | [diff] [blame] | 194 | <item name="android:includeFontPadding">false</item> |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 195 | </style> |
| 196 | |
| 197 | <style name="Widget.Leanback.DetailsDescriptionBodyStyle"> |
| 198 | <item name="android:textAppearance">@style/TextAppearance.Leanback.DetailsDescriptionBody</item> |
| 199 | <item name="android:maxLines">@integer/lb_details_description_body_max_lines</item> |
Craig Stout | 7c00407 | 2014-05-21 16:40:13 -0700 | [diff] [blame] | 200 | <item name="android:includeFontPadding">false</item> |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 201 | </style> |
Craig Stout | 7c00407 | 2014-05-21 16:40:13 -0700 | [diff] [blame] | 202 | |
| 203 | <style name="Widget.Leanback.DetailsActionButtonStyle" parent="android:Widget.Holo.Button.Borderless"> |
| 204 | <item name="android:textAppearance">@style/TextAppearance.Leanback.DetailsActionButton</item> |
| 205 | <item name="android:includeFontPadding">false</item> |
| 206 | <item name="android:background">@drawable/lb_selector_action_bg</item> |
| 207 | <item name="android:drawablePadding">@dimen/lb_action_icon_margin</item> |
| 208 | <item name="android:focusable">true</item> |
| 209 | <item name="android:focusableInTouchMode">true</item> |
| 210 | <item name="android:paddingLeft">@dimen/lb_action_padding_horizontal</item> |
| 211 | <item name="android:paddingRight">@dimen/lb_action_padding_horizontal</item> |
| 212 | </style> |
| 213 | |
Tim Kilbourn | 7fbbc85 | 2014-02-18 10:26:40 -0800 | [diff] [blame] | 214 | </resources> |