summaryrefslogtreecommitdiffstats
path: root/docs/html/preview
diff options
context:
space:
mode:
authorJoe Fernandez <joefernandez@google.com>2014-06-24 18:22:25 -0700
committerJoe Fernandez <joefernandez@google.com>2014-06-24 18:32:54 -0700
commit3e5dd3d9271a4bd25801c534ce1f08c5093f2f86 (patch)
tree29c30bc9a9cf3ae09e69da3b72f35b1d7f322934 /docs/html/preview
parent8b938c5418f4f15f0f70553a31b95078c255caec (diff)
downloadframeworks_base-3e5dd3d9271a4bd25801c534ce1f08c5093f2f86.zip
frameworks_base-3e5dd3d9271a4bd25801c534ce1f08c5093f2f86.tar.gz
frameworks_base-3e5dd3d9271a4bd25801c534ce1f08c5093f2f86.tar.bz2
docs: Fixes for Android TV Dev Guide
Change-Id: I9abe240a64fc4e9fcfcc46b378bf0bd0c316cc9e
Diffstat (limited to 'docs/html/preview')
-rw-r--r--docs/html/preview/tv/start/index.jd8
-rw-r--r--docs/html/preview/tv/ui/browse.jd9
2 files changed, 7 insertions, 10 deletions
diff --git a/docs/html/preview/tv/start/index.jd b/docs/html/preview/tv/start/index.jd
index 11d6ad3..b75fee0 100644
--- a/docs/html/preview/tv/start/index.jd
+++ b/docs/html/preview/tv/start/index.jd
@@ -153,8 +153,7 @@ page.tags="leanback","recyclerview","launcher"
</p>
<p>If you decide to use the v17 leanback library for your app, you should note that it is
- dependent on the <a href="{@docRoot}tools/support-library/features.html#v7-appcompat">v7
- appcompat library</a>, which is, in turn, dependent on the
+ dependent on the
<a href="{@docRoot}tools/support-library/features.html#v4">v4 support library</a>. This means
that apps that use the leanback support library should include all of these support
libraries:</p>
@@ -162,12 +161,11 @@ page.tags="leanback","recyclerview","launcher"
<ul>
<li>v17 leanback support library</li>
<li>v7 recyclerview support library</li>
- <li>v7 appcompat support library</li>
<li>v4 support library</li>
</ul>
-<p>Two of these libraries (v17 leanback and v7 appcompat) contain resources, which require
- you to take specific steps to include them in app projects. For instructions on
+<p>The v17 leanback library contain resources, which requires
+ you to take specific steps to include it in app projects. For instructions on
importing a support library with resources, see
<a href="http://developer.android.com/tools/support-library/setup.html#libs-with-res">
Support Library Setup</a>.
diff --git a/docs/html/preview/tv/ui/browse.jd b/docs/html/preview/tv/ui/browse.jd
index d7a1fb6..d6b97c1 100644
--- a/docs/html/preview/tv/ui/browse.jd
+++ b/docs/html/preview/tv/ui/browse.jd
@@ -152,10 +152,9 @@ private void buildRowsAdapter() {
image as users browse through content. This technique can make interaction with your app feel more
cinematic and enjoyable for users.</p>
-<p>The Leanback support library provides a {@link
- android.support.v17.leanback.app.BackgroundManager} class for changing the background of your TV
- app activity. The following example shows how to create a simple method for updating the
- background within your TV app activity:</p>
+<p>The Leanback support library provides a {@code BackgroundManager} class for changing the
+ background of your TV app activity. The following example shows how to create a simple method
+ for updating the background within your TV app activity:</p>
<pre>
protected void updateBackground(Drawable drawable) {
@@ -166,7 +165,7 @@ protected void updateBackground(Drawable drawable) {
<p>Many of the existing media-browse apps automatically update the background as the user
navigates through media listings. In order to do this, you can set up a selection listener to
automatically update the background based on the user's current selection. The following example
- shows you how to set up an {@link android.support.v17.leanback.widget.OnItemSelectedListener}
+ shows you how to set up an {@code OnItemSelectedListener}
class to catch selection events and update the background:</p>
<pre>