diff options
author | Dake Gu <dake@google.com> | 2015-10-01 14:32:05 -0700 |
---|---|---|
committer | Dake Gu <dake@google.com> | 2015-10-01 14:36:25 -0700 |
commit | ab2a8a7dae6fae5bc97240c47a68d6a7b93221b1 (patch) | |
tree | a216823737504197efe36908b26995696f468ab3 /samples/SupportLeanbackShowcase/app/src/main/res/values/themes.xml | |
parent | 8ab0d48a61987446c782d2d5816c522b2768adc6 (diff) | |
download | android_development-ab2a8a7dae6fae5bc97240c47a68d6a7b93221b1.tar.gz android_development-ab2a8a7dae6fae5bc97240c47a68d6a7b93221b1.tar.bz2 android_development-ab2a8a7dae6fae5bc97240c47a68d6a7b93221b1.zip |
Supportleanbackshowcase: Polishing
Support staggered slide in/out transition for VerticalGrid.
Move background from layout file to windowBackground in theme. Defining
background on view conflicts with transitions.
Change-Id: If823f492fd5bdd0b16c1d1e735f4214f925f3ae3
Diffstat (limited to 'samples/SupportLeanbackShowcase/app/src/main/res/values/themes.xml')
-rw-r--r-- | samples/SupportLeanbackShowcase/app/src/main/res/values/themes.xml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/samples/SupportLeanbackShowcase/app/src/main/res/values/themes.xml b/samples/SupportLeanbackShowcase/app/src/main/res/values/themes.xml index 12343de7d..2f6822b69 100644 --- a/samples/SupportLeanbackShowcase/app/src/main/res/values/themes.xml +++ b/samples/SupportLeanbackShowcase/app/src/main/res/values/themes.xml @@ -16,25 +16,23 @@ <resources> <style name="Theme.Example.Leanback" parent="Theme.Leanback"> - <item name="android:windowEnterTransition">@android:transition/fade</item> - <item name="android:windowExitTransition">@android:transition/fade</item> - <item name="android:windowSharedElementExitTransition">@android:transition/move</item> - <item name="android:windowSharedElementEnterTransition">@android:transition/move</item> - <item name="android:windowAllowReturnTransitionOverlap">true</item> - <item name="android:windowAllowEnterTransitionOverlap">true</item> - <item name="android:windowContentTransitions">true</item> <item name="android:colorPrimary">#00A2B8</item> <item name="android:colorAccent">@color/accent</item> <item name="preferenceTheme">@style/PreferenceThemeOverlay.v14</item> </style> <style name="Theme.Example.LeanbackLauncher" parent="Theme.Example.Leanback"> + <item name="android:windowBackground">@drawable/bg_living_room_wide</item> <item name="browseRowsMarginTop">275dp</item> </style> <style name="Theme.Example.LeanbackBrowse" parent="Theme.Leanback.Browse"> </style> + <style name="Theme.Example.LeanbackVerticalGrid" parent="Theme.Leanback.VerticalGrid"> + <item name="android:windowBackground">@drawable/background_food</item> + </style> + <style name="Theme.Example.LeanbackWizard" parent="Theme.Leanback.GuidedStep"> <item name="guidedActionsContainerStyle">@style/WizardActionsContainerStyle</item> </style> |