diff --git a/tools/droiddoc/templates-sdk/sdkpage.cs b/tools/droiddoc/templates-sdk/sdkpage.cs
index b7ecd94b78..c223dba6a4 100644
--- a/tools/droiddoc/templates-sdk/sdkpage.cs
+++ b/tools/droiddoc/templates-sdk/sdkpage.cs
@@ -112,22 +112,47 @@ computer.
SDK to give you a head-start on developing applications for it.
The Android platform includes a variety of
-improvements and new features for users and developers. Additionally, the SDK
-itself introduces several new capabilities that enable you to develop
-applications more efficiently. See the Android Platform Highlights document for a list of
-highlights.
-
+ improvements and new features for users and developers. Additionally, the SDK
+ itself introduces several new capabilities that enable you to develop
+ applications more efficiently. See the Android Platform Highlights document for a list of
+ highlights.
+
+
-To get started with the Android SDK, select a package from the table
-below and download it to your development computer. Next, install the package
-and then use the tools included to download one or more Android platforms, SDK
-add-ons, or other components into your SDK.
+
+
The Android SDK has changed! If you've worked with the Android SDK before,
+ you will notice several important differences:
+
+
+
+ - The SDK downloadable package includes only
+ the latest version of the Android SDK Tools.
+ - Once you've installed the SDK, you now use the Android SDK and AVD Manager
+ to download all of the SDK components that you need, such as Android platforms,
+ SDK add-ons, tools, and documentation.
+ - The new approach is modular — you can install only the components you
+ need and update any or all components without affecting other parts of your
+ development environment.
+ - In short, once you've installed the new SDK, you will not need to download
+ an SDK package again. Instead, you will use the Android SDK and AVD Manager to
+ keep your development environment up-to-date.
+
+
If you are currently using the Android 1.6 SDK, you do not need
+ to install the new SDK, because your existing SDK includes the Android SDK and
+ AVD Manager tool. To develop against Android 2.0, for example, you can
+ just download the Android 2.0 platform into your existing SDK. Refer to
+ Adding SDK Components.
+
+
+
+ show moreshow less
+
+
-Before downloading, please read the
-System Requirements document. As you start the download, you will also need
-to review and agree to the Terms and Conditions that govern the use of the
-Android SDK.
+ If you are new to the Android SDK, please read the Quick Start,
+ below, for an overview of the installation process and how to set up your environment.
+
diff --git a/tools/droiddoc/templates/assets/android-developer-docs.css b/tools/droiddoc/templates/assets/android-developer-docs.css
index 4b1f718e81..e8dc20bbb5 100644
--- a/tools/droiddoc/templates/assets/android-developer-docs.css
+++ b/tools/droiddoc/templates/assets/android-developer-docs.css
@@ -659,7 +659,27 @@ h5.jd-tagtitle {
div.special {
padding: .5em 1em 1em 1em;
margin: 0 0 1em;
- background-color: #ddf0f2;
+ background-color: #DAF3FC;
+ border:1px solid #d3ecf5;
+ border-radius:5px;
+ -moz-border-radius:5px;
+ -webkit-border-radius:5px;
+}
+
+.toggle-content-toggleme {
+ display:none;
+}
+
+.toggle-content-button {
+ font-size:.9em;
+ line-height:.9em;
+ text-decoration:none;
+ position:relative;
+ top:5px;
+}
+
+.toggle-content-button:hover {
+ text-decoration:underline;
}
div.special p {
diff --git a/tools/droiddoc/templates/assets/android-developer-docs.js b/tools/droiddoc/templates/assets/android-developer-docs.js
index f87889bc4a..5f472f66a0 100644
--- a/tools/droiddoc/templates/assets/android-developer-docs.js
+++ b/tools/droiddoc/templates/assets/android-developer-docs.js
@@ -448,3 +448,18 @@ function getLangPref() {
}
return (lang != 0) ? lang : 'en';
}
+
+
+function toggleContent(obj) {
+ var button = $(obj);
+ var div = $(obj.parentNode);
+ var toggleMe = $(".toggle-content-toggleme",div);
+ if (button.hasClass("show")) {
+ toggleMe.slideDown();
+ button.removeClass("show").addClass("hide");
+ } else {
+ toggleMe.slideUp();
+ button.removeClass("hide").addClass("show");
+ }
+ $("span", button).toggle();
+}