From 3e5dd3d9271a4bd25801c534ce1f08c5093f2f86 Mon Sep 17 00:00:00 2001
From: Joe Fernandez
If you decide to use the v17 leanback library for your app, you should note that it is - dependent on the v7 - appcompat library, which is, in turn, dependent on the + dependent on the v4 support library. This means that apps that use the leanback support library should include all of these support libraries:
@@ -162,12 +161,11 @@ page.tags="leanback","recyclerview","launcher"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 +
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 Support Library Setup. 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.
-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:
+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:
protected void updateBackground(Drawable drawable) { @@ -166,7 +165,7 @@ protected void updateBackground(Drawable drawable) {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:
-- cgit v1.1