From a9a65c64ae60bef828b9dfadc71ff638f6b1838a Mon Sep 17 00:00:00 2001 From: Joe Fernandez Date: Tue, 23 Jul 2013 23:24:13 -0700 Subject: docs: small fixes for Support Library Guide Change-Id: I07180e963e4614f3fb412eab586297646b5ed26b --- docs/html/tools/support-library/features.jd | 16 ++++++++-------- docs/html/tools/support-library/index.jd | 15 +++++++-------- docs/html/tools/support-library/setup.jd | 8 ++++---- 3 files changed, 19 insertions(+), 20 deletions(-) (limited to 'docs/html') diff --git a/docs/html/tools/support-library/features.jd b/docs/html/tools/support-library/features.jd index a749a36..12fc0ae 100644 --- a/docs/html/tools/support-library/features.jd +++ b/docs/html/tools/support-library/features.jd @@ -28,30 +28,30 @@ page.title=Support Library Features -

The Android Support Library package contains several individual libraries that can be included +

The Android Support Library package contains several libraries that can be included in your application. Each of these libraries supports a specific range of Android platform versions and set of features.

This guide explains the important features and version support provided by the Support - Libraries, to help you decide which of them you should include in your application. In general, + Libraries to help you decide which of them you should include in your application. In general, we recommend including the v4 support and v7 - appcompat libraries in your application, because they support a wide range of + appcompat libraries, because they support a wide range of Android versions and provide APIs for recommended user interface patterns.

In order to use any of the following libraries, you must download the library files to your Android SDK installation. Follow the directions for downloading the Support Libraries in Support Library Setup to complete this step. You must take additional steps to include a specific Support Library in - your application. See the end of each library section below for instructions on how to include - the library in your application.

+ your application. See the end of each library section below for important information on how to + include the library in your application.

v4 Support Library

This library is designed to be used with Android 1.6 (API level 4) and higher. It includes the - largest set of APIs compared to the other packages, including support for application components, + largest set of APIs compared to the other libraries, including support for application components, user interface features, accessibility, data handling, network connectivity, and programming - utilities. Here are a few of the key classes included in the v4 package:

+ utilities. Here are a few of the key classes included in the v4 library:

- There are many other APIs included in this package. For complete, detailed information about the + There are many other APIs included in this library. For complete, detailed information about the v4 Support Library APIs, see the {@link android.support.v4.app android.support.v4} package in the API reference.

diff --git a/docs/html/tools/support-library/index.jd b/docs/html/tools/support-library/index.jd index e5efb8d..420fa0f 100644 --- a/docs/html/tools/support-library/index.jd +++ b/docs/html/tools/support-library/index.jd @@ -24,14 +24,13 @@ page.title=Support Library

The Android Support Library package is a set of code libraries that provide useful and important features for Android applications in addition to the framework APIs. These libraries provide - backward-compatible versions of framework APIs as well as features that are only available - through its API. Each Support Library is backward-compatible to a specific Android API level. - This design means that your applications can use the libraries' features and still be compatible - with devices running Android 1.6 (API level 4) and up.

- -

This guide provides information about what features are enabled by the different libraries, - how to use them in your development environment and information about the Support Library - releases.

+ backward-compatible versions of Android framework APIs as well as features that are only available + through the library APIs. Each Support Library is backward-compatible to a specific Android API + level. This design means that your applications can use the libraries' features and still be + compatible with devices running Android 1.6 (API level 4) and up.

+ +

This guide provides information about what features are enabled by the Support Libraries, + how to use them in your development environment and information about library releases.

Overview

diff --git a/docs/html/tools/support-library/setup.jd b/docs/html/tools/support-library/setup.jd index a2ece15..6cca897 100644 --- a/docs/html/tools/support-library/setup.jd +++ b/docs/html/tools/support-library/setup.jd @@ -113,10 +113,10 @@ Android Support Library selected.

  1. Make sure you have downloaded the Android Support Library using the SDK Manager.
  2. -
  3. Create a {@code /libs} directory in the root of your application project.
  4. +
  5. Create a {@code libs/} directory in the root of your application project.
  6. Copy the JAR file from your Android SDK installation directory (e.g., {@code <sdk>/extras/android/support/v4/android-support-v4.jar}) into your - application's project {@code /libs} directory. + application's project {@code libs/} directory.
  7. Right click the JAR file and select Build Path > Add to Build Path.
@@ -130,7 +130,7 @@ Android Support Library selected.

    -
  1. Make sure you have downloaded the Android Support Repository. +
  2. Make sure you have downloaded the Android Support Repository using the SDK Manager.
  3. Open the {@code build.gradle} file for your application.
  4. Add the support library to the {@code dependencies} section. For example, to add the v4 @@ -174,7 +174,7 @@ project based on the support library code:

    <sdk>/extras/android/support/v7/appcompat/.
  5. Click Finish to import the project. For the v7 appcompat project, you should now see a new project titled android-support-v7-appcompat.
  6. -
  7. In the new library project, expand the {@code /libs} folder, right-click each {@code .jar} +
  8. In the new library project, expand the {@code libs/} folder, right-click each {@code .jar} file and select Build Path > Add to Build Path. For example, when creating the the v7 appcompat project, add both the {@code android-support-v4.jar} and {@code android-support-v7-appcompat.jar} files to the build path.
  9. -- cgit v1.1