From 102041a8bc4ebca69c20f5d281a96a904c52d4c8 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Thu, 16 Jun 2011 13:35:51 -0700 Subject: [PATCH] SDK only: add documentation tags. Also fix up the new support API demo documentation. Change-Id: I7a6945ffafa6a93cd394d5ce5729d6f9dfc0a183 --- .../src/com/example/android/apis/app/FragmentTabs.java | 2 ++ samples/Support13Demos/_index.html | 6 +++--- samples/Support4Demos/_index.html | 2 +- samples/Support4Demos/res/layout/fragment_tabs.xml | 2 ++ .../src/com/example/android/supportv4/app/FragmentTabs.java | 2 ++ 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/samples/ApiDemos/src/com/example/android/apis/app/FragmentTabs.java b/samples/ApiDemos/src/com/example/android/apis/app/FragmentTabs.java index baaca49c0..e245e9b60 100644 --- a/samples/ApiDemos/src/com/example/android/apis/app/FragmentTabs.java +++ b/samples/ApiDemos/src/com/example/android/apis/app/FragmentTabs.java @@ -17,6 +17,7 @@ package com.example.android.apis.app; import com.example.android.apis.R; +//BEGIN_INCLUDE(complete) import android.app.ActionBar; import android.app.ActionBar.Tab; import android.app.Activity; @@ -114,3 +115,4 @@ public class FragmentTabs extends Activity { } } } +//END_INCLUDE(complete) diff --git a/samples/Support13Demos/_index.html b/samples/Support13Demos/_index.html index 5861f72e9..f913a994b 100644 --- a/samples/Support13Demos/_index.html +++ b/samples/Support13Demos/_index.html @@ -1,8 +1,8 @@ -

The Support v4 Demos application contains a variety of small sample -code showing how to use key features of the support library. +

The Support v13 Demos application contains a variety of small sample +code showing how to use key features of the Android API 13+ Support Library. This library contains code that you can build in to your application to access new features and common -utilities while being able to run down to version 1.6 (API 4) +utilities while being able to run down to version 3.2 (API 13) of the platform.

diff --git a/samples/Support4Demos/_index.html b/samples/Support4Demos/_index.html index d6168aba7..2b03ca4c2 100644 --- a/samples/Support4Demos/_index.html +++ b/samples/Support4Demos/_index.html @@ -1,5 +1,5 @@

The Support v4 Demos application contains a variety of small sample -code showing how to use key features of the support library. +code showing how to use key features of the Android API 4+ Support Library. This library contains code that you can build in to your application to access new features and common utilities while being able to run down to version 1.6 (API 4) diff --git a/samples/Support4Demos/res/layout/fragment_tabs.xml b/samples/Support4Demos/res/layout/fragment_tabs.xml index 0d62ef645..18297b554 100644 --- a/samples/Support4Demos/res/layout/fragment_tabs.xml +++ b/samples/Support4Demos/res/layout/fragment_tabs.xml @@ -18,6 +18,7 @@ */ --> + + diff --git a/samples/Support4Demos/src/com/example/android/supportv4/app/FragmentTabs.java b/samples/Support4Demos/src/com/example/android/supportv4/app/FragmentTabs.java index 44bce31a0..64b21c586 100644 --- a/samples/Support4Demos/src/com/example/android/supportv4/app/FragmentTabs.java +++ b/samples/Support4Demos/src/com/example/android/supportv4/app/FragmentTabs.java @@ -15,6 +15,7 @@ */ package com.example.android.supportv4.app; +//BEGIN_INCLUDE(complete) import java.util.HashMap; import com.example.android.supportv4.R; @@ -167,3 +168,4 @@ public class FragmentTabs extends FragmentActivity { } } } +//END_INCLUDE(complete)