cherry-pick fe0104041858046a0aa649c791869d7eb1a5c175 to froyo.
Change-Id: I9c95ebc6f735cb6abc2b0920c2274e0b5ce0ef70
diff --git a/tools/droiddoc/templates-sdk/sdkpage.cs b/tools/droiddoc/templates-sdk/sdkpage.cs
index 1ebfb69..3d3e1bc 100644
--- a/tools/droiddoc/templates-sdk/sdkpage.cs
+++ b/tools/droiddoc/templates-sdk/sdkpage.cs
@@ -6,7 +6,7 @@
<title>Redirecting...</title>
<meta http-equiv="refresh" content="0;url=<?cs var:toroot ?>sdk/<?cs
if:sdk.redirect.path ?><?cs var:sdk.redirect.path ?><?cs
- else ?><?cs var:sdk.current ?>/index.html<?cs /if ?>">
+ else ?>index.html<?cs /if ?>">
<link href="<?cs var:toroot ?>assets/android-developer-docs.css" rel="stylesheet" type="text/css" />
</head>
<?cs else ?>
@@ -38,8 +38,7 @@
<div id="jd-content">
<?cs
- if:ndk ?><p><em><?cs
- var:ndk.date ?></em></p><?cs
+ if:ndk ?><?cs
else ?><?cs
if:android.whichdoc == "online" ?><p><em><?cs
var:sdk.date ?></em></p><?cs
@@ -120,7 +119,8 @@
<?cs /if ?>
<?cs # end if NDK ... the following is for the SDK ?>
- <div class="toggle-content special">
+<?cs #
+ <div class="toggle-content special">
<p>The Android SDK has changed! If you've worked with the Android SDK before,
you will notice several important differences:</p>
@@ -146,12 +146,12 @@
href="adding-components.html">Adding SDK Components</a>.</p>
</div>
- <a href='#' class='toggle-content-button show' onclick="toggleContent(this);return false;">
+ <a href='#' class='toggle-content-button show' onclick="toggleContent(this,true);return false;">
<span>show more</span><span style='display:none'>show less</span>
</a>
</div>
-
- <p>If you are new to the Android SDK, please read the <a href="#quickstart">Quick Start</a>,
+?>
+ <p>Welcome! If you are new to the Android SDK, please read the <a href="#quickstart">Quick Start</a>,
below, for an overview of how to install and set up the SDK.</p>
diff --git a/tools/droiddoc/templates/assets/images/home/gdc-logo.png b/tools/droiddoc/templates/assets/images/home/gdc-logo.png
new file mode 100644
index 0000000..5fb53fb
--- /dev/null
+++ b/tools/droiddoc/templates/assets/images/home/gdc-logo.png
Binary files differ