summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-rw-r--r--samples/SupportLeanbackShowcase/app/src/main/AndroidManifest.xml2
-rw-r--r--samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_cards_example.xml2
-rw-r--r--samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_detail_example.xml2
-rw-r--r--samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_music_example.xml1
-rw-r--r--samples/SupportLeanbackShowcase/app/src/main/res/values/themes.xml9
5 files changed, 9 insertions, 7 deletions
diff --git a/samples/SupportLeanbackShowcase/app/src/main/AndroidManifest.xml b/samples/SupportLeanbackShowcase/app/src/main/AndroidManifest.xml
index cc84e9cc7..087bbd3ab 100644
--- a/samples/SupportLeanbackShowcase/app/src/main/AndroidManifest.xml
+++ b/samples/SupportLeanbackShowcase/app/src/main/AndroidManifest.xml
@@ -53,7 +53,7 @@
android:theme="@style/Theme.Example.Leanback"></activity>
<activity
android:name=".app.media.MusicExampleActivity"
- android:theme="@style/Theme.Example.Leanback"></activity>
+ android:theme="@style/Theme.Example.LeanbackMusic"></activity>
</application>
</manifest>
diff --git a/samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_cards_example.xml b/samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_cards_example.xml
index 903c52fd3..45b550567 100644
--- a/samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_cards_example.xml
+++ b/samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_cards_example.xml
@@ -16,8 +16,6 @@
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:background="@color/card_examples_background"
- android:transitionGroup="false"
android:layout_height="match_parent">
<fragment
diff --git a/samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_detail_example.xml b/samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_detail_example.xml
index 233bad9e5..1dd92d8c9 100644
--- a/samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_detail_example.xml
+++ b/samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_detail_example.xml
@@ -16,8 +16,6 @@
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:background="@drawable/background_canyon"
- android:transitionGroup="false"
android:layout_height="match_parent">
<fragment
android:id="@+id/detailsFragment"
diff --git a/samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_music_example.xml b/samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_music_example.xml
index 30f150161..9eef61a91 100644
--- a/samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_music_example.xml
+++ b/samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_music_example.xml
@@ -16,7 +16,6 @@
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:background="@drawable/background_sax"
android:layout_height="match_parent">
<fragment
diff --git a/samples/SupportLeanbackShowcase/app/src/main/res/values/themes.xml b/samples/SupportLeanbackShowcase/app/src/main/res/values/themes.xml
index 2f6822b69..feb9f036a 100644
--- a/samples/SupportLeanbackShowcase/app/src/main/res/values/themes.xml
+++ b/samples/SupportLeanbackShowcase/app/src/main/res/values/themes.xml
@@ -27,6 +27,7 @@
</style>
<style name="Theme.Example.LeanbackBrowse" parent="Theme.Leanback.Browse">
+ <item name="android:windowBackground">@color/card_examples_background</item>
</style>
<style name="Theme.Example.LeanbackVerticalGrid" parent="Theme.Leanback.VerticalGrid">
@@ -51,5 +52,11 @@
<style name="Theme.Example.LeanbackDetails" parent="Theme.Leanback.Details">
<item name="android:colorPrimary">@color/detail_view_actionbar_background</item>
- </style>
+ <item name="android:windowBackground">@drawable/background_canyon</item>
+ </style>
+
+ <style name="Theme.Example.LeanbackMusic" parent="Theme.Example.Leanback">
+ <item name="android:windowBackground">@drawable/background_sax</item>
+ </style>
+
</resources>