diff options
Diffstat (limited to 'samples/SupportLeanbackShowcase/app/src/main/res/raw/cards_example.json')
-rw-r--r-- | samples/SupportLeanbackShowcase/app/src/main/res/raw/cards_example.json | 506 |
1 files changed, 506 insertions, 0 deletions
diff --git a/samples/SupportLeanbackShowcase/app/src/main/res/raw/cards_example.json b/samples/SupportLeanbackShowcase/app/src/main/res/raw/cards_example.json new file mode 100644 index 000000000..8b52b02ab --- /dev/null +++ b/samples/SupportLeanbackShowcase/app/src/main/res/raw/cards_example.json @@ -0,0 +1,506 @@ +[ + { + "title": "Standard", + "cards": [ + { + "type": "MOVIE", + "title": "The Amazing Spider-Man", + "description": "$3.99", + "localImageResource": "card_image_movie_01" + }, + { + "type": "MOVIE", + "title": "American Psycho", + "description": "$3.99", + "localImageResource": "card_image_movie_02" + }, + { + "type": "MOVIE", + "title": "Big Hero 6", + "description": "$3.99", + "localImageResource": "card_image_movie_03" + }, + { + "type": "MOVIE", + "title": "Edge of Tomorrow", + "description": "$3.99", + "localImageResource": "card_image_movie_04" + }, + { + "type": "MOVIE", + "title": "The Hobbit: The Desolation of Smaug", + "description": "$3.99", + "localImageResource": "card_image_movie_05" + }, + { + "type": "MOVIE", + "title": "Interstellar", + "description": "$3.99", + "localImageResource": "card_image_movie_06" + }, + { + "type": "MOVIE", + "title": "Jurassic Park", + "description": "$3.99", + "localImageResource": "card_image_movie_07" + }, + { + "type": "MOVIE", + "title": "The Hunger Games: Mockingjay Part I", + "description": "$3.99", + "localImageResource": "card_image_movie_08" + }, + { + "type": "MOVIE", + "title": "Planes", + "description": "$3.99", + "localImageResource": "card_image_movie_09" + } + ] + }, + { + "title": "Two Line Title", + "cards": [ + { + "type": "MOVIE_BASE", + "title": "The Amazing Spider-Man", + "localImageResource": "card_image_movie_01" + }, + { + "type": "MOVIE_BASE", + "title": "American Psycho", + "localImageResource": "card_image_movie_02" + }, + { + "type": "MOVIE_BASE", + "title": "Big Hero 6", + "localImageResource": "card_image_movie_03" + }, + { + "type": "MOVIE_BASE", + "title": "Edge of Tomorrow", + "localImageResource": "card_image_movie_04" + }, + { + "type": "MOVIE_BASE", + "title": "The Hobbit: The Desolation of Smaug", + "localImageResource": "card_image_movie_05" + }, + { + "type": "MOVIE_BASE", + "title": "Interstellar", + "localImageResource": "card_image_movie_06" + }, + { + "type": "MOVIE_BASE", + "title": "Jurassic Park", + "localImageResource": "card_image_movie_07" + }, + { + "type": "MOVIE_BASE", + "title": "The Hunger Games: Mockingjay Part I", + "localImageResource": "card_image_movie_08" + }, + { + "type": "MOVIE_BASE", + "title": "Planes", + "localImageResource": "card_image_movie_09" + } + ] + }, + { + "title": "Two Line Title + Icon", + "cards": [ + { + "type": "MOVIE_COMPLETE", + "description": "$3.99", + "title": "The Amazing Spider-Man", + "footerIconLocalImageResource": "stars_red", + "localImageResource": "card_image_movie_01" + }, + { + "type": "MOVIE_COMPLETE", + "title": "American Psycho", + "description": "$3.99", + "footerIconLocalImageResource": "stars_red", + "localImageResource": "card_image_movie_02" + }, + { + "type": "MOVIE_COMPLETE", + "title": "Big Hero 6", + "description": "$3.99", + "footerIconLocalImageResource": "stars_red", + "localImageResource": "card_image_movie_03" + }, + { + "type": "MOVIE_COMPLETE", + "title": "Edge of Tomorrow", + "description": "$3.99", + "footerIconLocalImageResource": "stars_red", + "localImageResource": "card_image_movie_04" + }, + { + "type": "MOVIE_COMPLETE", + "title": "The Hobbit: The Desolation of Smaug", + "description": "$3.99", + "footerIconLocalImageResource": "stars_red", + "localImageResource": "card_image_movie_05" + }, + { + "type": "MOVIE_COMPLETE", + "title": "Interstellar", + "description": "$3.99", + "footerIconLocalImageResource": "stars_red", + "localImageResource": "card_image_movie_06" + }, + { + "type": "MOVIE_COMPLETE", + "title": "Jurassic Park", + "description": "$3.99", + "footerIconLocalImageResource": "stars_red", + "localImageResource": "card_image_movie_07" + }, + { + "type": "MOVIE_COMPLETE", + "description": "$3.99", + "title": "The Hunger Games: Mockingjay Part I", + "footerIconLocalImageResource": "stars_red", + "localImageResource": "card_image_movie_08" + }, + { + "type": "MOVIE_COMPLETE", + "title": "Planes", + "description": "$3.99", + "footerIconLocalImageResource": "stars_red", + "localImageResource": "card_image_movie_09" + } + ] + }, + { + "title": "Standard Square", + "cards": [ + { + "type": "SQUARE_BIG", + "title": "Blue in Green", + "description": "Miles Davis", + "footerColor": "#bf360C", + "localImageResource": "card_image_music_02" + }, + { + "type": "SQUARE_BIG", + "title": "Blue in Green", + "description": "Miles Davis", + "footerColor": "#b93221", + "localImageResource": "card_image_music_13" + }, + { + "type": "SQUARE_BIG", + "title": "Blue in Green", + "description": "Miles Davis", + "footerColor": "#311b92", + "localImageResource": "card_image_music_08" + }, + { + "type": "SQUARE_BIG", + "title": "Blue in Green", + "description": "Miles Davis", + "footerColor": "#33691e", + "localImageResource": "card_image_music_05" + }, + { + "type": "SQUARE_BIG", + "title": "Blue in Green", + "description": "Miles Davis", + "footerColor": "#37474f", + "localImageResource": "card_image_music_06" + }, + { + "type": "SQUARE_BIG", + "title": "Blue in Green", + "description": "Miles Davis", + "footerColor": "#3e2723", + "localImageResource": "card_image_music_09" + }, + { + "type": "SQUARE_BIG", + "title": "Blue in Green", + "description": "Miles Davis", + "footerColor": "#01579B", + "localImageResource": "card_image_music_11" + } + ] + }, + { + "title": "Side Info", + "cards": [ + { + "type": "SIDE_INFO", + "title": "The Life Aquatic", + "description": "Seu Jorge", + "extraText": "Bacon ipsum dolor amet bresaola kevin tenderloin swine shoulder strip steak t-bone picanha turducken beef. Ribeye turkey t-bone pastrami meatball corned beef. Pork belly landjaeger short ribs ground round cupim, brisket ham tri-tip. Pig pork loin hamburger picanha ribeye, pork belly meatball chicken ham boudin sirloin corned beef frankfurter ham hock.", + "localImageResource": "card_image_music_02" + }, + { + "type": "SIDE_INFO", + "title": "The Life Aquatic", + "description": "Seu Jorge", + "extraText": "Bacon ipsum dolor amet bresaola kevin tenderloin swine shoulder strip steak t-bone picanha turducken beef. Ribeye turkey t-bone pastrami meatball corned beef. Pork belly landjaeger short ribs ground round cupim, brisket ham tri-tip. Pig pork loin hamburger picanha ribeye, pork belly meatball chicken ham boudin sirloin corned beef frankfurter ham hock.", + "localImageResource": "card_image_music_13" + }, + { + "type": "SIDE_INFO", + "title": "The Life Aquatic", + "description": "Seu Jorge", + "extraText": "Bacon ipsum dolor amet bresaola kevin tenderloin swine shoulder strip steak t-bone picanha turducken beef. Ribeye turkey t-bone pastrami meatball corned beef. Pork belly landjaeger short ribs ground round cupim, brisket ham tri-tip. Pig pork loin hamburger picanha ribeye, pork belly meatball chicken ham boudin sirloin corned beef frankfurter ham hock.", + "localImageResource": "card_image_music_08" + }, + { + "type": "SIDE_INFO", + "title": "The Life Aquatic", + "description": "Seu Jorge", + "extraText": "Bacon ipsum dolor amet bresaola kevin tenderloin swine shoulder strip steak t-bone picanha turducken beef. Ribeye turkey t-bone pastrami meatball corned beef. Pork belly landjaeger short ribs ground round cupim, brisket ham tri-tip. Pig pork loin hamburger picanha ribeye, pork belly meatball chicken ham boudin sirloin corned beef frankfurter ham hock.", + "localImageResource": "card_image_music_05" + }, + { + "type": "SIDE_INFO", + "title": "The Life Aquatic", + "description": "Seu Jorge", + "extraText": "Bacon ipsum dolor amet bresaola kevin tenderloin swine shoulder strip steak t-bone picanha turducken beef. Ribeye turkey t-bone pastrami meatball corned beef. Pork belly landjaeger short ribs ground round cupim, brisket ham tri-tip. Pig pork loin hamburger picanha ribeye, pork belly meatball chicken ham boudin sirloin corned beef frankfurter ham hock.", + "localImageResource": "card_image_music_06" + }, + { + "type": "SIDE_INFO", + "title": "The Life Aquatic", + "description": "Seu Jorge", + "extraText": "Bacon ipsum dolor amet bresaola kevin tenderloin swine shoulder strip steak t-bone picanha turducken beef. Ribeye turkey t-bone pastrami meatball corned beef. Pork belly landjaeger short ribs ground round cupim, brisket ham tri-tip. Pig pork loin hamburger picanha ribeye, pork belly meatball chicken ham boudin sirloin corned beef frankfurter ham hock.", + "localImageResource": "card_image_music_09" + }, + { + "type": "SIDE_INFO", + "title": "The Life Aquatic", + "description": "Seu Jorge", + "extraText": "Bacon ipsum dolor amet bresaola kevin tenderloin swine shoulder strip steak t-bone picanha turducken beef. Ribeye turkey t-bone pastrami meatball corned beef. Pork belly landjaeger short ribs ground round cupim, brisket ham tri-tip. Pig pork loin hamburger picanha ribeye, pork belly meatball chicken ham boudin sirloin corned beef frankfurter ham hock.", + "localImageResource": "card_image_music_11" + } + ] + }, + { + "title": "Wide (Games)", + "cards": [ + { + "type": "GAME", + "title": "Angry Birds", + "description": "Purchased", + "localImageResource": "game_angry_bird_w", + "footerIconLocalImageResource": "ic_installed" + }, + { + "type": "GAME", + "title": "Badland", + "description": "Purchased", + "localImageResource": "game_badland_w", + "footerIconLocalImageResource": "ic_installed" + }, + { + "type": "GAME", + "title": "Leo's Fortune", + "description": "Purchased", + "localImageResource": "game_leos_fortune_w", + "footerIconLocalImageResource": "ic_installed" + }, + { + "type": "GAME", + "title": "Minion Rush", + "description": "Purchased", + "localImageResource": "game_minion_rush_w", + "footerIconLocalImageResource": "ic_installed" + }, + { + "type": "GAME", + "title": "Monument Valley", + "description": "Purchased", + "localImageResource": "game_monument_valley_w", + "footerIconLocalImageResource": "ic_installed" + } + ] + }, + { + "title": "Wide (Videos)", + "cards": [ + { + "type": "DEFAULT", + "title": "Marseille sea food tour", + "description": "9,089 views 3 years ago by ADELAIDE", + "localImageResource": "coffee_and_tea_01" + }, + { + "type": "DEFAULT", + "title": "Marseille sea food tour", + "description": "9,089 views 3 years ago by ADELAIDE", + "localImageResource": "coffee_and_tea_02" + }, + { + "type": "DEFAULT", + "title": "Marseille sea food tour", + "description": "9,089 views 3 years ago by ADELAIDE", + "localImageResource": "coffee_and_tea_03" + }, + { + "type": "DEFAULT", + "title": "Marseille sea food tour", + "description": "9,089 views 3 years ago by ADELAIDE", + "localImageResource": "coffee_and_tea_04" + }, + { + "type": "DEFAULT", + "title": "Marseille sea food tour", + "description": "9,089 views 3 years ago by ADELAIDE", + "localImageResource": "coffee_and_tea_05" + }, + { + "type": "DEFAULT", + "title": "Marseille sea food tour", + "description": "9,089 views 3 years ago by ADELAIDE", + "localImageResource": "coffee_and_tea_06" + }, + { + "type": "DEFAULT", + "title": "Marseille sea food tour", + "description": "9,089 views 3 years ago by ADELAIDE", + "localImageResource": "coffee_and_tea_07" + }, + { + "type": "DEFAULT", + "title": "Marseille sea food tour", + "description": "9,089 views 3 years ago by ADELAIDE", + "localImageResource": "coffee_and_tea_08" + } + ] + }, + { + "title": "Text", + "cards": [ + { + "type": "TEXT", + "title": "Jonathan Max", + "extraText": "Bacon ipsum dolor amet bresaola kevin tenderloin swine shoulder strip steak t-bone picanha turducken beef. Ribeye turkey t-bone pastrami meatball corned beef. Pork belly landjaeger short ribs ground round cupim, brisket ham tri-tip. Pig pork loin hamburger picanha ribeye, pork belly meatball chicken ham boudin sirloin corned beef frankfurter ham hock.", + "localImageResource": "face_01" + }, + { + "type": "TEXT", + "title": "Jonathan Max", + "extraText": "Bacon ipsum dolor amet bresaola kevin tenderloin swine shoulder strip steak t-bone picanha turducken beef. Ribeye turkey t-bone pastrami meatball corned beef. Pork belly landjaeger short ribs ground round cupim, brisket ham tri-tip. Pig pork loin hamburger picanha ribeye, pork belly meatball chicken ham boudin sirloin corned beef frankfurter ham hock.", + "localImageResource": "face_02" + }, + { + "type": "TEXT", + "title": "Jonathan Max", + "extraText": "Bacon ipsum dolor amet bresaola kevin tenderloin swine shoulder strip steak t-bone picanha turducken beef. Ribeye turkey t-bone pastrami meatball corned beef. Pork belly landjaeger short ribs ground round cupim, brisket ham tri-tip. Pig pork loin hamburger picanha ribeye, pork belly meatball chicken ham boudin sirloin corned beef frankfurter ham hock.", + "localImageResource": "face_03" + }, + { + "type": "TEXT", + "title": "Jonathan Max", + "extraText": "Bacon ipsum dolor amet bresaola kevin tenderloin swine shoulder strip steak t-bone picanha turducken beef. Ribeye turkey t-bone pastrami meatball corned beef. Pork belly landjaeger short ribs ground round cupim, brisket ham tri-tip. Pig pork loin hamburger picanha ribeye, pork belly meatball chicken ham boudin sirloin corned beef frankfurter ham hock.", + "localImageResource": "face_04" + }, + { + "type": "TEXT", + "title": "Jonathan Max", + "extraText": "Bacon ipsum dolor amet bresaola kevin tenderloin swine shoulder strip steak t-bone picanha turducken beef. Ribeye turkey t-bone pastrami meatball corned beef. Pork belly landjaeger short ribs ground round cupim, brisket ham tri-tip. Pig pork loin hamburger picanha ribeye, pork belly meatball chicken ham boudin sirloin corned beef frankfurter ham hock.", + "localImageResource": "face_05" + }, + { + "type": "TEXT", + "title": "Jonathan Max", + "extraText": "Bacon ipsum dolor amet bresaola kevin tenderloin swine shoulder strip steak t-bone picanha turducken beef. Ribeye turkey t-bone pastrami meatball corned beef. Pork belly landjaeger short ribs ground round cupim, brisket ham tri-tip. Pig pork loin hamburger picanha ribeye, pork belly meatball chicken ham boudin sirloin corned beef frankfurter ham hock.", + "localImageResource": "face_06" + }, + { + "type": "TEXT", + "title": "Jonathan Max", + "extraText": "Bacon ipsum dolor amet bresaola kevin tenderloin swine shoulder strip steak t-bone picanha turducken beef. Ribeye turkey t-bone pastrami meatball corned beef. Pork belly landjaeger short ribs ground round cupim, brisket ham tri-tip. Pig pork loin hamburger picanha ribeye, pork belly meatball chicken ham boudin sirloin corned beef frankfurter ham hock.", + "localImageResource": "face_07" + }, + { + "type": "TEXT", + "title": "Jonathan Max", + "extraText": "Bacon ipsum dolor amet bresaola kevin tenderloin swine shoulder strip steak t-bone picanha turducken beef. Ribeye turkey t-bone pastrami meatball corned beef. Pork belly landjaeger short ribs ground round cupim, brisket ham tri-tip. Pig pork loin hamburger picanha ribeye, pork belly meatball chicken ham boudin sirloin corned beef frankfurter ham hock.", + "localImageResource": "face_08" + } + ] + }, + { + "title": "Single Line", + "cards": [ + { + "type": "SINGLE_LINE", + "title": "Action & Adventure", + "footerColor": "#dd004e", + "localImageResource": "category_action" + }, + { + "type": "SINGLE_LINE", + "title": "Animation", + "footerColor": "#c51162", + "localImageResource": "category_animation" + }, + { + "type": "SINGLE_LINE", + "title": "Classics", + "footerColor": "#9c27b0", + "localImageResource": "category_classics" + }, + { + "type": "SINGLE_LINE", + "title": "Comedy", + "footerColor": "#cf4900", + "localImageResource": "category_comedy" + }, + { + "type": "SINGLE_LINE", + "title": "Crime", + "footerColor": "#3f51b5", + "localImageResource": "category_crime" + }, + { + "type": "SINGLE_LINE", + "title": "Documentary", + "footerColor": "#02639b", + "localImageResource": "category_documentary" + }, + { + "type": "SINGLE_LINE", + "title": "Drama", + "footerColor": "#2a56c6", + "localImageResource": "category_drama" + } + ] + }, + { + "title": "Icon", + "shadow": false, + "cards": [ + { + "type": "ICON", + "title": "Settings", + "localImageResource": "ic_settings_settings" + }, + { + "type": "ICON", + "title": "WiFi", + "localImageResource": "ic_settings_wifi_3_bar" + }, + { + "type": "ICON", + "title": "Parental Control", + "localImageResource": "ic_settings_parental_control" + }, + { + "type": "ICON", + "title": "Time", + "localImageResource": "ic_settings_time" + } + ] + } +]
\ No newline at end of file |