diff options
Diffstat (limited to 'tools/droiddoc/templates-sdk/sdkpage.cs')
-rw-r--r-- | tools/droiddoc/templates-sdk/sdkpage.cs | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/tools/droiddoc/templates-sdk/sdkpage.cs b/tools/droiddoc/templates-sdk/sdkpage.cs index 6c35b81..331411f 100644 --- a/tools/droiddoc/templates-sdk/sdkpage.cs +++ b/tools/droiddoc/templates-sdk/sdkpage.cs @@ -209,8 +209,29 @@ function onDownload(link) { $("#next-steps").show(); } </script> - <?cs /if ?> <?cs # end if online ?> - + <?cs else ?> <?cs # end if online ?> + + <?cs if:sdk.preview ?><?cs # it's preview offline docs ?> + <p>Welcome developers! We are pleased to provide you with a preview SDK for the upcoming + Android 3.0 release, to give you a head-start on developing applications for it. + </p> + + <p>See the <a + href="<?cs var:toroot ?>sdk/preview/start.html">Getting Started</a> document for more information + about how to set up the preview SDK and get started.</p> + <style type="text/css"> + .non-preview { display:none; } + </style> + + <?cs else ?><?cs # it's normal offline docs ?> + <style type="text/css"> + p.offline-message { display:block; } + p.online-message { display:none; } + </style> + <?cs /if ?> + + <?cs /if ?> <?cs # end if/else online ?> + <?cs /if ?> <?cs # end if/else NDK ?> <?cs /if ?> <?cs # end if/else redirect ?> |