Add preliminary landing page, metadata, and collection.

Change-Id: If562fe440661d5157d953fcc3d13d4a53989d2b5
This commit is contained in:
Dirk Dougherty
2016-03-03 14:53:16 -08:00
parent 0178eb833d
commit 43eb9510a2
22 changed files with 92 additions and 66 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 454 KiB

View File

@@ -16,39 +16,37 @@ nonavpage=true
})
</script>
<!-- <div class="dac-hero-carousel" data-carousel-query="collection:index/carousel">
</div> -->
<section class="dac-hero-carousel">
<!-- <article class="dac-expand dac-hero dac-invert active" style="background-color: rgb(38, 50, 56);"> -->
<article class="dac-expand dac-hero dac-invert dac-darken mprev active" style="background-color: #75d1ff;">
<a href="about/versions/marshmallow/index.html">
<section class="dac-expand dac-hero dac-invert" style="background-color:#455A64">
<div class="wrap" style="max-width:1100px;margin-top:0">
<div class="cols dac-hero-content">
<div class="col-8of16 col-push-6of16 dac-hero-figure mprev">
</div>
<div class="col-8of16 col-pull-7of16">
<div class="dac-hero-tag"></div>
<h1 class="dac-hero-title" style="white-space:nowrap;">Android 6.0 Marshmallow</h1>
</div>
<div class="col-6of16 col-push-1of16">
<p class="dac-hero-description" style="color:white"><strong>The
official Android 6.0 SDK is now available!</strong>
Explore&nbsp;what's&nbsp;new &mdash; runtime permissions,
Doze and App Standby power-saving features, new
assist technology, and more.</p>
<a class="dac-hero-cta" href="{@docRoot}about/versions/marshmallow/index.html">
<div class="col-7of16 col-push-9of16">
<a href="{@docRoot}preview/index.html">
<h1 class="dac-hero-title">Android N Developer Preview</h1>
<p class="dac-hero-description">
Get ready for the next version of Android!
<strong>Test your apps</strong> on Nexus and other devices. Support new system
behaviors to <strong>save power and memory</strong>.
Extend your apps with <strong>multiwindow UI</strong>,
<strong>direct reply notifications</strong> and more.
</p>
<a class="dac-hero-cta" href="/preview/index.html">
<span class="dac-sprite dac-auto-chevron"></span>
Learn more
</a><br>
</div>
</div>
</a><!--<br>
<a class="dac-hero-cta" href="/preview/support.html">
<span class="dac-sprite dac-auto-chevron"></span>
Update to Developer Preview (final SDK)
</a><br>-->
</a>
</div>
<div class="col-9of16 col-pull-7of16 dac-hero-figure" style="margin-top:0em;padding-right:2em;">
<a href="{@docRoot}preview/index.html">
<img style="" class="dac-hero-image" src="/images/home/n-preview-hero.png"
srcset="/images/home/n-preview-hero.png 1x,
/images/home/n-preview-hero_2x.png 2x">
</a>
</div>
</div>
</a>
</article></section>
</section>
<div id="useUpdatedTemplates" style="display:none" class="dac-section dac-slim dac-gray dac-expand">
<div class="wrap dac-offset-parent">
@@ -59,7 +57,7 @@ nonavpage=true
<li class="dac-action">
<a class="dac-action-link" href="{@docRoot}sdk/index.html">
<i class="dac-action-sprite dac-sprite dac-auto-chevron-large"></i>
Get the SDK
Get Android Studio
</a>
</li>
<li class="dac-action">

View File

@@ -16,8 +16,8 @@ var RESOURCE_COLLECTIONS = {
"index/secondary/carousel": {
"title": "",
"resources": [
"http://www.youtube.com/watch?v=Pms0pcyPbAM",
"http://www.youtube.com/watch?v=9m6MoBM-sFI",
"http://www.youtube.com/watch?v=Pms0pcyPbAM",
"http://www.youtube.com/watch?v=e7t3svG9PTk",
"http://www.youtube.com/watch?v=J3IvOfvH1ys"
]
@@ -135,6 +135,18 @@ var RESOURCE_COLLECTIONS = {
"https://www.youtube.com/watch?v=5Be2mJzP-Uw&list=PLWz5rJ2EKKc9e0d55YHgJFHXNZbGHEXJX"
]
},
"preview/landing/resources": {
"title": "",
"resources": [
"preview/overview.html",
"preview/api-overview.html",
"preview/behavior-changes.html",
"preview/download.html",
"preview/samples.html",
"preview/setup-sdk.html",
"preview/support.html"
]
},
"google/landing/services": {
"title": "",
"resources": [

View File

@@ -15,6 +15,7 @@ var ALL_RESOURCES = mergeArrays(
SAMPLES_RESOURCES,
TOOLS_RESOURCES,
TRAINING_RESOURCES,
PREVIEW_RESOURCES,
YOUTUBE_RESOURCES,
BLOGGER_RESOURCES
);
@@ -72,6 +73,7 @@ var ALL_RESOURCES_BY_TYPE = {
'samples': SAMPLES_RESOURCES,
'tools': TOOLS_RESOURCES,
'training': TRAINING_RESOURCES,
'preview': PREVIEW_RESOURCES,
'youtube': YOUTUBE_RESOURCES,
'blog': BLOGGER_RESOURCES
};

View File

@@ -1,8 +1,7 @@
page.title=API Overview
page.keywords=preview,sdk,compatibility
page.tags=previewresources, androidm
sdk.platform.apiLevel=22-mnc
page.image=images/cards/card-api-overview_16-9_2x.png
page.title=Android N APIs &amp; Features
meta.tags="preview", "androidn"
page.tags="preview", "developer preview"
page.image=images/cards/card-n-overview_2x.png
@jd:body

View File

@@ -1,6 +1,8 @@
page.title=Behavior Changes
page.keywords=preview,sdk,compatibility
sdk.platform.apiLevel=MNC
meta.tags="preview", "compatibility"
page.tags="preview", "developer preview"
page.image=images/cards/card-n-changes_2x.png
@jd:body
<div id="qv-wrapper">

View File

@@ -1,5 +1,8 @@
page.title=Downloads
page.image=images/cards/card-download_16-9_2x.png
meta.tags="preview", "system image"
page.tags="preview", "developer preview"
page.image=images/cards/card-n-downloads_2x.png
@jd:body

View File

@@ -1,6 +1,7 @@
page.title=Testing Guide
page.image=images/cards/card-build_16x9_2x.png
page.keywords=previewresources,androidm,testing,permissions
page.image=images/cards/card-n-guide_2x.png
meta.tags="preview", "testing"
page.tags="preview", "developer preview"
@jd:body

View File

@@ -1,28 +1,24 @@
page.title=Android N Developer Preview
page.tags="preview",
meta.tags="preview, devpreview", androidm
page.tags="preview","developer"
meta.tags="preview", "android"
fullpage=true
forcelocalnav=true
header.hide=1
footer.hide=1
@jd:body
<section class="dac-expand dac-hero dac-light" >
<div class="wrap">
<div class="cols dac-hero-content">
<div class="col-9of16 col-push-7of16 dac-hero-figure">
<img class="dac-hero-image" src="{@docRoot}images/home/devices-hero_620px_2x.png"
srcset="{@docRoot}images/home/devices-hero_620px.png 1x,
{@docRoot}images/home/devices-hero_620px_2x.png 2x">
</div>
<div class="col-7of16 col-pull-9of16">
<section class="dac-expand dac-hero dac-light" style="background-color:#B2DFDB">
<div class="wrap" style="max-width:1100px;margin-top:0">
<div class="cols dac-hero-content" style="padding-bottom:1em;">
<div class="col-7of16 col-push-9of16">
<h1 class="dac-hero-title">Android N Developer Preview</h1>
<p class="dac-hero-description">
<strong>Get your apps ready for the next version of Android.</strong>
Test on Nexus 5, 6, 9, and
Player. Explore what's new &mdash; <strong>multiwindow UI</strong>,
<strong>Doze Lite</strong> and <strong>Background Check</strong> power-saving features, new
<strong>notification</strong> capabilities, and more.
Get ready for Android N!
<strong>Test your apps</strong> on Nexus and other devices. Support new system
behaviors to <strong>save power and memory</strong>.
Extend your apps with <strong>multiwindow UI</strong>,
<strong>direct reply notifications</strong> and more.
</p>
<a class="dac-hero-cta" href="{@docRoot}preview/overview.html">
@@ -34,6 +30,11 @@ footer.hide=1
Update to Developer Preview (final SDK)
</a><br>-->
</div>
<div class="col-9of16 col-pull-7of16 dac-hero-figure" style="margin-top:1.5em;padding-right:2em;">
<img class="dac-hero-image" src="{@docRoot}images/home/n-preview-hero.png"
srcset="{@docRoot}images/home/n-preview-hero.png 1x,
{@docRoot}images/home/n-preview-hero_2x.png 2x">
</div>
</div>
<div class="dac-section dac-small">
<div class="resource-widget resource-flow-layout col-16"
@@ -62,7 +63,7 @@ footer.hide=1
Report Issues
</a>
</li>
<li class="dac-section-link"><a href="http://g.co/dev/AndroidMDevPreview">
<li class="dac-section-link"><a href="http://developer.android.com/preview/dev-community">
<span class="dac-sprite dac-auto-chevron"></span>
Join G+ Community
</a>

View File

@@ -17,7 +17,9 @@ This is the Android SDK Preview License Agreement (the “License Agreement”).
1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time.
1.3 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
1.3 “Android-compatible” means any Android implemation that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (http://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS).
1.4 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
2. Accepting the License Agreement
@@ -31,13 +33,13 @@ This is the Android SDK Preview License Agreement (the “License Agreement”).
3. Preview License from Google
3.1 Subject to the terms of the License Agreement, Google grants you a royalty-free, non-assignable, non-exclusive, non-sublicensable, limited, revocable license to use the Preview, personally or internally within your company or organization, solely to develop applications to run on the Android platform.
3.1 Subject to the terms of this License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the Preview solely to develop applications for compatible implementations of Android.
3.2 You agree that Google or third parties owns all legal right, title and interest in and to the Preview, including any Intellectual Property Rights that subsist in the Preview. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
3.2 You may not use this Preview to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this Preview is not used for that purpose.
3.3 You may not use the Preview for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the Preview or any part of the Preview; or (b) load any part of the Preview onto a mobile handset or any other hardware device except a personal computer, combine any part of the Preview with other software, or distribute any software or device incorporating a part of the Preview.
3.3 You agree that Google or third parties owns all legal right, title and interest in and to the Preview, including any Intellectual Property Rights that subsist in the Preview. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
3.4 You agree that you will not take any actions that may cause or result in the fragmentation of Android, including but not limited to distributing, participating in the creation of, or promoting in any way a software development kit derived from the Preview.
3.4 You may not use the Preview for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the Preview or any part of the Preview; or (b) load any part of the Preview onto a mobile handset or any other hardware device except a personal computer, combine any part of the Preview with other software, or distribute any software or device incorporating a part of the Preview.
3.5 Use, reproduction and distribution of components of the Preview licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. You agree to remain a licensee in good standing in regard to such open source software licenses under all the rights granted and to refrain from any actions that may terminate, suspend, or breach such rights.
@@ -45,7 +47,7 @@ This is the Android SDK Preview License Agreement (the “License Agreement”).
3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features.
3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the Preview.
3.9 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the Preview.
4. Use of the Preview by You

View File

@@ -1,6 +1,7 @@
page.title=Program Overview
page.metaDescription=Welcome to the Android M Developer Preview, a program that gives you everything you need to test and optimize your apps for the next version of Android.
page.image=images/cards/card-preview_16-9_2x.png
page.image=images/cards/card-n-overview_2x.png
meta.tags="preview", "developer", "android"
page.tags="preview", "developer", "android"
@jd:body

View File

@@ -1,5 +1,7 @@
page.title=Samples
page.image=images/cards/samples-new_2x.png
meta.tags="samples", "preview"
page.tags="preview", "developer preview"
page.image=images/cards/card-n-samples_2x.png
@jd:body
<p>

View File

@@ -1,5 +1,7 @@
page.title=Set Up the Preview SDK
page.image=images/cards/card-set-up_16-9_2x.png
page.title=Set Up the SDK
meta.keywords="preview", "android"
page.tags="preview", "developer preview"
page.image=images/cards/card-n-sdk_2x.png
@jd:body

View File

@@ -1,6 +1,7 @@
page.title=Support and Release Notes
meta.keywords="preview", "android"
page.tags="preview", "developer preview"
page.image=images/cards/card-support_16-9_2x.png
page.image=images/cards/card-n-support_2x.png
@jd:body