Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [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 | |
| 18 | <resources> |
| 19 | |
| 20 | <!-- LeanbackBase may be overridden for specific api levels --> |
| 21 | <style name="Theme.LeanbackBase" parent="android:Theme.Holo.NoActionBar"> |
| 22 | </style> |
| 23 | |
| 24 | <style name="Theme.Leanback" parent="Theme.LeanbackBase"> |
| 25 | |
| 26 | <item name="android:windowOverscan">true</item> |
| 27 | |
| 28 | <item name="baseCardViewStyle">@style/Widget.Leanback.BaseCardViewStyle</item> |
| 29 | <item name="imageCardViewStyle">@style/Widget.Leanback.ImageCardViewStyle</item> |
| 30 | |
| 31 | <item name="browsePaddingLeft">@dimen/lb_browse_padding_left</item> |
| 32 | <item name="browsePaddingRight">@dimen/lb_browse_padding_right</item> |
| 33 | <item name="browsePaddingTop">@dimen/lb_browse_padding_top</item> |
| 34 | <item name="browsePaddingBottom">@dimen/lb_browse_padding_bottom</item> |
| 35 | <item name="browseRowsMarginStart">@dimen/lb_browse_rows_margin_start</item> |
| 36 | <item name="browseRowsMarginTop">@dimen/lb_browse_rows_margin_top</item> |
| 37 | <item name="browseRowsFadingEdgeLength">@dimen/lb_browse_rows_fading_edge</item> |
| 38 | |
| 39 | <item name="headersVerticalGridStyle">@style/Widget.Leanback.Headers.VerticalGridView</item> |
| 40 | <item name="headerStyle">@style/Widget.Leanback.Header</item> |
| 41 | |
| 42 | <item name="rowsVerticalGridStyle">@style/Widget.Leanback.Rows.VerticalGridView</item> |
| 43 | <item name="rowHorizontalGridStyle">@style/Widget.Leanback.Row.HorizontalGridView</item> |
| 44 | <item name="itemsVerticalGridStyle">@style/Widget.Leanback.GridItems.VerticalGridView</item> |
| 45 | |
| 46 | <item name="browseTitleTextStyle">@style/Widget.Leanback.Title.Text</item> |
| 47 | <item name="browseTitleIconStyle">@style/Widget.Leanback.Title.Icon</item> |
| 48 | <item name="browseTitleViewStyle">@style/Widget.Leanback.TitleView</item> |
| 49 | |
| 50 | <item name="rowHeaderStyle">@style/Widget.Leanback.Row.Header</item> |
| 51 | <item name="rowHoverCardTitleStyle">@style/Widget.Leanback.Row.HoverCardTitle</item> |
| 52 | <item name="rowHoverCardDescriptionStyle">@style/Widget.Leanback.Row.HoverCardDescription</item> |
| 53 | |
| 54 | <item name="searchOrbViewStyle">@style/Widget.Leanback.SearchOrbViewStyle</item> |
| 55 | |
| 56 | <item name="detailsDescriptionTitleStyle">@style/Widget.Leanback.DetailsDescriptionTitleStyle</item> |
| 57 | <item name="detailsDescriptionSubtitleStyle">@style/Widget.Leanback.DetailsDescriptionSubtitleStyle</item> |
| 58 | <item name="detailsDescriptionBodyStyle">@style/Widget.Leanback.DetailsDescriptionBodyStyle</item> |
| 59 | <item name="detailsActionButtonStyle">@style/Widget.Leanback.DetailsActionButtonStyle</item> |
| 60 | |
| 61 | <item name="errorMessageStyle">@style/Widget.Leanback.ErrorMessageStyle</item> |
| 62 | |
| 63 | <!-- TODO should be null, and set programatically to avoid dependence on leanback theme --> |
| 64 | <item name="defaultBrandColor">@color/lb_default_brand_color</item> |
| 65 | <item name="defaultSearchColor">@null</item> |
| 66 | <item name="defaultSearchBrightColor">@null</item> |
| 67 | <item name="defaultSearchIcon">@null</item> |
| 68 | |
| 69 | </style> |
| 70 | |
| 71 | </resources> |