1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright 2017 The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9     http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17
18<sample>
19    <name>Channels / Programs</name>
20    <group>NoGroup</group>  <!-- This field will be deprecated in the future
21                            and replaced with the "categories" tags below. -->
22    <package>com.example.android.tv.channelsprograms</package>
23
24    <!-- change minSdk if needed-->
25    <minSdk>26</minSdk>
26    <compileSdk>26.0.0-rc2</compileSdk>
27
28    <!-- Include additional dependencies here.-->
29    <dependency>com.android.support:appcompat-v7:26.0.0-beta2</dependency>
30    <dependency>com.android.support:leanback-v17:26.0.0-beta2</dependency>
31    <dependency>com.android.support:support-tv-provider:26.0.0-beta2</dependency>
32    <dependency>com.github.bumptech.glide:glide:3.8.0</dependency>
33    <dependency>com.google.code.gson:gson:2.8.0</dependency>
34
35    <strings>
36        <intro>
37            <![CDATA[
38            Demonstrates how to add channels and programs to the home screen.
39            ]]>
40        </intro>
41    </strings>
42
43    <!-- The basic templates have already been enabled. Uncomment more as desired. -->
44    <template src="base" />
45    <!-- template src="ActivityCards" / -->
46    <!-- template src="FragmentView" / -->
47    <!-- template src="CardStream" / -->
48    <!-- template src="SimpleView" / -->
49    <!--<template src="SingleView" />-->
50
51    <!-- Include common code modules by uncommenting them below. -->
52    <!--<common src="logger" />-->
53    <!-- common src="activities"/ -->
54
55    <metadata>
56        <!-- Values: {DRAFT | PUBLISHED | INTERNAL | DEPRECATED | SUPERCEDED} -->
57        <status>DRAFT</status>
58        <!-- See http://go/sample-categories for details on the next 4 fields. -->
59        <categories>Getting Started, UI</categories>
60        <technologies>Android</technologies>
61        <languages>Java</languages>
62        <solutions>Mobile</solutions>
63        <!-- Values: {BEGINNER | INTERMEDIATE | ADVANCED | EXPERT} -->
64        <!-- Beginner is for "getting started" type content, or essential content.
65             (e.g. "Hello World", activities, intents)
66
67             Intermediate is for content that covers material a beginner doesn't need
68             to know, but that a skilled developer is expected to know.
69             (e.g. services, basic styles and theming, sync adapters)
70
71             Advanced is for highly technical content geared towards experienced developers.
72             (e.g. performance optimizations, custom views, bluetooth)
73
74             Expert is reserved for highly technical or specialized content, and should
75             be used sparingly. (e.g. VPN clients, SELinux, custom instrumentation runners) -->
76        <level>BEGINNER</level>
77        <!-- Dimensions: 512x512, PNG fomrat -->
78        <icon>screenshots/icon-web.png</icon>
79        <!-- Path to screenshots. Use <img> tags for each. -->
80        <screenshots>
81            <img>screenshots/1-main.png</img>
82            <img>screenshots/2-settings.png</img>
83        </screenshots>
84        <!-- List of APIs that this sample should be cross-referenced under. Use <android>
85        for fully-qualified Framework class names ("android:" namespace).
86
87        Use <ext> for custom namespaces, if needed. See "Samples Index API" documentation
88        for more details. -->
89        <api_refs>
90            <android>android.app.ActionBar</android>
91        </api_refs>
92
93        <!-- 1-3 line description of the sample here.
94
95            Avoid simply rearranging the sample's title. What does this sample actually
96            accomplish, and how does it do it? -->
97        <description>
98            Sample demonstrating how to instantiate an ActionBar on Android, define
99            action items, and set an "up" navigation link. Uses the Support Library
100            for compatibility with pre-3.0 devices.
101        </description>
102
103        <!-- Multi-paragraph introduction to sample, from an educational point-of-view.
104        Makrdown formatting allowed. This will be used to generate a mini-article for the
105        sample on DAC. -->
106        <intro>
107            Long intro here.
108
109            Multi-paragraph introduction to sample, from an educational point-of-view.
110            *Makrdown* formatting allowed. See [Markdown Documentation][1]
111            for details.
112
113            [1]: http://daringfireball.net/projects/markdown/syntax
114        </intro>
115    </metadata>
116</sample>
117