summaryrefslogtreecommitdiffstats
path: root/samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_main.xml
diff options
context:
space:
mode:
authorRobert Hahn <hahnr@google.com>2015-05-29 17:03:44 -0700
committerRobert Hahn <hahnr@google.com>2015-07-22 17:48:26 -0700
commit63dcb5b4bde0a6db5797d8f763b9a9e13663b76b (patch)
tree506d7113c27d0be3183549a669cba7f41550a461 /samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_main.xml
parent97942f243b2ed6f31e51c95f45399317e1e7c485 (diff)
downloadandroid_development-63dcb5b4bde0a6db5797d8f763b9a9e13663b76b.tar.gz
android_development-63dcb5b4bde0a6db5797d8f763b9a9e13663b76b.tar.bz2
android_development-63dcb5b4bde0a6db5797d8f763b9a9e13663b76b.zip
Implemented Card-, DetailView-, GridView-, Music- & Video,
Wizard-, Dialog examples The Launcher card needs to be animated. When expanding cards with an animation some animation artifacts might occur since the transition system moves the cards to be centered again. Thus, the two animations are competing with each other. Currently I'm waiting for a change on leanback's transition system or another way to animate cards. Another animation artifact occurs when collapsing the SideInfo-cards, which I hope to be resolved once we clarified how to do proper card animations in the framework. There are some minor issues with in the DetailView since some API methods are missing for customization such as setting the details- and ActionBars background color. Removed obsolete package. Finished music example. Finished video example. Bug 22362006 Added Dialog example. WIP Testing new ImageCardView XML styling. WIP Settings example. WIP Wizard example. Finished Dialog example. Gradle uses environment variable to reference support libraries. Change-Id: I8f911d2e5aeb1fb8764f45d20fda1dc0fc69773a
Diffstat (limited to 'samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_main.xml')
-rw-r--r--samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_main.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_main.xml b/samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 000000000..b6cf93f7a
--- /dev/null
+++ b/samples/SupportLeanbackShowcase/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout
+ android:id="@+id/fragmentContainer"
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:deviceIds="tv"
+ tools:ignore="MergeRootFrame">
+</RelativeLayout>