am e99d5320: am 032a4946: Doc change: css/js, assets for landing page, header/footer designs.
* commit 'e99d5320dd70de6f5ada67dd0c2dd9761e6a6c32': Doc change: css/js, assets for landing page, header/footer designs.
|
@ -14,195 +14,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@media screen, projection, print {
|
@media screen, projection, print {
|
||||||
.full {
|
.wrap {
|
||||||
padding: 2.5em 0;
|
max-width: none;
|
||||||
border-top: solid 1px #ddd;
|
}
|
||||||
border-bottom: solid 1px #ddd;
|
|
||||||
background: #f7f7f7;
|
|
||||||
}
|
}
|
||||||
.wrap {
|
|
||||||
margin: 0 auto;
|
|
||||||
width: 100%;
|
|
||||||
min-width:600px;
|
|
||||||
clear: both;
|
|
||||||
}
|
|
||||||
.cols {
|
|
||||||
height: 1%;
|
|
||||||
margin: 0 -1.533742331288343558282%;
|
|
||||||
width: 103.06748466257669%}
|
|
||||||
*+html .cols {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
.cols:after {
|
|
||||||
clear: both;
|
|
||||||
content: ' ';
|
|
||||||
display: block;
|
|
||||||
height: 0;
|
|
||||||
visibility: hidden;
|
|
||||||
}
|
|
||||||
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
|
|
||||||
.col-13, .col-14, .col-15, .col-16 {
|
|
||||||
float: left;
|
|
||||||
margin: 0 1.063829787234% 20px 1.063829787234%;
|
|
||||||
}
|
|
||||||
* html .col-1, * html .col-2, * html .col-3, * html .col-4, * html .col-5, * html .col-6, * html
|
|
||||||
.col-7, * html .col-8, * html .col-9, * html .col-10, * html .col-11, * html .col-12, * html
|
|
||||||
.col-13, * html .col-14, * html .col-15, * html .col-16 {
|
|
||||||
margin: 0;
|
|
||||||
margin: 0 1.063829787234% 20px 1.063829787234%;
|
|
||||||
}
|
|
||||||
[dir='rtl'] .col-1, [dir='rtl'] .col-2, [dir='rtl'] .col-3, [dir='rtl'] .col-4, [dir='rtl'] .col-5,
|
|
||||||
[dir='rtl'] .col-6, [dir='rtl'] .col-7, [dir='rtl'] .col-8, [dir='rtl'] .col-9, [dir='rtl'] .col-10,
|
|
||||||
[dir='rtl'] .col-11, [dir='rtl'] .col-12 {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
.col-1 {
|
|
||||||
width: 4.16666666666667%;
|
|
||||||
}
|
|
||||||
.col-2 {
|
|
||||||
width: 10.4166666666667%;
|
|
||||||
}
|
|
||||||
.col-3 {
|
|
||||||
width: 16.6666666666667%;
|
|
||||||
}
|
|
||||||
.col-4 {
|
|
||||||
width: 22.9166666666667%;
|
|
||||||
}
|
|
||||||
.col-5 {
|
|
||||||
width: 29.1666666666667%;
|
|
||||||
}
|
|
||||||
.col-6 {
|
|
||||||
width: 35.4166666666667%;
|
|
||||||
}
|
|
||||||
.col-7 {
|
|
||||||
width: 41.6666666666667%;
|
|
||||||
}
|
|
||||||
.col-8 {
|
|
||||||
width: 47.9166666666667%;
|
|
||||||
}
|
|
||||||
.col-9 {
|
|
||||||
width: 55.3333333333333%;
|
|
||||||
}
|
|
||||||
.col-10 {
|
|
||||||
width: 60.4166666666667%;
|
|
||||||
}
|
|
||||||
.col-11 {
|
|
||||||
width: 66.6666666666667%;
|
|
||||||
}
|
|
||||||
.col-12 {
|
|
||||||
width: 72.9166666666667%;
|
|
||||||
}
|
|
||||||
.col-13 {
|
|
||||||
width: 79.1666666666667%;
|
|
||||||
}
|
|
||||||
.col-14 {
|
|
||||||
width: 85.4166666666667%;
|
|
||||||
}
|
|
||||||
.col-15 {
|
|
||||||
width: 91.6666666666667%;
|
|
||||||
}
|
|
||||||
.col-16 {
|
|
||||||
width: 97.9166666666667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#header .col-1,
|
|
||||||
#nav-x .col-1 { width: 40px }
|
|
||||||
#header .col-2,
|
|
||||||
#nav-x .col-2 { width: 100px }
|
|
||||||
#header .col-3,
|
|
||||||
#nav-x .col-3 { width: 160px }
|
|
||||||
#header .col-4,
|
|
||||||
#nav-x .col-4 { width: 220px }
|
|
||||||
#header .col-5,
|
|
||||||
#nav-x .col-5 { width: 280px }
|
|
||||||
#header .col-6,
|
|
||||||
#nav-x .col-6 { width: 340px }
|
|
||||||
#header .col-7,
|
|
||||||
#nav-x .col-7 { width: 400px }
|
|
||||||
#header .col-8,
|
|
||||||
#nav-x .col-8 { width: 460px }
|
|
||||||
#header .col-9,
|
|
||||||
#nav-x .col-9 { width: 520px }
|
|
||||||
#header .col-10,
|
|
||||||
#nav-x .col-10 { width: 580px }
|
|
||||||
#header .col-11,
|
|
||||||
#nav-x .col-11 { width: 640px }
|
|
||||||
#header .col-12,
|
|
||||||
#nav-x .col-12 { width: 700px }
|
|
||||||
#header .col-13,
|
|
||||||
#nav-x .col-13 { width: 760px }
|
|
||||||
#header .col-14,
|
|
||||||
#nav-x .col-14 { width: 820px }
|
|
||||||
#header .col-15,
|
|
||||||
#nav-x .col-15 { width: 880px }
|
|
||||||
#header .col-16,
|
|
||||||
#nav-x .col-16 { width: 940px }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
body {
|
|
||||||
padding:0 20px;
|
|
||||||
}
|
|
||||||
#header,
|
|
||||||
#searchResults,
|
|
||||||
#nav-x {
|
|
||||||
margin:0;
|
|
||||||
}
|
|
||||||
#body-content {
|
|
||||||
margin:0;
|
|
||||||
}
|
|
||||||
#body-content > .col-12 {
|
|
||||||
width:77.9804965%;
|
|
||||||
margin:0 0 0 0.97%; /* this percentage chosen to make IE9 happy */
|
|
||||||
}
|
|
||||||
#side-nav {
|
|
||||||
width: 19.9804965%;
|
|
||||||
margin:0 1.063829787234% 0 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#header .wrap {
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#header-wrapper #nav-x div.wrap,
|
|
||||||
#searchResults.wrap {
|
|
||||||
max-width:100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-x {
|
|
||||||
margin:-2px 0 0 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#devdoc-nav.fixed,
|
|
||||||
#devdoc-nav.fixed a.totop {
|
|
||||||
left:20px; /* !important ... for IE i think */
|
|
||||||
}
|
|
||||||
|
|
||||||
#sticky-header {
|
|
||||||
padding: 0 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#sticky-header > div {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sticky-menu {
|
|
||||||
width:100%;
|
|
||||||
left:-20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.col-right {
|
|
||||||
margin-right:0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width:772px) {
|
|
||||||
.col-5, .col-6, .col-7 {
|
|
||||||
clear: both;
|
|
||||||
width: 97.0238096%}
|
|
||||||
}
|
|
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 794 B |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 5.7 KiB |
|
@ -169,15 +169,13 @@ Summary:
|
||||||
|
|
||||||
<div class="jd-descr">
|
<div class="jd-descr">
|
||||||
<?cs call:deprecated_warning(class) ?>
|
<?cs call:deprecated_warning(class) ?>
|
||||||
<?cs if:subcount(class.descr) || subcount(class.annotationdocumentation) ?>
|
<?cs if:subcount(class.descr) ?>
|
||||||
<h2>Class Overview</h2>
|
<h2>Class Overview</h2>
|
||||||
<?cs if:subcount(class.descr) ?><p itemprop="articleBody"><?cs call:tag_list(class.descr) ?></p><?cs /if ?>
|
<p itemprop="articleBody"><?cs call:tag_list(class.descr) ?></p>
|
||||||
<?cs if:subcount(class.annotationdocumentation) ?><?cs each:annodoc = class.annotationdocumentation?>
|
|
||||||
<p><?cs var:annodoc.text ?></p>
|
|
||||||
<?cs /each?><?cs /if?>
|
|
||||||
<?cs /if ?>
|
<?cs /if ?>
|
||||||
|
|
||||||
<?cs call:see_also_tags(class.seeAlso) ?>
|
<?cs call:see_also_tags(class.seeAlso) ?>
|
||||||
|
|
||||||
</div><!-- jd-descr -->
|
</div><!-- jd-descr -->
|
||||||
|
|
||||||
|
|
||||||
|
@ -198,12 +196,12 @@ Summary:
|
||||||
</td>
|
</td>
|
||||||
<td class="jd-linkcol" width="100%"><nobr>
|
<td class="jd-linkcol" width="100%"><nobr>
|
||||||
<span class="sympad"><?cs call:cond_link(method.name, toroot, method.href, included) ?></span>(<?cs call:parameter_list(method.params) ?>)</nobr>
|
<span class="sympad"><?cs call:cond_link(method.name, toroot, method.href, included) ?></span>(<?cs call:parameter_list(method.params) ?>)</nobr>
|
||||||
<?cs if:subcount(method.shortDescr) || subcount(method.deprecated) || subcount(method.showAnnotations) ?>
|
<?cs if:subcount(method.shortDescr) || subcount(method.deprecated) ?>
|
||||||
<div class="jd-descrdiv">
|
<div class="jd-descrdiv">
|
||||||
<?cs if:subcount(method.shortDescr) || subcount(method.annotationdocumentation) ?><?cs call:short_descr(method)?><?cs /if?>
|
<?cs call:short_descr(method) ?>
|
||||||
<?cs call:show_annotations_list(method) ?>
|
<?cs call:show_annotations_list(method) ?>
|
||||||
</div>
|
</div>
|
||||||
<?cs /if ?>
|
<?cs /if ?>
|
||||||
</td></tr>
|
</td></tr>
|
||||||
<?cs set:count = count + #1 ?>
|
<?cs set:count = count + #1 ?>
|
||||||
<?cs /each ?>
|
<?cs /each ?>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<?cs else ?>
|
<?cs else ?>
|
||||||
<a name="top"></a>
|
<a name="top"></a>
|
||||||
|
|
||||||
<!-- dialog to prompt lang pref change when loaded from hardcoded URL
|
<!-- dialog to prompt lang pref change when loaded from hardcoded URL
|
||||||
<div id="langMessage" style="display:none">
|
<div id="langMessage" style="display:none">
|
||||||
<div>
|
<div>
|
||||||
<div class="lang en">
|
<div class="lang en">
|
||||||
|
@ -52,260 +52,170 @@
|
||||||
<?cs if:!devsite ?><?cs # leave out the global header for devsite; it is in devsite template ?>
|
<?cs if:!devsite ?><?cs # leave out the global header for devsite; it is in devsite template ?>
|
||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
<div id="header-wrapper">
|
<div id="header-wrapper">
|
||||||
<div id="header"><?cs call:butter_bar() ?>
|
<div class="dac-header" id="header"><?cs call:butter_bar() ?>
|
||||||
<div class="wrap" id="header-wrap">
|
<div class="dac-header-inner">
|
||||||
<div class="col-3 logo">
|
<a class="dac-nav-toggle" data-dac-toggle-nav href="javascript:;" title="Open navigation">
|
||||||
<a href="<?cs var:toroot ?>index.html">
|
<span class="dac-nav-hamburger">
|
||||||
<img src="<?cs var:toroot ?>assets/images/dac_logo.png"
|
<span class="dac-nav-hamburger-top"></span>
|
||||||
srcset="<?cs var:toroot ?>assets/images/dac_logo@2x.png 2x"
|
<span class="dac-nav-hamburger-mid"></span>
|
||||||
width="123" height="25" alt="Android Developers" />
|
<span class="dac-nav-hamburger-bot"></span>
|
||||||
</a>
|
</span>
|
||||||
<div class="btn-quicknav" id="btn-quicknav">
|
</a>
|
||||||
<a href="#" class="arrow-inactive">Quicknav</a>
|
<a class="dac-header-logo" href="<?cs var:toroot ?>index.html">
|
||||||
<a href="#" class="arrow-active">Quicknav</a>
|
<img class="dac-header-logo-image" src="<?cs var:toroot ?>assets/images/android_logo.png"
|
||||||
</div>
|
srcset="<?cs var:toroot ?>assets/images/android_logo@2x.png 2x"
|
||||||
</div>
|
width="32" height="36" alt="Android" /> Developers
|
||||||
<ul class="nav-x col-9">
|
</a>
|
||||||
<li class="design">
|
|
||||||
<a href="<?cs var:toroot ?>design/index.html"
|
|
||||||
zh-tw-lang="設計"
|
|
||||||
zh-cn-lang="设计"
|
|
||||||
ru-lang="Проектирование"
|
|
||||||
ko-lang="디자인"
|
|
||||||
ja-lang="設計"
|
|
||||||
es-lang="Diseñar"
|
|
||||||
>Design</a></li>
|
|
||||||
<li class="develop"><a href="<?cs var:toroot ?>develop/index.html"
|
|
||||||
zh-tw-lang="開發"
|
|
||||||
zh-cn-lang="开发"
|
|
||||||
ru-lang="Разработка"
|
|
||||||
ko-lang="개발"
|
|
||||||
ja-lang="開発"
|
|
||||||
es-lang="Desarrollar"
|
|
||||||
>Develop</a></li>
|
|
||||||
<li class="distribute last"><a href="<?cs var:toroot ?>distribute/<?cs
|
|
||||||
if:android.whichdoc == "offline" ?>googleplay/<?cs /if ?>index.html"
|
|
||||||
zh-tw-lang="發佈"
|
|
||||||
zh-cn-lang="分发"
|
|
||||||
ru-lang="Распространение"
|
|
||||||
ko-lang="배포"
|
|
||||||
ja-lang="配布"
|
|
||||||
es-lang="Distribuir"
|
|
||||||
>Distribute</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
<ul class="dac-header-crumbs">
|
||||||
|
<?cs # More <li> elements added here with javascript ?>
|
||||||
|
<?cs if:!section.landing ?><li class="dac-header-crumbs-item"><span class="dac-header-crumbs-link current"><?cs var:page.title ?></a></li><?cs
|
||||||
|
/if ?>
|
||||||
|
</ul>
|
||||||
|
|
||||||
<?cs # ADD SEARCH AND MENU ?>
|
<?cs # ADD SEARCH AND MENU ?>
|
||||||
<?cs call:header_search_widget() ?>
|
<?cs call:header_search_widget() ?>
|
||||||
|
|
||||||
|
<a class="dac-header-consoleBtn" href="https://play.google.com/apps/publish/">
|
||||||
<!-- Expanded quicknav -->
|
<span class="dac-sprite dac-google-play"></span>
|
||||||
<div id="quicknav" class="col-13">
|
<span class="dac-visible-desktop-inline">Developer</span>
|
||||||
<ul>
|
Console
|
||||||
<li class="about">
|
</a>
|
||||||
<ul>
|
|
||||||
<li><a href="<?cs var:toroot ?>about/index.html">About</a></li>
|
|
||||||
<li><a href="<?cs var:toroot ?>wear/index.html">Wear</a></li>
|
|
||||||
<li><a href="<?cs var:toroot ?>tv/index.html">TV</a></li>
|
|
||||||
<li><a href="<?cs var:toroot ?>auto/index.html">Auto</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="design">
|
|
||||||
<ul>
|
|
||||||
<li><a href="<?cs var:toroot ?>design/index.html">Get Started</a></li>
|
|
||||||
<li><a href="<?cs var:toroot ?>design/devices.html">Devices</a></li>
|
|
||||||
<li><a href="<?cs var:toroot ?>design/style/index.html">Style</a></li>
|
|
||||||
<li><a href="<?cs var:toroot ?>design/patterns/index.html">Patterns</a></li>
|
|
||||||
<li><a href="<?cs var:toroot ?>design/building-blocks/index.html">Building Blocks</a></li>
|
|
||||||
<li><a href="<?cs var:toroot ?>design/downloads/index.html">Downloads</a></li>
|
|
||||||
<li><a href="<?cs var:toroot ?>design/videos/index.html">Videos</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="develop">
|
|
||||||
<ul>
|
|
||||||
<li><a href="<?cs var:toroot ?>training/index.html"
|
|
||||||
zh-tw-lang="訓練課程"
|
|
||||||
zh-cn-lang="培训"
|
|
||||||
ru-lang="Курсы"
|
|
||||||
ko-lang="교육"
|
|
||||||
ja-lang="トレーニング"
|
|
||||||
es-lang="Capacitación"
|
|
||||||
>Training</a></li>
|
|
||||||
<li><a href="<?cs var:toroot ?>guide/index.html"
|
|
||||||
zh-tw-lang="API 指南"
|
|
||||||
zh-cn-lang="API 指南"
|
|
||||||
ru-lang="Руководства по API"
|
|
||||||
ko-lang="API 가이드"
|
|
||||||
ja-lang="API ガイド"
|
|
||||||
es-lang="Guías de la API"
|
|
||||||
>API Guides</a></li>
|
|
||||||
<li><a href="<?cs var:toroot ?>reference/packages.html"
|
|
||||||
zh-tw-lang="參考資源"
|
|
||||||
zh-cn-lang="参考"
|
|
||||||
ru-lang="Справочник"
|
|
||||||
ko-lang="참조문서"
|
|
||||||
ja-lang="リファレンス"
|
|
||||||
es-lang="Referencia"
|
|
||||||
>Reference</a></li>
|
|
||||||
<li><a href="<?cs var:toroot ?>sdk/index.html"
|
|
||||||
zh-tw-lang="相關工具"
|
|
||||||
zh-cn-lang="工具"
|
|
||||||
ru-lang="Инструменты"
|
|
||||||
ko-lang="도구"
|
|
||||||
ja-lang="ツール"
|
|
||||||
es-lang="Herramientas"
|
|
||||||
>Tools</a>
|
|
||||||
</li>
|
|
||||||
<li><a href="<?cs var:toroot ?>google/index.html">Google Services</a>
|
|
||||||
</li>
|
|
||||||
<?cs if:android.hasSamples ?>
|
|
||||||
<li><a href="<?cs var:toroot ?>samples/index.html">Samples</a>
|
|
||||||
</li>
|
|
||||||
<?cs /if ?>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="distribute last">
|
|
||||||
<ul>
|
|
||||||
<li><a href="<?cs var:toroot ?>distribute/googleplay/index.html">Google Play</a></li>
|
|
||||||
<li><a href="<?cs var:toroot ?>distribute/essentials/index.html">Essentials</a></li>
|
|
||||||
<li><a href="<?cs var:toroot ?>distribute/users/index.html">Get Users</a></li>
|
|
||||||
<li><a href="<?cs var:toroot ?>distribute/engage/index.html">Engage & Retain</a></li>
|
|
||||||
<li><a href="<?cs var:toroot ?>distribute/monetize/index.html">Monetize</a></li>
|
|
||||||
<li><a href="<?cs var:toroot ?>distribute/analyze/index.html">Analyze</a></li>
|
|
||||||
<li><a href="<?cs var:toroot ?>distribute/tools/index.html">Tools & Reference</a></li>
|
|
||||||
<li><a href="<?cs var:toroot ?>distribute/stories/index.html">Developer Stories</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!-- /Expanded quicknav -->
|
|
||||||
</div><!-- end header-wrap.wrap -->
|
</div><!-- end header-wrap.wrap -->
|
||||||
</div><!-- end header -->
|
</div><!-- end header -->
|
||||||
|
|
||||||
<?cs if:about || wear || tv || auto ?>
|
|
||||||
<!-- Secondary x-nav -->
|
|
||||||
<div id="nav-x">
|
|
||||||
<div class="wrap">
|
|
||||||
<ul class="nav-x col-9 about" style="width:100%">
|
|
||||||
<li class="about"><a href="<?cs var:toroot ?>about/index.html"
|
|
||||||
>About</a></li>
|
|
||||||
<li class="wear"><a href="<?cs var:toroot ?>wear/index.html"
|
|
||||||
>Wear</a></li>
|
|
||||||
<li class="tv"><a href="<?cs var:toroot ?>tv/index.html"
|
|
||||||
>TV</a></li>
|
|
||||||
<li class="auto"><a href="<?cs var:toroot ?>auto/index.html"
|
|
||||||
>Auto</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- /Sendondary x-nav ABOUT -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?cs elif:training || guide || reference || tools || develop || google || samples ?>
|
|
||||||
<!-- Secondary x-nav -->
|
|
||||||
<div id="nav-x">
|
|
||||||
<div class="wrap" style="position:relative;z-index:1">
|
|
||||||
|
|
||||||
<?cs if:reference ?>
|
|
||||||
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<ul class="nav-x col-9 develop" style="width:100%">
|
|
||||||
<li class="training"><a href="<?cs var:toroot ?>training/index.html"
|
|
||||||
zh-tw-lang="訓練課程"
|
|
||||||
zh-cn-lang="培训"
|
|
||||||
ru-lang="Курсы"
|
|
||||||
ko-lang="교육"
|
|
||||||
ja-lang="トレーニング"
|
|
||||||
es-lang="Capacitación"
|
|
||||||
>Training</a></li>
|
|
||||||
<li class="guide"><a href="<?cs var:toroot ?>guide/index.html"
|
|
||||||
zh-tw-lang="API 指南"
|
|
||||||
zh-cn-lang="API 指南"
|
|
||||||
ru-lang="Руководства по API"
|
|
||||||
ko-lang="API 가이드"
|
|
||||||
ja-lang="API ガイド"
|
|
||||||
es-lang="Guías de la API"
|
|
||||||
>API Guides</a></li>
|
|
||||||
<li class="reference"><a href="<?cs var:toroot ?>reference/packages.html"
|
|
||||||
zh-tw-lang="參考資源"
|
|
||||||
zh-cn-lang="参考"
|
|
||||||
ru-lang="Справочник"
|
|
||||||
ko-lang="참조문서"
|
|
||||||
ja-lang="リファレンス"
|
|
||||||
es-lang="Referencia"
|
|
||||||
>Reference</a></li>
|
|
||||||
<li class="tools"><a href="<?cs var:toroot ?>sdk/index.html"
|
|
||||||
zh-tw-lang="相關工具"
|
|
||||||
zh-cn-lang="工具"
|
|
||||||
ru-lang="Инструменты"
|
|
||||||
ko-lang="도구"
|
|
||||||
ja-lang="ツール"
|
|
||||||
es-lang="Herramientas"
|
|
||||||
>Tools</a></li>
|
|
||||||
<li class="google"><a href="<?cs var:toroot ?>google/index.html"
|
|
||||||
>Google Services</a>
|
|
||||||
</li>
|
|
||||||
<?cs if:android.hasSamples ?>
|
|
||||||
<li class="samples"><a href="<?cs var:toroot ?>samples/index.html"
|
|
||||||
>Samples</a>
|
|
||||||
</li>
|
|
||||||
<?cs /if ?>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- /Sendondary x-nav DEVELOP -->
|
|
||||||
|
|
||||||
<?cs elif:distribute || googleplay || essentials || users || engage || monetize || analyze || disttools || stories ?>
|
|
||||||
<!-- Secondary distribute x-nav -->
|
|
||||||
<div id="nav-x">
|
|
||||||
<div class="wrap">
|
|
||||||
<ul class="nav-x distribute">
|
|
||||||
<li class="googleplay"><a href="<?cs var:toroot ?>distribute/googleplay/index.html"
|
|
||||||
>Google Play</a></li>
|
|
||||||
<li class="essentials"><a href="<?cs var:toroot ?>distribute/essentials/index.html"
|
|
||||||
>Essentials</a></li>
|
|
||||||
<li class="users"><a href="<?cs var:toroot ?>distribute/users/index.html"
|
|
||||||
>Get Users</a></li>
|
|
||||||
<li class="engage"><a href="<?cs var:toroot ?>distribute/engage/index.html"
|
|
||||||
>Engage & Retain</a></li>
|
|
||||||
<li class="monetize"><a href="<?cs var:toroot ?>distribute/monetize/index.html"
|
|
||||||
>Monetize</a>
|
|
||||||
</li>
|
|
||||||
<li class="analyze"><a href="<?cs var:toroot ?>distribute/analyze/index.html"
|
|
||||||
>Analyze</a>
|
|
||||||
</li>
|
|
||||||
<li class="disttools"><a href="<?cs var:toroot ?>distribute/tools/index.html"
|
|
||||||
>Tools</a>
|
|
||||||
</li>
|
|
||||||
<li class="stories"><a href="<?cs var:toroot ?>distribute/stories/index.html"
|
|
||||||
>Stories</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<a href="https://play.google.com/apps/publish/" class="developer-console-btn">Developer Console</a>
|
|
||||||
</div> <!-- /Secondary distribute x-nav -->
|
|
||||||
</div>
|
|
||||||
<!-- /Sendondary x-nav DISTRIBUTE -->
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<div id="searchResults" class="wrap" style="display:none;">
|
<div id="searchResults" class="wrap" style="display:none;">
|
||||||
<h2 id="searchTitle">Results</h2>
|
<h2 id="searchTitle">Results</h2>
|
||||||
<div id="leftSearchControl" class="search-control">Loading...</div>
|
<div id="leftSearchControl" class="search-control">Loading...</div>
|
||||||
</div>
|
</div>
|
||||||
</div> <!--end header-wrapper -->
|
</div> <!--end header-wrapper -->
|
||||||
|
|
||||||
<div id="sticky-header">
|
<!-- Navigation-->
|
||||||
<div>
|
<nav class="dac-nav">
|
||||||
<a class="logo" href="#top"></a>
|
<div class="dac-nav-dimmer" data-dac-toggle-nav></div>
|
||||||
<a class="top" href="#top"></a>
|
|
||||||
<ul class="breadcrumb">
|
|
||||||
<?cs # More <li> elements added here with javascript ?>
|
|
||||||
<?cs if:!section.landing ?><li class="current"><?cs var:page.title ?></li><?cs
|
|
||||||
/if ?>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
<ul class="dac-nav-list" data-dac-nav>
|
||||||
|
<li class="dac-nav-item dac-nav-head">
|
||||||
|
<a class="dac-nav-link dac-nav-logo" data-dac-toggle-nav href="javascript:;" title="Close navigation">
|
||||||
|
<img class="dac-logo-image" src="<?cs var:toroot ?>assets/images/android_logo.png"
|
||||||
|
srcset="<?cs var:toroot ?>assets/images/android_logo@2x.png 2x"
|
||||||
|
width="32" height="36" alt="Android" /> Developers
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="dac-nav-item home">
|
||||||
|
<a class="dac-nav-link dac-visible-mobile-block" href="<?cs var:toroot ?>index.html">Home</a>
|
||||||
|
<ul class="dac-nav-secondary about">
|
||||||
|
<li class="dac-nav-item about">
|
||||||
|
<a class="dac-nav-link" href="<?cs var:toroot ?>about/index.html">About</a>
|
||||||
|
</li>
|
||||||
|
<li class="dac-nav-item wear">
|
||||||
|
<a class="dac-nav-link" href="<?cs var:toroot ?>wear/index.html">Wear</a>
|
||||||
|
</li>
|
||||||
|
<li class="dac-nav-item tv">
|
||||||
|
<a class="dac-nav-link" href="<?cs var:toroot ?>tv/index.html">TV</a>
|
||||||
|
</li>
|
||||||
|
<li class="dac-nav-item auto">
|
||||||
|
<a class="dac-nav-link" href="<?cs var:toroot ?>auto/index.html">Auto</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dac-nav-item design">
|
||||||
|
<a class="dac-nav-link" href="<?cs var:toroot ?>design/index.html"
|
||||||
|
zh-tw-lang="設計"
|
||||||
|
zh-cn-lang="设计"
|
||||||
|
ru-lang="Проектирование"
|
||||||
|
ko-lang="디자인"
|
||||||
|
ja-lang="設計"
|
||||||
|
es-lang="Diseñar">Design</a>
|
||||||
|
</li>
|
||||||
|
<li class="dac-nav-item develop">
|
||||||
|
<a class="dac-nav-link" href="<?cs var:toroot ?>develop/index.html"
|
||||||
|
zh-tw-lang="開發"
|
||||||
|
zh-cn-lang="开发"
|
||||||
|
ru-lang="Разработка"
|
||||||
|
ko-lang="개발"
|
||||||
|
ja-lang="開発"
|
||||||
|
es-lang="Desarrollar">Develop</a>
|
||||||
|
<ul class="dac-nav-secondary develop">
|
||||||
|
<li class="dac-nav-item training">
|
||||||
|
<a class="dac-nav-link" href="<?cs var:toroot ?>training/index.html"
|
||||||
|
zh-tw-lang="訓練課程"
|
||||||
|
zh-cn-lang="培训"
|
||||||
|
ru-lang="Курсы"
|
||||||
|
ko-lang="교육"
|
||||||
|
ja-lang="トレーニング"
|
||||||
|
es-lang="Capacitación">Training</a>
|
||||||
|
</li>
|
||||||
|
<li class="dac-nav-item guide">
|
||||||
|
<a class="dac-nav-link" href="<?cs var:toroot ?>guide/index.html"
|
||||||
|
zh-tw-lang="API 指南"
|
||||||
|
zh-cn-lang="API 指南"
|
||||||
|
ru-lang="Руководства по API"
|
||||||
|
ko-lang="API 가이드"
|
||||||
|
ja-lang="API ガイド"
|
||||||
|
es-lang="Guías de la API">API Guides</a>
|
||||||
|
</li>
|
||||||
|
<li class="dac-nav-item reference">
|
||||||
|
<a class="dac-nav-link" href="<?cs var:toroot ?>reference/packages.html"
|
||||||
|
zh-tw-lang="參考資源"
|
||||||
|
zh-cn-lang="参考"
|
||||||
|
ru-lang="Справочник"
|
||||||
|
ko-lang="참조문서"
|
||||||
|
ja-lang="リファレンス"
|
||||||
|
es-lang="Referencia">Reference</a>
|
||||||
|
</li>
|
||||||
|
<li class="dac-nav-item tools">
|
||||||
|
<a class="dac-nav-link" href="<?cs var:toroot ?>sdk/index.html"
|
||||||
|
zh-tw-lang="相關工具"
|
||||||
|
zh-cn-lang="工具"
|
||||||
|
ru-lang="Инструменты"
|
||||||
|
ko-lang="도구"
|
||||||
|
ja-lang="ツール"
|
||||||
|
es-lang="Herramientas">Tools</a></li>
|
||||||
|
<li class="dac-nav-item google">
|
||||||
|
<a class="dac-nav-link" href="<?cs var:toroot ?>google/index.html">Google Services</a>
|
||||||
|
</li>
|
||||||
|
<?cs if:android.hasSamples ?>
|
||||||
|
<li class="dac-nav-item samples">
|
||||||
|
<a class="dac-nav-link" href="<?cs var:toroot ?>samples/index.html">Samples</a>
|
||||||
|
</li>
|
||||||
|
<?cs /if ?>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dac-nav-item distribute">
|
||||||
|
<a class="dac-nav-link" href="<?cs var:toroot ?>distribute/<?cs if:android.whichdoc == 'offline' ?>googleplay/<?cs /if ?>index.html"
|
||||||
|
zh-tw-lang="發佈"
|
||||||
|
zh-cn-lang="分发"
|
||||||
|
ru-lang="Распространение"
|
||||||
|
ko-lang="배포"
|
||||||
|
ja-lang="配布"
|
||||||
|
es-lang="Distribuir">Distribute</a>
|
||||||
|
<ul class="dac-nav-secondary distribute">
|
||||||
|
<li class="dac-nav-item googleplay">
|
||||||
|
<a class="dac-nav-link" href="<?cs var:toroot ?>distribute/googleplay/index.html">Google Play</a></li>
|
||||||
|
<li class="dac-nav-item essentials">
|
||||||
|
<a class="dac-nav-link" href="<?cs var:toroot ?>distribute/essentials/index.html">Essentials</a></li>
|
||||||
|
<li class="dac-nav-item users">
|
||||||
|
<a class="dac-nav-link" href="<?cs var:toroot ?>distribute/users/index.html">Get Users</a></li>
|
||||||
|
<li class="dac-nav-item engage">
|
||||||
|
<a class="dac-nav-link" href="<?cs var:toroot ?>distribute/engage/index.html">Engage & Retain</a></li>
|
||||||
|
<li class="dac-nav-item monetize">
|
||||||
|
<a class="dac-nav-link" href="<?cs var:toroot ?>distribute/monetize/index.html">Monetize</a>
|
||||||
|
</li>
|
||||||
|
<li class="dac-nav-item analyze">
|
||||||
|
<a class="dac-nav-link" href="<?cs var:toroot ?>distribute/analyze/index.html">Analyze</a>
|
||||||
|
</li>
|
||||||
|
<li class="dac-nav-item disttools">
|
||||||
|
<a class="dac-nav-link" href="<?cs var:toroot ?>distribute/tools/index.html">Tools</a>
|
||||||
|
</li>
|
||||||
|
<li class="dac-nav-item stories">
|
||||||
|
<a class="dac-nav-link" href="<?cs var:toroot ?>distribute/stories/index.html">Stories</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<!-- end navigation-->
|
||||||
<?cs /if ?><?cs # end if/else !devsite ?>
|
<?cs /if ?><?cs # end if/else !devsite ?>
|
||||||
<?cs /if ?><?cs # end if/else preview ?><?cs
|
<?cs /if ?><?cs # end if/else preview ?><?cs
|
||||||
/def ?>
|
/def ?>
|
||||||
|
@ -325,7 +235,7 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-8" style="margin:0"><h1 style="margin: 4px 0 0 0px;padding:0;line-height:16px;
|
<div class="col-8" style="margin:0"><h1 style="margin: 4px 0 0 0px;padding:0;line-height:16px;
|
||||||
color:#666;font-weight:100;font-size:27px;">M Developer Preview</h1></div>
|
color:#666;font-weight:100;font-size:27px;">L Developer Preview</h1></div>
|
||||||
|
|
||||||
<?cs # ADD SEARCH AND MENU ?>
|
<?cs # ADD SEARCH AND MENU ?>
|
||||||
<?cs call:header_search_widget() ?>
|
<?cs call:header_search_widget() ?>
|
||||||
|
@ -340,18 +250,6 @@ color:#666;font-weight:100;font-size:27px;">M Developer Preview</h1></div>
|
||||||
</div>
|
</div>
|
||||||
</div> <!--end header-wrapper -->
|
</div> <!--end header-wrapper -->
|
||||||
|
|
||||||
<div id="sticky-header">
|
|
||||||
<div>
|
|
||||||
<a class="logo" href="#top"></a>
|
|
||||||
<a class="top" href="#top"></a>
|
|
||||||
<ul class="breadcrumb">
|
|
||||||
<?cs # More <li> elements added here with javascript ?>
|
|
||||||
<?cs if:!section.landing ?><li class="current"><?cs var:page.title ?></li><?cs
|
|
||||||
/if ?>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?cs
|
<?cs
|
||||||
/def ?>
|
/def ?>
|
||||||
|
|
||||||
|
@ -365,11 +263,11 @@ color:#666;font-weight:100;font-size:27px;">M Developer Preview</h1></div>
|
||||||
<div id="butterbar-wrapper">
|
<div id="butterbar-wrapper">
|
||||||
<div id="butterbar">
|
<div id="butterbar">
|
||||||
<a href="http://googleblog.blogspot.com/" id="butterbar-message">
|
<a href="http://googleblog.blogspot.com/" id="butterbar-message">
|
||||||
The Android {version_number} SDK will be available on {Month} {Day}!
|
The Android 5.0 SDK will be available on October 17th!
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?cs /def ?>
|
<?cs /def ?>
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
<?cs
|
<?cs
|
||||||
def:fullpage() ?>
|
def:fullpage() ?>
|
||||||
<div id="body-content">
|
<div id="body-content">
|
||||||
|
<div>
|
||||||
<?cs /def ?>
|
<?cs /def ?>
|
||||||
<?cs
|
<?cs
|
||||||
def:sdk_nav() ?>
|
def:sdk_nav() ?>
|
||||||
<div class="wrap clearfix" id="body-content">
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
||||||
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
<div id="devdoc-nav" class="scroll-pane">
|
||||||
|
|
||||||
|
@ -18,10 +19,11 @@ def:sdk_nav() ?>
|
||||||
|
|
||||||
def:no_nav() ?>
|
def:no_nav() ?>
|
||||||
<div class="wrap clearfix" id="body-content">
|
<div class="wrap clearfix" id="body-content">
|
||||||
|
<div>
|
||||||
<?cs /def ?><?cs
|
<?cs /def ?><?cs
|
||||||
|
|
||||||
def:tools_nav() ?>
|
def:tools_nav() ?>
|
||||||
<div class="wrap clearfix" id="body-content">
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
<div id="devdoc-nav" class="scroll-pane">
|
||||||
<?cs
|
<?cs
|
||||||
|
@ -38,7 +40,7 @@ def:tools_nav() ?>
|
||||||
<?cs /def ?>
|
<?cs /def ?>
|
||||||
<?cs
|
<?cs
|
||||||
def:training_nav() ?>
|
def:training_nav() ?>
|
||||||
<div class="wrap clearfix" id="body-content">
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
||||||
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
<div id="devdoc-nav" class="scroll-pane">
|
||||||
|
|
||||||
|
@ -57,7 +59,7 @@ def:training_nav() ?>
|
||||||
<?cs /def ?><?cs
|
<?cs /def ?><?cs
|
||||||
|
|
||||||
def:googleplay_nav() ?>
|
def:googleplay_nav() ?>
|
||||||
<div class="wrap clearfix" id="body-content">
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
<div id="devdoc-nav" class="scroll-pane">
|
||||||
<?cs include:"../../../../frameworks/base/docs/html/distribute/googleplay/googleplay_toc.cs" ?>
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/googleplay/googleplay_toc.cs" ?>
|
||||||
|
@ -71,7 +73,7 @@ def:googleplay_nav() ?>
|
||||||
<?cs /def ?><?cs
|
<?cs /def ?><?cs
|
||||||
|
|
||||||
def:essentials_nav() ?>
|
def:essentials_nav() ?>
|
||||||
<div class="wrap clearfix" id="body-content">
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
<div id="devdoc-nav" class="scroll-pane">
|
||||||
<?cs include:"../../../../frameworks/base/docs/html/distribute/essentials/essentials_toc.cs" ?>
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/essentials/essentials_toc.cs" ?>
|
||||||
|
@ -85,7 +87,7 @@ def:essentials_nav() ?>
|
||||||
<?cs /def ?><?cs
|
<?cs /def ?><?cs
|
||||||
|
|
||||||
def:users_nav() ?>
|
def:users_nav() ?>
|
||||||
<div class="wrap clearfix" id="body-content">
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
<div id="devdoc-nav" class="scroll-pane">
|
||||||
<?cs include:"../../../../frameworks/base/docs/html/distribute/users/users_toc.cs" ?>
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/users/users_toc.cs" ?>
|
||||||
|
@ -99,7 +101,7 @@ def:users_nav() ?>
|
||||||
<?cs /def ?><?cs
|
<?cs /def ?><?cs
|
||||||
|
|
||||||
def:engage_nav() ?>
|
def:engage_nav() ?>
|
||||||
<div class="wrap clearfix" id="body-content">
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
<div id="devdoc-nav" class="scroll-pane">
|
||||||
<?cs include:"../../../../frameworks/base/docs/html/distribute/engage/engage_toc.cs" ?>
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/engage/engage_toc.cs" ?>
|
||||||
|
@ -113,7 +115,7 @@ def:engage_nav() ?>
|
||||||
<?cs /def ?><?cs
|
<?cs /def ?><?cs
|
||||||
|
|
||||||
def:analyze_nav() ?>
|
def:analyze_nav() ?>
|
||||||
<div class="wrap clearfix" id="body-content">
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
<div id="devdoc-nav" class="scroll-pane">
|
||||||
<?cs include:"../../../../frameworks/base/docs/html/distribute/analyze/analyze_toc.cs" ?>
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/analyze/analyze_toc.cs" ?>
|
||||||
|
@ -127,7 +129,7 @@ def:analyze_nav() ?>
|
||||||
<?cs /def ?><?cs
|
<?cs /def ?><?cs
|
||||||
|
|
||||||
def:monetize_nav() ?>
|
def:monetize_nav() ?>
|
||||||
<div class="wrap clearfix" id="body-content">
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
<div id="devdoc-nav" class="scroll-pane">
|
||||||
<?cs include:"../../../../frameworks/base/docs/html/distribute/monetize/monetize_toc.cs" ?>
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/monetize/monetize_toc.cs" ?>
|
||||||
|
@ -141,7 +143,7 @@ def:monetize_nav() ?>
|
||||||
<?cs /def ?><?cs
|
<?cs /def ?><?cs
|
||||||
|
|
||||||
def:disttools_nav() ?>
|
def:disttools_nav() ?>
|
||||||
<div class="wrap clearfix" id="body-content">
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
<div id="devdoc-nav" class="scroll-pane">
|
||||||
<?cs include:"../../../../frameworks/base/docs/html/distribute/tools/disttools_toc.cs" ?>
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/tools/disttools_toc.cs" ?>
|
||||||
|
@ -155,7 +157,7 @@ def:disttools_nav() ?>
|
||||||
<?cs /def ?><?cs
|
<?cs /def ?><?cs
|
||||||
|
|
||||||
def:stories_nav() ?>
|
def:stories_nav() ?>
|
||||||
<div class="wrap clearfix" id="body-content">
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
<div id="devdoc-nav" class="scroll-pane">
|
||||||
<?cs include:"../../../../frameworks/base/docs/html/distribute/stories/stories_toc.cs" ?>
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/stories/stories_toc.cs" ?>
|
||||||
|
@ -169,7 +171,7 @@ def:stories_nav() ?>
|
||||||
<?cs /def ?><?cs
|
<?cs /def ?><?cs
|
||||||
|
|
||||||
def:guide_nav() ?>
|
def:guide_nav() ?>
|
||||||
<div class="wrap clearfix" id="body-content">
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
||||||
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
<div id="devdoc-nav" class="scroll-pane">
|
||||||
|
|
||||||
|
@ -187,7 +189,7 @@ def:guide_nav() ?>
|
||||||
<?cs /def ?>
|
<?cs /def ?>
|
||||||
<?cs
|
<?cs
|
||||||
def:design_nav() ?>
|
def:design_nav() ?>
|
||||||
<div class="wrap clearfix" id="body-content">
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
<div id="devdoc-nav" class="scroll-pane">
|
||||||
|
|
||||||
|
@ -206,7 +208,7 @@ def:design_nav() ?>
|
||||||
<?cs /def ?>
|
<?cs /def ?>
|
||||||
<?cs
|
<?cs
|
||||||
def:distribute_nav() ?>
|
def:distribute_nav() ?>
|
||||||
<div class="wrap clearfix" id="body-content">
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
<div id="devdoc-nav" class="scroll-pane">
|
||||||
|
|
||||||
|
@ -225,7 +227,7 @@ def:distribute_nav() ?>
|
||||||
|
|
||||||
<?cs
|
<?cs
|
||||||
def:samples_nav() ?>
|
def:samples_nav() ?>
|
||||||
<div class="wrap clearfix" id="body-content">
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
||||||
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
<div id="devdoc-nav" class="scroll-pane">
|
||||||
|
|
||||||
|
@ -244,7 +246,7 @@ def:samples_nav() ?>
|
||||||
|
|
||||||
<?cs
|
<?cs
|
||||||
def:google_nav() ?>
|
def:google_nav() ?>
|
||||||
<div class="wrap clearfix" id="body-content">
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
||||||
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
<div id="devdoc-nav" class="scroll-pane">
|
||||||
|
|
||||||
|
@ -267,7 +269,7 @@ def:google_nav() ?>
|
||||||
|
|
||||||
<?cs
|
<?cs
|
||||||
def:about_nav() ?>
|
def:about_nav() ?>
|
||||||
<div class="wrap clearfix" id="body-content">
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
<div id="devdoc-nav" class="scroll-pane">
|
||||||
|
|
||||||
|
@ -287,7 +289,7 @@ def:about_nav() ?>
|
||||||
|
|
||||||
<?cs
|
<?cs
|
||||||
def:wear_nav() ?>
|
def:wear_nav() ?>
|
||||||
<div class="wrap clearfix" id="body-content">
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
||||||
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
<div id="devdoc-nav" class="scroll-pane">
|
||||||
|
|
||||||
|
@ -306,7 +308,7 @@ def:wear_nav() ?>
|
||||||
|
|
||||||
<?cs
|
<?cs
|
||||||
def:preview_nav() ?>
|
def:preview_nav() ?>
|
||||||
<div class="wrap clearfix" id="body-content">
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
||||||
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
<div id="devdoc-nav" class="scroll-pane">
|
||||||
<?cs
|
<?cs
|
||||||
|
@ -325,7 +327,7 @@ def:default_left_nav() ?>
|
||||||
<?cs if:reference.gcm || reference.gms ?>
|
<?cs if:reference.gcm || reference.gms ?>
|
||||||
<?cs call:google_nav() ?>
|
<?cs call:google_nav() ?>
|
||||||
<?cs else ?>
|
<?cs else ?>
|
||||||
<div class="wrap clearfix" id="body-content">
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
||||||
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div id="devdoc-nav">
|
<div id="devdoc-nav">
|
||||||
<div id="api-nav-header">
|
<div id="api-nav-header">
|
||||||
|
@ -433,78 +435,25 @@ def:default_left_nav() ?>
|
||||||
|
|
||||||
<?cs
|
<?cs
|
||||||
def:header_search_widget() ?>
|
def:header_search_widget() ?>
|
||||||
<div class="menu-container">
|
<div class="dac-header-search" id="search-container">
|
||||||
<div class="moremenu">
|
<div class="dac-header-search-inner">
|
||||||
<div id="more-btn"></div>
|
<div class="dac-header-search-btn" id="search-btn"></div>
|
||||||
</div>
|
<form class="dac-header-search-form" onsubmit="return submit_search()">
|
||||||
<div class="morehover" id="moremenu">
|
|
||||||
<div class="top"></div>
|
|
||||||
<div class="mid">
|
|
||||||
<div class="header">Links</div>
|
|
||||||
<ul>
|
|
||||||
<li><a href="https://play.google.com/apps/publish/" target="_googleplay">Google Play Developer Console</a></li>
|
|
||||||
<li><a href="http://android-developers.blogspot.com/">Android Developers Blog</a></li>
|
|
||||||
<li><a href="<?cs var:toroot ?>about/index.html">About Android</a></li>
|
|
||||||
</ul>
|
|
||||||
<div class="header">Android Sites</div>
|
|
||||||
<ul>
|
|
||||||
<li><a href="http://www.android.com">Android.com</a></li>
|
|
||||||
<li class="active"><a>Android Developers</a></li>
|
|
||||||
<li><a href="http://source.android.com">Android Open Source Project</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<?cs # Include language switcher only in online docs ?>
|
|
||||||
<?cs if:android.whichdoc == "online" ?>
|
|
||||||
<div class="header">Language</div>
|
|
||||||
<div id="language" class="locales">
|
|
||||||
<select name="language" onChange="changeLangPref(this.value, true)">
|
|
||||||
<option value="en">English</option>
|
|
||||||
<option value="es">Español</option>
|
|
||||||
<option value="ja">日本語</option>
|
|
||||||
<option value="ko">한국어</option>
|
|
||||||
<option value="ru">Русский</option>
|
|
||||||
<option value="zh-cn">中文(简体)</option>
|
|
||||||
<option value="zh-tw">中文(繁體)</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
<script type="text/javascript">
|
|
||||||
<!--
|
|
||||||
loadLangPref();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs # End of lang switcher ?>
|
|
||||||
<br class="clearfix" />
|
|
||||||
</div><!-- end 'mid' -->
|
|
||||||
<div class="bottom"></div>
|
|
||||||
</div><!-- end 'moremenu' -->
|
|
||||||
|
|
||||||
<div class="search" id="search-container">
|
|
||||||
<div class="search-inner">
|
|
||||||
<div id="search-btn"></div>
|
|
||||||
<div class="left"></div>
|
|
||||||
<form onsubmit="return submit_search()">
|
|
||||||
<input id="search_autocomplete" type="text" value="" autocomplete="off" name="q"
|
<input id="search_autocomplete" type="text" value="" autocomplete="off" name="q"
|
||||||
onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)"
|
onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)"
|
||||||
onkeydown="return search_changed(event, true, '<?cs var:toroot ?>')"
|
onkeydown="return search_changed(event, true, '<?cs var:toroot ?>')"
|
||||||
onkeyup="return search_changed(event, false, '<?cs var:toroot ?>')" />
|
onkeyup="return search_changed(event, false, '<?cs var:toroot ?>')"
|
||||||
|
class="dac-header-search-input" placeholder="Search" />
|
||||||
|
<a class="dac-header-search-close hide" id="search-close">close</a>
|
||||||
</form>
|
</form>
|
||||||
<div class="right"></div>
|
</div><!-- end dac-header-search-inner -->
|
||||||
<a class="close hide">close</a>
|
</div><!-- end dac-header-search -->
|
||||||
<div class="left"></div>
|
|
||||||
<div class="right"></div>
|
|
||||||
</div><!-- end search-inner -->
|
|
||||||
</div><!-- end search-container -->
|
|
||||||
|
|
||||||
<div class="search_filtered_wrapper reference">
|
<div class="search_filtered_wrapper">
|
||||||
<div class="suggest-card reference no-display">
|
<div class="suggest-card reference no-display">
|
||||||
<ul class="search_filtered">
|
<ul class="search_filtered">
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="search_filtered_wrapper docs">
|
|
||||||
<div class="suggest-card dummy no-display"> </div>
|
|
||||||
<div class="suggest-card develop no-display">
|
<div class="suggest-card develop no-display">
|
||||||
<ul class="search_filtered">
|
<ul class="search_filtered">
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -524,7 +473,6 @@ def:header_search_widget() ?>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- end menu-container (search and menu widget) -->
|
|
||||||
<?cs /def ?>
|
<?cs /def ?>
|
||||||
|
|
||||||
|
|
||||||
|
@ -597,11 +545,12 @@ def:custom_copyright() ?>
|
||||||
|
|
||||||
<?cs
|
<?cs
|
||||||
def:custom_footerlinks() ?>
|
def:custom_footerlinks() ?>
|
||||||
<p>
|
<a href="<?cs var:toroot ?>about/index.html">About Android</a>
|
||||||
<a href="<?cs var:toroot ?>about/index.html">About Android</a> |
|
<a href="<?cs var:toroot ?>auto/index.html">Auto</a>
|
||||||
<a href="<?cs var:toroot ?>legal.html">Legal</a> |
|
<a href="<?cs var:toroot ?>tv/index.html">TV</a>
|
||||||
<a href="<?cs var:toroot ?>support.html">Support</a>
|
<a href="<?cs var:toroot ?>wear/index.html">Wear</a>
|
||||||
</p><?cs
|
<a href="<?cs var:toroot ?>legal.html">Legal</a>
|
||||||
|
<?cs
|
||||||
/def ?>
|
/def ?>
|
||||||
|
|
||||||
<?cs # appears on the right side of the blue bar at the bottom off every page ?><?cs
|
<?cs # appears on the right side of the blue bar at the bottom off every page ?><?cs
|
||||||
|
|
|
@ -37,14 +37,12 @@
|
||||||
|
|
||||||
<?cs if:header.hide ?>
|
<?cs if:header.hide ?>
|
||||||
<?cs else ?>
|
<?cs else ?>
|
||||||
<div class="layout-content-row content-header <?cs if:header.justLinks ?>just-links<?cs /if ?>">
|
<div class="content-header <?cs if:header.justLinks ?>just-links<?cs /if ?>">
|
||||||
<div class="layout-content-col span-9">
|
|
||||||
<?cs if:header.justLinks ?>
|
<?cs if:header.justLinks ?>
|
||||||
<?cs elif:header.title ?><h2><?cs var:header.title ?></h2>
|
<?cs elif:header.title ?><h2><?cs var:header.title ?></h2>
|
||||||
<?cs else ?><h2><?cs var:page.title ?></h2>
|
<?cs else ?><h2><?cs var:page.title ?></h2>
|
||||||
<?cs /if ?>
|
<?cs /if ?>
|
||||||
</div>
|
<div class="paging-links" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div class="paging-links layout-content-col span-4" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
<a href="#" class="prev-page-link">Previous</a>
|
<a href="#" class="prev-page-link">Previous</a>
|
||||||
<a href="#" class="next-page-link">Next</a>
|
<a href="#" class="next-page-link">Next</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -55,9 +53,9 @@
|
||||||
|
|
||||||
<?cs if:footer.hide ?>
|
<?cs if:footer.hide ?>
|
||||||
<?cs else ?>
|
<?cs else ?>
|
||||||
<div class="layout-content-row content-footer" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="cols content-footer" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div class="paging-links layout-content-col span-9"> </div>
|
<div class="paging-links col-9"> </div>
|
||||||
<div class="paging-links layout-content-col span-4">
|
<div class="paging-links col-4">
|
||||||
<a href="#" class="prev-page-link">Previous</a>
|
<a href="#" class="prev-page-link">Previous</a>
|
||||||
<a href="#" class="next-page-link">Next</a>
|
<a href="#" class="next-page-link">Next</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<?cs
|
<?cs
|
||||||
if:(google || reference.gms || reference.gcm) ?>google<?cs /if ?><?cs
|
if:(google || reference.gms || reference.gcm) ?>google<?cs /if ?><?cs
|
||||||
if:(guide||develop||training||reference||tools||sdk||samples) ?>develop<?cs
|
if:(guide||develop||training||reference||tools||google||sdk||samples) ?>develop<?cs
|
||||||
if:guide ?> guide<?cs /if ?><?cs
|
if:guide ?> guide<?cs /if ?><?cs
|
||||||
if:samples ?> samples<?cs /if ?><?cs
|
if:samples ?> samples<?cs /if ?><?cs
|
||||||
elif:(distribute||googleplay||essentials||users||engage||monetize||disttools||stories)
|
elif:(distribute||googleplay||essentials||users||engage||monetize||disttools||stories)
|
||||||
|
@ -28,7 +28,7 @@ include:"header.cs" ?>
|
||||||
<div <?cs
|
<div <?cs
|
||||||
if:fullpage
|
if:fullpage
|
||||||
?>class="fullpage"<?cs
|
?>class="fullpage"<?cs
|
||||||
elif:(design||tools||about||sdk||googleplay||essentials||users||monetize||disttools) && !nonavpage
|
elif:(design||tools||about||sdk||googleplay||essentials||users||engage||monetize||disttools||stories) && !nonavpage
|
||||||
?>class="col-13" id="doc-col"<?cs
|
?>class="col-13" id="doc-col"<?cs
|
||||||
elif:!nonavpage
|
elif:!nonavpage
|
||||||
?>class="col-12" id="doc-col"<?cs /if ?> >
|
?>class="col-12" id="doc-col"<?cs /if ?> >
|
||||||
|
@ -36,14 +36,12 @@ include:"header.cs" ?>
|
||||||
<?cs if:(design||training||walkthru) && !page.trainingcourse && !page.article ?><?cs # header logic for docs that provide previous/next buttons ?>
|
<?cs if:(design||training||walkthru) && !page.trainingcourse && !page.article ?><?cs # header logic for docs that provide previous/next buttons ?>
|
||||||
<?cs if:header.hide ?>
|
<?cs if:header.hide ?>
|
||||||
<?cs else ?>
|
<?cs else ?>
|
||||||
<div class="layout-content-row content-header <?cs if:header.justLinks ?>just-links<?cs /if ?>">
|
<div class="content-header <?cs if:header.justLinks ?>just-links<?cs /if ?>">
|
||||||
<div class="layout-content-col <?cs if:training ?>span-7<?cs else ?>span-9<?cs /if ?>">
|
|
||||||
<?cs if:header.justLinks ?>
|
<?cs if:header.justLinks ?>
|
||||||
<?cs else ?><h1 itemprop="name"><?cs var:page.title ?></h1>
|
<?cs else ?><h1 itemprop="name"><?cs var:page.title ?></h1>
|
||||||
<?cs /if ?>
|
<?cs /if ?>
|
||||||
</div>
|
|
||||||
<?cs if:training ?>
|
<?cs if:training ?>
|
||||||
<div class="training-nav-top layout-content-col span-5" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="training-nav-top" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<a href="#" class="prev-page-link hide"
|
<a href="#" class="prev-page-link hide"
|
||||||
zh-tw-lang="上一堂課"
|
zh-tw-lang="上一堂課"
|
||||||
zh-cn-lang="上一课"
|
zh-cn-lang="上一课"
|
||||||
|
@ -70,7 +68,7 @@ include:"header.cs" ?>
|
||||||
>Get started</a>
|
>Get started</a>
|
||||||
</div>
|
</div>
|
||||||
<?cs elif:!page.trainingcourse ?>
|
<?cs elif:!page.trainingcourse ?>
|
||||||
<div class="paging-links layout-content-col span-4" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="paging-links" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<a href="#" class="prev-page-link hide"
|
<a href="#" class="prev-page-link hide"
|
||||||
zh-tw-lang="上一堂課"
|
zh-tw-lang="上一堂課"
|
||||||
zh-cn-lang="上一课"
|
zh-cn-lang="上一课"
|
||||||
|
@ -116,16 +114,18 @@ include:"header.cs" ?>
|
||||||
<?cs if:page.landing ?><?cs # header logic for docs that are landing pages ?>
|
<?cs if:page.landing ?><?cs # header logic for docs that are landing pages ?>
|
||||||
<div class="landing-banner">
|
<div class="landing-banner">
|
||||||
<?cs if:page.landing.image ?><?cs # use two-column layout only if there is an image ?>
|
<?cs if:page.landing.image ?><?cs # use two-column layout only if there is an image ?>
|
||||||
<div class="col-6">
|
<div class="cols">
|
||||||
<img src="<?cs var:toroot ?><?cs var:page.landing.image ?>" alt="" />
|
<div class="col-6">
|
||||||
</div>
|
<img src="<?cs var:toroot ?><?cs var:page.landing.image ?>" alt="" />
|
||||||
<div class="col-6">
|
</div>
|
||||||
|
<div class="col-6">
|
||||||
<?cs /if ?>
|
<?cs /if ?>
|
||||||
<h1 itemprop="name" style="margin-bottom:0;"><?cs var:page.title ?></h1>
|
<h1 itemprop="name" style="margin-bottom:0;"><?cs var:page.title ?></h1>
|
||||||
<p itemprop="description"><?cs var:page.landing.intro ?></p>
|
<p itemprop="description"><?cs var:page.landing.intro ?></p>
|
||||||
|
|
||||||
<p><a class="next-page-link topic-start-link"></a></p>
|
<p><a class="next-page-link topic-start-link"></a></p>
|
||||||
<?cs if:page.landing.image ?>
|
<?cs if:page.landing.image ?>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?cs /if ?>
|
<?cs /if ?>
|
||||||
</div>
|
</div>
|
||||||
|
@ -153,13 +153,11 @@ include:"header.cs" ?>
|
||||||
<?cs call:tag_list(root.descr) ?>
|
<?cs call:tag_list(root.descr) ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<?cs if:!fullscreen && (design||training||walkthru) && !page.landing && !page.trainingcourse && !footer.hide ?>
|
||||||
<div class="content-footer <?cs
|
<div class="content-footer <?cs
|
||||||
if:fullpage ?>wrap<?cs
|
if:fullpage ?>wrap<?cs /if ?>"
|
||||||
else ?>layout-content-row<?cs /if ?>"
|
|
||||||
itemscope itemtype="http://schema.org/SiteNavigationElement">
|
itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<?cs if:!fullscreen ?>
|
<div class="paging-links">
|
||||||
<div class="paging-links layout-content-col col-10">
|
|
||||||
<?cs if:(design||training||walkthru) && !page.landing && !page.trainingcourse && !footer.hide ?>
|
|
||||||
<a href="#" class="next-page-link hide"
|
<a href="#" class="next-page-link hide"
|
||||||
zh-tw-lang="下一堂課"
|
zh-tw-lang="下一堂課"
|
||||||
zh-cn-lang="下一课"
|
zh-cn-lang="下一课"
|
||||||
|
@ -177,15 +175,9 @@ include:"header.cs" ?>
|
||||||
es-lang="Empezar"
|
es-lang="Empezar"
|
||||||
>Get started</a>
|
>Get started</a>
|
||||||
<a href="#" class="next-class-link hide">Next class</a>
|
<a href="#" class="next-class-link hide">Next class</a>
|
||||||
<?cs /if ?>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="layout-content-col plus-container col-2" >
|
|
||||||
<?cs if:!page.noplus ?><?cs if:fullpage ?><style>#___plusone_0 {float:right !important;}</style><?cs /if ?>
|
|
||||||
<div class="g-plusone" data-size="medium"></div>
|
|
||||||
<?cs /if ?>
|
|
||||||
</div>
|
|
||||||
<?cs /if ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
<?cs /if ?>
|
||||||
|
|
||||||
</div> <!-- end jd-content -->
|
</div> <!-- end jd-content -->
|
||||||
|
|
||||||
|
@ -194,9 +186,9 @@ include:"header.cs" ?>
|
||||||
|
|
||||||
<?cs include:"trailer.cs" ?>
|
<?cs include:"trailer.cs" ?>
|
||||||
<script src="https://developer.android.com/ytblogger_lists_unified.js" type="text/javascript"></script>
|
<script src="https://developer.android.com/ytblogger_lists_unified.js" type="text/javascript"></script>
|
||||||
<script src="<?cs var:toroot ?>jd_lists_unified.js?v=9" type="text/javascript"></script>
|
<script src="<?cs var:toroot ?>jd_lists_unified.js?v=8" type="text/javascript"></script>
|
||||||
<script src="<?cs var:toroot ?>jd_extras.js?v=11" type="text/javascript"></script>
|
<script src="<?cs var:toroot ?>jd_extras.js?v=10" type="text/javascript"></script>
|
||||||
<script src="<?cs var:toroot ?>jd_collections.js?v=12" type="text/javascript"></script>
|
<script src="<?cs var:toroot ?>jd_collections.js?v=10" type="text/javascript"></script>
|
||||||
<script src="<?cs var:toroot ?>jd_tag_helpers.js?v=5" type="text/javascript"></script>
|
<script src="<?cs var:toroot ?>jd_tag_helpers.js?v=5" type="text/javascript"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -1,20 +1,152 @@
|
||||||
<div id="footer" class="wrap" <?cs if:fullpage ?>style="width:940px"<?cs /if ?>>
|
<div class="dac-modal">
|
||||||
|
<div class="dac-modal-dimmer" data-modal-toogle></div>
|
||||||
<?cs if:reference ?>
|
|
||||||
<div id="copyright">
|
<div class="dac-modal-container">
|
||||||
<?cs call:custom_copyright() ?>
|
<div class="dac-modal-window">
|
||||||
|
<header class="dac-modal-header">
|
||||||
|
<button class="dac-modal-header-close" data-modal-toogle><i class="dac-sprite dac-close"></i></button>
|
||||||
|
<h2 class="dac-modal-header-title">Sign-up for the newsletter to get the latest Android developer news and tips that will help you find success on Google Play.</h2>
|
||||||
|
<p class="dac-modal-header-subtitle">* Required Fields</p>
|
||||||
|
</header>
|
||||||
|
<iframe src="" class="dac-modal-iframe" name="dac-modal-iframe"></iframe>
|
||||||
|
<form action="https://docs.google.com/forms/d/1QgnkzbEJIDu9lMEea0mxqWrXUJu0oBCLD7ar23V0Yys/formResponse" class="dac-form" method="post" target="dac-modal-iframe" data-newsletter-form>
|
||||||
|
<section class="dac-modal-content">
|
||||||
|
<fieldset class="dac-form-fieldset">
|
||||||
|
<div class="cols">
|
||||||
|
<div class="col-4of8">
|
||||||
|
<div class="dac-form-input-group">
|
||||||
|
<label for="newsletter-full-name" class="dac-form-floatlabel">Full name</label>
|
||||||
|
<input type="text" class="dac-form-input" name="entry.1357890476" id="newsletter-full-name" required>
|
||||||
|
<span class="dac-form-required">*</span>
|
||||||
|
</div>
|
||||||
|
<div class="dac-form-input-group">
|
||||||
|
<label for="newsletter-email" class="dac-form-floatlabel">Email address</label>
|
||||||
|
<input type="email" class="dac-form-input" name="entry.472100832" id="newsletter-email" required>
|
||||||
|
<span class="dac-form-required">*</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-4of8">
|
||||||
|
<div class="dac-form-input-group">
|
||||||
|
<label for="newsletter-company" class="dac-form-floatlabel">Company / developer name</label>
|
||||||
|
<input type="text" class="dac-form-input" name="entry.1664780309" id="newsletter-company">
|
||||||
|
</div>
|
||||||
|
<div class="dac-form-input-group">
|
||||||
|
<label for="newsletter-play-store" class="dac-form-floatlabel">One of your Play Store app URLs</label>
|
||||||
|
<input type="url" class="dac-form-input" name="entry.47013838" id="newsletter-play-store" required>
|
||||||
|
<span class="dac-form-required">*</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
<fieldset class="dac-form-fieldset">
|
||||||
|
<div class="cols">
|
||||||
|
<div class="col-4of8">
|
||||||
|
<legend class="dac-form-legend">Which best describes your business:<span class="dac-form-required">*</span>
|
||||||
|
</legend>
|
||||||
|
<div class="dac-form-radio-group">
|
||||||
|
<input type="radio" value="Apps" class="dac-form-radio" name="entry.1796324055" id="newsletter-business-type-app" required>
|
||||||
|
<label for="newsletter-business-type-app" class="dac-form-radio-button"></label>
|
||||||
|
<label for="newsletter-business-type-app" class="dac-form-label">Apps</label>
|
||||||
|
</div>
|
||||||
|
<div class="dac-form-radio-group">
|
||||||
|
<input type="radio" value="Games" class="dac-form-radio" name="entry.1796324055" id="newsletter-business-type-games" required>
|
||||||
|
<label for="newsletter-business-type-games" class="dac-form-radio-button"></label>
|
||||||
|
<label for="newsletter-business-type-games" class="dac-form-label">Games</label>
|
||||||
|
</div>
|
||||||
|
<div class="dac-form-radio-group">
|
||||||
|
<input type="radio" value="Apps and Games" class="dac-form-radio" name="entry.1796324055" id="newsletter-business-type-appsgames" required>
|
||||||
|
<label for="newsletter-business-type-appsgames" class="dac-form-radio-button"></label>
|
||||||
|
<label for="newsletter-business-type-appsgames" class="dac-form-label">Apps & Games</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-4of8 newsletter-checkboxes">
|
||||||
|
<div class="dac-form-radio-group">
|
||||||
|
<div class="dac-media">
|
||||||
|
<div class="dac-media-figure">
|
||||||
|
<input type="checkbox" class="dac-form-checkbox" name="entry.732309842" id="newsletter-add" required value="Add me to the mailing list for the monthly newsletter and occasional emails about development and Google Play opportunities.">
|
||||||
|
<label for="newsletter-add" class="dac-form-checkbox-button"></label>
|
||||||
|
</div>
|
||||||
|
<div class="dac-media-body">
|
||||||
|
<label for="newsletter-add" class="dac-form-label dac-form-aside">Add me to the mailing list for the monthly newsletter and occasional emails about development and Google Play opportunities.<span class="dac-form-required">*</span></label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="dac-form-radio-group">
|
||||||
|
<div class="dac-media">
|
||||||
|
<div class="dac-media-figure">
|
||||||
|
<input type="checkbox" class="dac-form-checkbox" name="entry.2045036090" id="newsletter-terms" required value="I acknowledge that the information provided in this form will be subject to Google's privacy policy (https://www.google.com/policies/privacy/).">
|
||||||
|
<label for="newsletter-terms" class="dac-form-checkbox-button"></label>
|
||||||
|
</div>
|
||||||
|
<div class="dac-media-body">
|
||||||
|
<label for="newsletter-terms" class="dac-form-label dac-form-aside">I acknowledge that the information provided in this form will be subject to <a href="https://www.google.com/policies/privacy/">Google's privacy policy</a>.<span class="dac-form-required">*</span></label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
</section>
|
||||||
|
<footer class="dac-modal-footer">
|
||||||
|
<div class="cols">
|
||||||
|
<div class="col-2of5">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<button type="submit" value="Submit" class="dac-fab dac-primary dac-large dac-modal-action"><i class="dac-sprite dac-arrow-right"></i></button>
|
||||||
|
</footer>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="build_info">
|
</div>
|
||||||
<?cs call:custom_buildinfo() ?>
|
<div class="dac-footer wrap">
|
||||||
|
<div class="cols dac-footer-main">
|
||||||
|
<div class="col-1of2">
|
||||||
|
<a class="dac-footer-getnews" data-modal-toogle href="javascript:;">Get news & tips <span class="dac-fab dac-primary"><i class="dac-sprite dac-mail"></i></span></a>
|
||||||
|
</div>
|
||||||
|
<div class="col-1of2 dac-footer-reachout">
|
||||||
|
<div class="dac-footer-contact">
|
||||||
|
<a class="dac-footer-contact-link" href="http://android-developers.blogspot.com/">Blog</a>
|
||||||
|
<a class="dac-footer-contact-link" href="/support.html">Support</a>
|
||||||
|
</div>
|
||||||
|
<div class="dac-footer-social">
|
||||||
|
<a class="dac-fab dac-footer-social-link" href="https://www.youtube.com/user/androiddevelopers"><i class="dac-sprite dac-youtube"></i></a>
|
||||||
|
<a class="dac-fab dac-footer-social-link" href="https://plus.google.com/+AndroidDevelopers"><i class="dac-sprite dac-gplus"></i></a>
|
||||||
|
<a class="dac-fab dac-footer-social-link" href="https://twitter.com/AndroidDev"><i class="dac-sprite dac-twitter"></i></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?cs elif:!hide_license_footer ?>
|
|
||||||
<div id="copyright">
|
<hr class="dac-footer-separator"/>
|
||||||
<?cs call:custom_cc_copyright() ?>
|
|
||||||
</div>
|
<?cs if:reference ?>
|
||||||
<?cs /if ?>
|
<p class="dac-footer-copyright">
|
||||||
<?cs if:!no_footer_links ?>
|
<?cs call:custom_copyright() ?>
|
||||||
<div id="footerlinks">
|
</p>
|
||||||
<?cs call:custom_footerlinks() ?>
|
<p class="dac-footer-build">
|
||||||
</div>
|
<?cs call:custom_buildinfo() ?>
|
||||||
<?cs /if ?>
|
</p>
|
||||||
</div> <!-- end footer -->
|
<?cs elif:!hide_license_footer ?>
|
||||||
|
<p class="dac-footer-copyright">
|
||||||
|
<?cs call:custom_cc_copyright() ?>
|
||||||
|
</p>
|
||||||
|
<?cs /if ?>
|
||||||
|
|
||||||
|
<p class="dac-footer-links">
|
||||||
|
<a href="/about/index.html">About Android</a>
|
||||||
|
<a href="/auto/index.html">Auto</a>
|
||||||
|
<a href="/tv/index.html">TV</a>
|
||||||
|
<a href="/wear/index.html">Wear</a>
|
||||||
|
<a href="/legal.html">Legal</a>
|
||||||
|
|
||||||
|
<span id="language" class="locales">
|
||||||
|
<select name="language" onchange="changeLangPref(this.value, true)">
|
||||||
|
<option value="en" selected="selected">English</option>
|
||||||
|
<option value="es">Español</option>
|
||||||
|
<option value="ja">日本語</option>
|
||||||
|
<option value="ko">한국어</option>
|
||||||
|
<option value="ru">Русский</option>
|
||||||
|
<option value="zh-cn">中文(简体)</option>
|
||||||
|
<option value="zh-tw">中文(繁體)</option>
|
||||||
|
</select>
|
||||||
|
</span>
|
||||||
|
</p>
|
||||||
|
</div> <!-- end footer -->
|
||||||
|
|
|
@ -15,10 +15,7 @@
|
||||||
?><?cs
|
?><?cs
|
||||||
# END if/else devsite ?>
|
# END if/else devsite ?>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta name="viewport" content="width=<?cs
|
<meta name="viewport" content="width=device-width" />
|
||||||
if:page.viewport_width ?><?cs
|
|
||||||
var:page.viewport_width ?><?cs
|
|
||||||
else ?>device-width<?cs /if ?>" />
|
|
||||||
<?cs
|
<?cs
|
||||||
if:page.metaDescription ?>
|
if:page.metaDescription ?>
|
||||||
<meta name="Description" content="<?cs var:page.metaDescription ?>"><?cs
|
<meta name="Description" content="<?cs var:page.metaDescription ?>"><?cs
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
<?cs call:custom_masthead() ?>
|
<?cs call:custom_masthead() ?>
|
||||||
|
|
||||||
<div id="body-content">
|
<div id="body-content">
|
||||||
|
<div>
|
||||||
<div id="doc-content" style="position:relative;">
|
<div id="doc-content" style="position:relative;">
|
||||||
|
|
||||||
<?cs call:tag_list(root.descr) ?>
|
<?cs call:tag_list(root.descr) ?>
|
||||||
|
|
|
@ -92,9 +92,9 @@
|
||||||
|
|
||||||
<div class="content-footer <?cs
|
<div class="content-footer <?cs
|
||||||
if:fullpage ?>wrap<?cs
|
if:fullpage ?>wrap<?cs
|
||||||
else ?>layout-content-row<?cs /if ?>"
|
else ?>cols<?cs /if ?>"
|
||||||
itemscope itemtype="http://schema.org/SiteNavigationElement">
|
itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div class="layout-content-col <?cs
|
<div class="<?cs
|
||||||
if:fullpage ?>col-16<?cs
|
if:fullpage ?>col-16<?cs
|
||||||
elif:training||guide ?>col-8<?cs
|
elif:training||guide ?>col-8<?cs
|
||||||
else ?>col-9<?cs /if ?>" style="padding-top:4px">
|
else ?>col-9<?cs /if ?>" style="padding-top:4px">
|
||||||
|
@ -103,7 +103,7 @@
|
||||||
<?cs /if ?>
|
<?cs /if ?>
|
||||||
</div>
|
</div>
|
||||||
<?cs if:!fullscreen ?>
|
<?cs if:!fullscreen ?>
|
||||||
<div class="paging-links layout-content-col col-4">
|
<div class="paging-links col-4">
|
||||||
<?cs if:(design||training||walkthru) && !page.landing && !page.trainingcourse && !footer.hide ?>
|
<?cs if:(design||training||walkthru) && !page.landing && !page.trainingcourse && !footer.hide ?>
|
||||||
<a href="#" class="prev-page-link hide"
|
<a href="#" class="prev-page-link hide"
|
||||||
zh-tw-lang="上一堂課"
|
zh-tw-lang="上一堂課"
|
||||||
|
@ -128,7 +128,7 @@
|
||||||
|
|
||||||
<?cs # for training classes, provide a different kind of link when the next page is a different class ?>
|
<?cs # for training classes, provide a different kind of link when the next page is a different class ?>
|
||||||
<?cs if:training && !page.article ?>
|
<?cs if:training && !page.article ?>
|
||||||
<div class="layout-content-row content-footer next-class" style="display:none" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="content-footer next-class" style="display:none" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<a href="#" class="next-class-link hide">Next class: </a>
|
<a href="#" class="next-class-link hide">Next class: </a>
|
||||||
</div>
|
</div>
|
||||||
<?cs /if ?>
|
<?cs /if ?>
|
||||||
|
|
|
@ -82,9 +82,9 @@
|
||||||
<?cs /if ?><?cs # end if/else online docs ?>
|
<?cs /if ?><?cs # end if/else online docs ?>
|
||||||
<div class="content-footer <?cs
|
<div class="content-footer <?cs
|
||||||
if:fullpage ?>wrap<?cs
|
if:fullpage ?>wrap<?cs
|
||||||
else ?>layout-content-row<?cs /if ?>"
|
else ?>cols<?cs /if ?>"
|
||||||
itemscope itemtype="http://schema.org/SiteNavigationElement">
|
itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<div class="layout-content-col <?cs
|
<div class="<?cs
|
||||||
if:fullpage ?>col-16<?cs
|
if:fullpage ?>col-16<?cs
|
||||||
elif:training||guide ?>col-8<?cs
|
elif:training||guide ?>col-8<?cs
|
||||||
else ?>col-9<?cs /if ?>" style="padding-top:4px">
|
else ?>col-9<?cs /if ?>" style="padding-top:4px">
|
||||||
|
@ -93,7 +93,7 @@
|
||||||
<?cs /if ?>
|
<?cs /if ?>
|
||||||
</div>
|
</div>
|
||||||
<?cs if:!fullscreen ?>
|
<?cs if:!fullscreen ?>
|
||||||
<div class="paging-links layout-content-col col-4">
|
<div class="paging-links col-4">
|
||||||
<?cs if:(design||training||walkthru) && !page.landing && !page.trainingcourse && !footer.hide ?>
|
<?cs if:(design||training||walkthru) && !page.landing && !page.trainingcourse && !footer.hide ?>
|
||||||
<a href="#" class="prev-page-link hide"
|
<a href="#" class="prev-page-link hide"
|
||||||
zh-tw-lang="上一堂課"
|
zh-tw-lang="上一堂課"
|
||||||
|
@ -118,7 +118,7 @@
|
||||||
|
|
||||||
<?cs # for training classes, provide a different kind of link when the next page is a different class ?>
|
<?cs # for training classes, provide a different kind of link when the next page is a different class ?>
|
||||||
<?cs if:training && !page.article ?>
|
<?cs if:training && !page.article ?>
|
||||||
<div class="layout-content-row content-footer next-class" style="display:none" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
<div class="content-footer next-class" style="display:none" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||||
<a href="#" class="next-class-link hide">Next class: </a>
|
<a href="#" class="next-class-link hide">Next class: </a>
|
||||||
</div>
|
</div>
|
||||||
<?cs /if ?>
|
<?cs /if ?>
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
</div> <!-- end .cols --> <?cs # normally opened by header.cs ?>
|
||||||
</div> <!-- end body-content --> <?cs # normally opened by header.cs ?>
|
</div> <!-- end body-content --> <?cs # normally opened by header.cs ?>
|
||||||
|
|
||||||
<?cs if:carousel ?>
|
<?cs if:carousel ?>
|
||||||
|
|