summaryrefslogtreecommitdiffstats
path: root/docs/html/training/tv/start/start.jd
diff options
context:
space:
mode:
Diffstat (limited to 'docs/html/training/tv/start/start.jd')
-rw-r--r--docs/html/training/tv/start/start.jd31
1 files changed, 30 insertions, 1 deletions
diff --git a/docs/html/training/tv/start/start.jd b/docs/html/training/tv/start/start.jd
index bebeedd..3b26abf 100644
--- a/docs/html/training/tv/start/start.jd
+++ b/docs/html/training/tv/start/start.jd
@@ -100,7 +100,8 @@ startpage=true
<p>The following code snippet shows how to include this intent filter in your manifest:</p>
<pre>
-&lt;application&gt;
+&lt;application
+ android:banner="&#64;drawable/banner" &gt;
...
&lt;activity
android:name=&quot;com.example.android.MainActivity&quot;
@@ -141,6 +142,34 @@ startpage=true
"{@docRoot}training/tv/start/layouts.html">Building TV Layouts</a>.
</p>
+<h3 id="banner">Provide a home screen banner</h3>
+
+<p>
+ An application must provide a home screen banner if it includes a Leanback launcher intent
+ filter. The banner is the app launch point that appears on the home screen in the apps and
+ games rows. Desribe the banner in the manifest as follows:
+</p>
+
+<pre>
+&lt;application
+ . . .
+ android:banner="&#64;drawable/banner" &gt;
+ . . .
+&lt;/application&gt;
+</pre>
+
+<p>
+ Use the <a href="{@docRoot}guide/topics/manifest/application-element.html#banner">{@code android:banner}</a>
+ attribute with the <a href="{@docRoot}guide/topics/manifest/application.html"><code>&lt;application&gt;</code></a>
+ tag to supply a default banner for all application activities, or with the
+ <a href="{@docRoot}guide/topics/manifest/activity-element.html"><code>&lt;activity&gt;</code></a>
+ tag to supply a banner for a specific activity.
+</p>
+
+<p>
+ See <a href="{@docRoot}design/tv/patterns.html#banner">Banners</a> in the UI Patterns for TV
+ design guide.
+</p>
<h3 id="tv-libraries">Add TV support libraries</h3>