summaryrefslogtreecommitdiffstats
path: root/samples/SupportLeanbackShowcase/app/src/main/res/raw/music_consumption_example.json
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/raw/music_consumption_example.json
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/raw/music_consumption_example.json')
-rw-r--r--samples/SupportLeanbackShowcase/app/src/main/res/raw/music_consumption_example.json76
1 files changed, 76 insertions, 0 deletions
diff --git a/samples/SupportLeanbackShowcase/app/src/main/res/raw/music_consumption_example.json b/samples/SupportLeanbackShowcase/app/src/main/res/raw/music_consumption_example.json
new file mode 100644
index 000000000..0da65c32d
--- /dev/null
+++ b/samples/SupportLeanbackShowcase/app/src/main/res/raw/music_consumption_example.json
@@ -0,0 +1,76 @@
+{
+ "songs": [
+ {
+ "number": 1,
+ "duration": "2:54",
+ "title": "Blue Mood",
+ "description": "Duke Ellington & His Famous Orchestra",
+ "image": "card_image_music_01",
+ "file": "track_01"
+ },
+ {
+ "number": 2,
+ "duration": "3:20",
+ "title": "I Saw Stars",
+ "description": "Patrick Et Son Orchestre De Danse",
+ "image": "card_image_music_02",
+ "file": "track_02"
+ },
+ {
+ "number": 3,
+ "duration": "2:46",
+ "title": "Laura",
+ "description": "Dave Brubeck Trio",
+ "image": "card_image_music_03",
+ "file": "track_03"
+ },
+ {
+ "number": 4,
+ "duration": "3:27",
+ "title": "September Song",
+ "description": "Dave Brubeck Trio",
+ "image": "card_image_music_07",
+ "file": "track_04"
+ },
+ {
+ "number": 5,
+ "duration": "3:46",
+ "title": "Squeeze Me",
+ "description": "Dave Brubeck Trio",
+ "image": "card_image_music_08",
+ "file": "track_05"
+ },
+ {
+ "number": 6,
+ "duration": "0:22",
+ "title": "Constellation",
+ "description": "Charlie Parker",
+ "image": "card_image_music_09",
+ "file": "track_06"
+ },
+ {
+ "number": 7,
+ "duration": "2:54",
+ "title": "Satin Doll (1952)",
+ "description": "Duke Ellington & His Famous Orchestra",
+ "image": "card_image_music_10",
+ "file": "track_07"
+ },
+ {
+ "number": 8,
+ "duration": "3:26",
+ "title": "Solitude",
+ "description": "Duke Ellington & His Famous Orchestra",
+ "image": "card_image_music_11",
+ "file": "track_08"
+ },
+ {
+ "number": 9,
+ "duration": "3:10",
+ "title": "The Mooche",
+ "description": "Duke Ellington & His Famous Orchestra",
+ "image": "card_image_music_12",
+ "file": "track_09"
+ }
+ ]
+} \ No newline at end of file