• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[
2  {
3    "type" : 1,
4    "title": "ImageCardView Examples"
5  },
6  {
7    "title": "One Line Title",
8    "cards": [
9      {
10        "type": "MOVIE",
11        "title": "Deep Into The Deep Sleep",
12        "description": "$3.99",
13        "localImageResource": "card_image_movie_01"
14      },
15      {
16        "type": "MOVIE",
17        "title": "We",
18        "description": "$3.99",
19        "localImageResource": "card_image_movie_02"
20      },
21      {
22        "type": "MOVIE",
23        "title": "The Fairy Story Of A Legend",
24        "description": "$3.99",
25        "localImageResource": "card_image_movie_03"
26      },
27      {
28        "type": "MOVIE",
29        "title": "Cursed",
30        "description": "$3.99",
31        "localImageResource": "card_image_movie_04"
32      },
33      {
34        "type": "MOVIE",
35        "title": "My Crazy One",
36        "description": "$3.99",
37        "localImageResource": "card_image_movie_05"
38      },
39      {
40        "type": "MOVIE",
41        "title": "Gone",
42        "description": "$3.99",
43        "localImageResource": "card_image_movie_06"
44      },
45      {
46        "type": "MOVIE",
47        "title": "A Cold Night To Stay",
48        "description": "$3.99",
49        "localImageResource": "card_image_movie_07"
50      },
51      {
52        "type": "MOVIE",
53        "title": "The Silence",
54        "description": "$3.99",
55        "localImageResource": "card_image_movie_08"
56      },
57      {
58        "type": "MOVIE",
59        "title": "Hear The Roar",
60        "description": "$3.99",
61        "localImageResource": "card_image_movie_09"
62      }
63    ]
64  },
65  {
66    "title": "Two Line Title + Icon",
67    "cards": [
68      {
69        "type": "MOVIE_BASE",
70        "title": "Deep Into The Deep Sleep",
71        "localImageResource": "card_image_movie_01"
72      },
73      {
74        "type": "MOVIE_BASE",
75        "title": "We",
76        "localImageResource": "card_image_movie_02"
77      },
78      {
79        "type": "MOVIE_BASE",
80        "title": "The Fairy Story Of A Legend",
81        "localImageResource": "card_image_movie_03"
82      },
83      {
84        "type": "MOVIE_BASE",
85        "title": "Cursed",
86        "localImageResource": "card_image_movie_04"
87      },
88      {
89        "type": "MOVIE_BASE",
90        "title": "My Crazy One",
91        "localImageResource": "card_image_movie_05"
92      },
93      {
94        "type": "MOVIE_BASE",
95        "title": "Gone",
96        "localImageResource": "card_image_movie_06"
97      },
98      {
99        "type": "MOVIE_BASE",
100        "title": "A Cold Night To Stay",
101        "localImageResource": "card_image_movie_07"
102      },
103      {
104        "type": "MOVIE_BASE",
105        "title": "The Silence",
106        "localImageResource": "card_image_movie_08"
107      },
108      {
109        "type": "MOVIE_BASE",
110        "title": "Hear The Roar",
111        "localImageResource": "card_image_movie_09"
112      }
113    ]
114  },
115  {
116    "title": "Two Line Title + Description + Icon",
117    "cards": [
118      {
119        "type": "MOVIE_COMPLETE",
120        "description": "$3.99",
121        "title": "Deep Into The Deep Sleep",
122        "footerIconLocalImageResource": "stars_red",
123        "localImageResource": "card_image_movie_01"
124      },
125      {
126        "type": "MOVIE_COMPLETE",
127        "title": "We",
128        "description": "$3.99",
129        "footerIconLocalImageResource": "stars_red",
130        "localImageResource": "card_image_movie_02"
131      },
132      {
133        "type": "MOVIE_COMPLETE",
134        "title": "The Fairy",
135        "description": "$3.99",
136        "footerIconLocalImageResource": "stars_red",
137        "localImageResource": "card_image_movie_03"
138      },
139      {
140        "type": "MOVIE_COMPLETE",
141        "title": "Cursed",
142        "description": "$3.99",
143        "footerIconLocalImageResource": "stars_red",
144        "localImageResource": "card_image_movie_04"
145      },
146      {
147        "type": "MOVIE_COMPLETE",
148        "title": "My Crazy One",
149        "description": "$3.99",
150        "footerIconLocalImageResource": "stars_red",
151        "localImageResource": "card_image_movie_05"
152      },
153      {
154        "type": "MOVIE_COMPLETE",
155        "title": "Gone",
156        "description": "$3.99",
157        "footerIconLocalImageResource": "stars_red",
158        "localImageResource": "card_image_movie_06"
159      },
160      {
161        "type": "MOVIE_COMPLETE",
162        "title": "A Cold Night To Stay",
163        "description": "$3.99",
164        "footerIconLocalImageResource": "stars_red",
165        "localImageResource": "card_image_movie_07"
166      },
167      {
168        "type": "MOVIE_COMPLETE",
169        "description": "$3.99",
170        "title": "The Silence",
171        "footerIconLocalImageResource": "stars_red",
172        "localImageResource": "card_image_movie_08"
173      },
174      {
175        "type": "MOVIE_COMPLETE",
176        "title": "Hear The Roar",
177        "description": "$3.99",
178        "footerIconLocalImageResource": "stars_red",
179        "localImageResource": "card_image_movie_09"
180      }
181    ]
182  },
183  {
184    "title": "Title + Description",
185    "cards": [
186      {
187        "type": "SQUARE_BIG",
188        "title": "Blue in Green",
189        "description": "Miles Davis",
190        "footerColor": "#bf360C",
191        "localImageResource": "card_image_music_02"
192      },
193      {
194        "type": "SQUARE_BIG",
195        "title": "Blue in Green",
196        "description": "Miles Davis",
197        "footerColor": "#b93221",
198        "localImageResource": "card_image_music_03"
199      },
200      {
201        "type": "SQUARE_BIG",
202        "title": "Blue in Green",
203        "description": "Miles Davis",
204        "footerColor": "#311b92",
205        "localImageResource": "card_image_music_04"
206      },
207      {
208        "type": "SQUARE_BIG",
209        "title": "Blue in Green",
210        "description": "Miles Davis",
211        "footerColor": "#33691e",
212        "localImageResource": "card_image_music_05"
213      },
214      {
215        "type": "SQUARE_BIG",
216        "title": "Blue in Green",
217        "description": "Miles Davis",
218        "footerColor": "#37474f",
219        "localImageResource": "card_image_music_06"
220      },
221      {
222        "type": "SQUARE_BIG",
223        "title": "Blue in Green",
224        "description": "Miles Davis",
225        "footerColor": "#3e2723",
226        "localImageResource": "card_image_music_08"
227      },
228      {
229        "type": "SQUARE_BIG",
230        "title": "Blue in Green",
231        "description": "Miles Davis",
232        "footerColor": "#01579B",
233        "localImageResource": "card_image_music_09"
234      }
235    ]
236  },
237  {
238    "title": "Title + Description + Icon",
239    "cards": [
240      {
241        "type": "GAME",
242        "title": "Crazy One",
243        "description": "Purchased",
244        "localImageResource": "game_crazy_one",
245        "footerIconLocalImageResource": "ic_installed"
246      },
247      {
248        "type": "GAME",
249        "title": "Cursed",
250        "description": "Purchased",
251        "localImageResource": "game_cursed",
252        "footerIconLocalImageResource": "ic_installed"
253      },
254      {
255        "type": "GAME",
256        "title": "fairy",
257        "description": "Purchased",
258        "localImageResource": "game_fairy",
259        "footerIconLocalImageResource": "ic_installed"
260      },
261      {
262        "type": "GAME",
263        "title": "Hear The Roar",
264        "description": "Purchased",
265        "localImageResource": "game_hear_the_roar",
266        "footerIconLocalImageResource": "ic_installed"
267      },
268      {
269        "type": "GAME",
270        "title": "Silence",
271        "description": "Purchased",
272        "localImageResource": "game_silence",
273        "footerIconLocalImageResource": "ic_installed"
274      }
275    ]
276  },
277  {
278    "title": "Title + Description (Wide)",
279    "cards": [
280      {
281        "type": "DEFAULT",
282        "title": "Marseille sea food tour",
283        "description": "9,089 views   3 years ago   by ADELAIDE",
284        "localImageResource": "coffee_and_tea_01"
285      },
286      {
287        "type": "DEFAULT",
288        "title": "Marseille sea food tour",
289        "description": "9,089 views   3 years ago   by ADELAIDE",
290        "localImageResource": "coffee_and_tea_02"
291      },
292      {
293        "type": "DEFAULT",
294        "title": "Marseille sea food tour",
295        "description": "9,089 views   3 years ago   by ADELAIDE",
296        "localImageResource": "coffee_and_tea_03"
297      },
298      {
299        "type": "DEFAULT",
300        "title": "Marseille sea food tour",
301        "description": "9,089 views   3 years ago   by ADELAIDE",
302        "localImageResource": "coffee_and_tea_04"
303      },
304      {
305        "type": "DEFAULT",
306        "title": "Marseille sea food tour",
307        "description": "9,089 views   3 years ago   by ADELAIDE",
308        "localImageResource": "coffee_and_tea_05"
309      },
310      {
311        "type": "DEFAULT",
312        "title": "Marseille sea food tour",
313        "description": "9,089 views   3 years ago   by ADELAIDE",
314        "localImageResource": "coffee_and_tea_06"
315      },
316      {
317        "type": "DEFAULT",
318        "title": "Marseille sea food tour",
319        "description": "9,089 views   3 years ago   by ADELAIDE",
320        "localImageResource": "coffee_and_tea_07"
321      },
322      {
323        "type": "DEFAULT",
324        "title": "Marseille sea food tour",
325        "description": "9,089 views   3 years ago   by ADELAIDE",
326        "localImageResource": "coffee_and_tea_08"
327      }
328    ]
329  },
330  {
331    "type" : 2
332  },
333  {
334    "type" : 1,
335    "title": "Advanced Examples"
336  },
337  {
338    "title": "BaseCardView Info On The Right",
339    "cards": [
340      {
341        "type": "SIDE_INFO",
342        "title": "The Life Aquatic",
343        "description": "Seu Jorge",
344        "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.",
345        "localImageResource": "card_image_music_02"
346      },
347      {
348        "type": "SIDE_INFO",
349        "title": "The Life Aquatic",
350        "description": "Seu Jorge",
351        "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.",
352        "localImageResource": "card_image_music_03"
353      },
354      {
355        "type": "SIDE_INFO",
356        "title": "The Life Aquatic",
357        "description": "Seu Jorge",
358        "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.",
359        "localImageResource": "card_image_music_04"
360      },
361      {
362        "type": "SIDE_INFO",
363        "title": "The Life Aquatic",
364        "description": "Seu Jorge",
365        "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.",
366        "localImageResource": "card_image_music_05"
367      },
368      {
369        "type": "SIDE_INFO",
370        "title": "The Life Aquatic",
371        "description": "Seu Jorge",
372        "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.",
373        "localImageResource": "card_image_music_06"
374      },
375      {
376        "type": "SIDE_INFO",
377        "title": "The Life Aquatic",
378        "description": "Seu Jorge",
379        "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.",
380        "localImageResource": "card_image_music_07"
381      },
382      {
383        "type": "SIDE_INFO",
384        "title": "The Life Aquatic",
385        "description": "Seu Jorge",
386        "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.",
387        "localImageResource": "card_image_music_08"
388      }
389    ]
390  },
391  {
392    "title": "BaseCardView using TextView",
393    "cards": [
394      {
395        "type": "TEXT",
396        "title": "Jonathan Max",
397        "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.",
398        "localImageResource": "face_01"
399      },
400      {
401        "type": "TEXT",
402        "title": "Jonathan Max",
403        "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.",
404        "localImageResource": "face_02"
405      },
406      {
407        "type": "TEXT",
408        "title": "Jonathan Max",
409        "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.",
410        "localImageResource": "face_03"
411      },
412      {
413        "type": "TEXT",
414        "title": "Jonathan Max",
415        "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.",
416        "localImageResource": "face_04"
417      },
418      {
419        "type": "TEXT",
420        "title": "Jonathan Max",
421        "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.",
422        "localImageResource": "face_05"
423      },
424      {
425        "type": "TEXT",
426        "title": "Jonathan Max",
427        "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.",
428        "localImageResource": "face_06"
429      },
430      {
431        "type": "TEXT",
432        "title": "Jonathan Max",
433        "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.",
434        "localImageResource": "face_07"
435      },
436      {
437        "type": "TEXT",
438        "title": "Jonathan Max",
439        "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.",
440        "localImageResource": "face_08"
441      }
442    ]
443  },
444  {
445    "title": "ImageCardView Customize Style",
446    "cards": [
447      {
448        "type": "SINGLE_LINE",
449        "title": "Action & Adventure",
450        "footerColor": "#dd004e",
451        "localImageResource": "category_action"
452      },
453      {
454        "type": "SINGLE_LINE",
455        "title": "Animation",
456        "footerColor": "#c51162",
457        "localImageResource": "category_animation"
458      },
459      {
460        "type": "SINGLE_LINE",
461        "title": "Classics",
462        "footerColor": "#9c27b0",
463        "localImageResource": "category_classics"
464      },
465      {
466        "type": "SINGLE_LINE",
467        "title": "Comedy",
468        "footerColor": "#cf4900",
469        "localImageResource": "category_comedy"
470      },
471      {
472        "type": "SINGLE_LINE",
473        "title": "Crime",
474        "footerColor": "#3f51b5",
475        "localImageResource": "category_crime"
476      },
477      {
478        "type": "SINGLE_LINE",
479        "title": "Documentary",
480        "footerColor": "#02639b",
481        "localImageResource": "category_documentary"
482      },
483      {
484        "type": "SINGLE_LINE",
485        "title": "Drama",
486        "footerColor": "#2a56c6",
487        "localImageResource": "category_drama"
488      }
489    ]
490  },
491  {
492    "title": "ImageCardView with onFocusChange listener",
493    "shadow": false,
494    "cards": [
495      {
496        "type": "ICON",
497        "title": "Settings",
498        "localImageResource": "ic_settings_settings"
499      },
500      {
501        "type": "ICON",
502        "title": "WiFi",
503        "localImageResource": "ic_settings_wifi_3_bar"
504      },
505      {
506        "type": "ICON",
507        "title": "Parental Control",
508        "localImageResource": "ic_settings_parental_control"
509      },
510      {
511        "type": "ICON",
512        "title": "Time",
513        "localImageResource": "ic_settings_time"
514      }
515    ]
516  }
517]