1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 ~ Copyright (C) 2015 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except 6 ~ in compliance with the License. You may obtain a copy of the License at 7 ~ 8 ~ http://www.apache.org/licenses/LICENSE-2.0 9 ~ 10 ~ Unless required by applicable law or agreed to in writing, software distributed under the License 11 ~ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 12 ~ or implied. See the License for the specific language governing permissions and limitations under 13 ~ the License. 14 ~ 15 --> 16 <resources> 17 18 <style name="Theme.Example.Leanback" parent="Theme.Leanback"> 19 <item name="android:colorPrimary">#00A2B8</item> 20 <item name="android:colorAccent">@color/accent</item> 21 <item name="preferenceTheme">@style/PreferenceThemeOverlay.v14</item> 22 </style> 23 24 <style name="Theme.Example.LeanbackLauncher" parent="Theme.Example.Leanback"> 25 <item name="android:windowBackground">@drawable/bg_living_room_wide</item> 26 <item name="browseRowsMarginTop">275dp</item> 27 </style> 28 29 <style name="Theme.Example.LeanbackBrowse" parent="Theme.Leanback.Browse"> 30 <item name="android:windowBackground">@color/card_examples_background</item> 31 <item name="defaultBrandColor">@color/fastlane_background</item> 32 <item name="defaultSearchColor">@color/search_color</item> 33 <item name="defaultSearchIconColor">@color/search_icon_color</item> 34 <item name="defaultSearchBrightColor">@color/search_bright_color</item> 35 </style> 36 37 <style name="Theme.Example.Leanback.CustomTitle" parent="Theme.Example.LeanbackBrowse"> 38 <item name="browseTitleViewLayout">@layout/titleview</item> 39 <item name="browseRowsMarginTop">120dp</item> 40 </style> 41 42 <style name="Theme.Example.LeanbackVerticalGrid" parent="Theme.Leanback.VerticalGrid"> 43 <item name="android:windowBackground">@drawable/background_food</item> 44 </style> 45 46 <style name="Theme.Example.LeanbackWizard" parent="Theme.Leanback.GuidedStep"> 47 <item name="guidedActionsBackground">@color/app_guidedstep_actions_background</item> 48 <item name="guidedActionsBackgroundDark">@color/app_guidedstep_subactions_background</item> 49 </style> 50 51 <style name="Theme.Example.LeanbackWizard.NoSelector"> 52 <item name="guidedActionsSelectorDrawable">@null</item> 53 </style> 54 55 <style name="Theme.Example.LeanbackDialog" parent="Theme.Leanback.GuidedStep"> 56 <item name="guidedActionsBackground">@color/app_guidedstep_dialog_actions_background</item> 57 </style> 58 59 <style name="Theme.Example.LeanbackPreferences" parent="Theme.Leanback"> 60 <item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Leanback</item> 61 <item name="android:windowIsTranslucent">true</item> 62 <item name="android:windowBackground">@android:color/transparent</item> 63 <item name="android:backgroundDimEnabled">true</item> 64 <item name="android:colorPrimary">@color/settings_background</item> 65 </style> 66 67 <style name="Theme.Example.LeanbackDetails" parent="Theme.Leanback.Details"> 68 <item name="android:colorPrimary">@color/detail_view_actionbar_background</item> 69 <item name="android:windowBackground">@drawable/background_canyon</item> 70 </style> 71 72 <style name="Theme.Example.LeanbackMusic" parent="Theme.Example.Leanback"> 73 <item name="android:windowBackground">@drawable/background_sax</item> 74 </style> 75 76 <style name="Theme.Example.LeanbackMusic.RegularSongNumbers"> 77 <!--<item name="playbackMediaItemRowStyle">@style/SharedMediaItemRowStyle</item>--> 78 <item name="playbackMediaItemNumberStyle">@style/RegularMediaItemNumberStyle</item> 79 <item name="playbackMediaItemNameStyle">@style/RegularMediaItemNameStyle</item> 80 <item name="playbackMediaItemDurationStyle">@style/RegularMediaItemDurationStyle</item> 81 </style> 82 83 <style name="Theme.Example.LeanbackMusic.FavoriteSongNumbers"> 84 <!--<item name="playbackMediaItemRowStyle">@style/SharedMediaItemRowStyle</item>--> 85 <item name="playbackMediaItemNumberStyle">@style/FavoriteMediaItemNumberStyle</item> 86 <item name="playbackMediaItemNameStyle">@style/FavoriteMediaItemNameStyle</item> 87 <item name="playbackMediaItemDurationStyle">@style/FavoriteMediaItemDurationStyle</item> 88 </style> 89 90 <style name="Theme.Example.LeanbackMusic.TrackListHeader"> 91 <item name="playbackMediaListHeaderStyle">@style/MediaListHeaderStyle</item> 92 </style> 93 94 </resources> 95