summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Fernandez <joefernandez@google.com>2014-06-25 01:35:15 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-06-23 21:50:10 +0000
commit4c4f8b32a0b492ca804f19eadc2143b146836027 (patch)
treee814abf177b2c607f5085d98ac38571f36048a61
parentd174461c385ca7443631b330e7fc7ad2c66c8892 (diff)
parent3e5dd3d9271a4bd25801c534ce1f08c5093f2f86 (diff)
downloadframeworks_base-4c4f8b32a0b492ca804f19eadc2143b146836027.zip
frameworks_base-4c4f8b32a0b492ca804f19eadc2143b146836027.tar.gz
frameworks_base-4c4f8b32a0b492ca804f19eadc2143b146836027.tar.bz2
Merge "docs: Fixes for Android TV Dev Guide" into klp-modular-dev
-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>