2011-12-01 03:55:01 +01:00
|
|
|
<?cs include:"doctype.cs" ?>
|
|
|
|
<?cs include:"macros.cs" ?>
|
2013-01-29 22:34:17 +01:00
|
|
|
<html<?cs if:devsite ?> devsite<?cs /if ?>>
|
2011-12-01 03:55:01 +01:00
|
|
|
<?cs include:"head_tag.cs" ?>
|
2014-06-23 19:22:23 +02:00
|
|
|
<body class="gc-documentation
|
2014-05-14 01:55:26 +02:00
|
|
|
|
|
|
|
<?cs
|
|
|
|
if:(google || reference.gms || reference.gcm) ?>google<?cs /if ?><?cs
|
|
|
|
if:(guide||develop||training||reference||tools||sdk||samples) ?>develop<?cs
|
|
|
|
if:guide ?> guide<?cs /if ?><?cs
|
|
|
|
if:samples ?> samples<?cs /if ?><?cs
|
|
|
|
elif:(distribute||googleplay||essentials||users||engage||monetize||disttools||stories)
|
|
|
|
?>distribute<?cs
|
|
|
|
if:googleplay ?> googleplay<?cs /if ?><?cs
|
|
|
|
if:essentials ?> essentials<?cs /if ?><?cs
|
|
|
|
if:users ?> users<?cs /if ?><?cs
|
|
|
|
if:engage ?> engage<?cs /if ?><?cs
|
|
|
|
if:monetize ?> monetize<?cs /if ?><?cs
|
|
|
|
if:disttools ?> disttools<?cs /if ?><?cs
|
|
|
|
if:stories ?> stories<?cs /if ?><?cs
|
2014-06-14 00:06:23 +02:00
|
|
|
elif:(about||wear||tv||auto) ?>about<?cs
|
2012-06-22 03:03:05 +02:00
|
|
|
elif:design ?>design<?cs
|
2014-05-14 01:55:26 +02:00
|
|
|
/if ?><?cs
|
|
|
|
if:page.trainingcourse ?> trainingcourse<?cs
|
|
|
|
/if ?>" itemscope itemtype="http://schema.org/Article"><?cs
|
|
|
|
include:"header.cs" ?>
|
2011-12-01 03:55:01 +01:00
|
|
|
|
2014-05-14 01:55:26 +02:00
|
|
|
<div <?cs
|
|
|
|
if:fullpage
|
|
|
|
?>class="fullpage"<?cs
|
|
|
|
elif:(design||tools||about||sdk||googleplay||essentials||users||monetize||disttools) && !nonavpage
|
|
|
|
?>class="col-13" id="doc-col"<?cs
|
|
|
|
elif:!nonavpage
|
|
|
|
?>class="col-12" id="doc-col"<?cs /if ?> >
|
2012-06-22 03:03:05 +02:00
|
|
|
|
2012-11-30 21:44:40 +01:00
|
|
|
<?cs if:(design||training||walkthru) && !page.trainingcourse && !page.article ?><?cs # header logic for docs that provide previous/next buttons ?>
|
2012-06-22 03:03:05 +02:00
|
|
|
<?cs if:header.hide ?>
|
|
|
|
<?cs else ?>
|
|
|
|
<div class="layout-content-row 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 else ?><h1 itemprop="name"><?cs var:page.title ?></h1>
|
|
|
|
<?cs /if ?>
|
|
|
|
</div>
|
|
|
|
<?cs if:training ?>
|
|
|
|
<div class="training-nav-top layout-content-col span-5" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
2012-10-03 02:12:23 +02:00
|
|
|
<a href="#" class="prev-page-link hide"
|
2013-05-04 22:13:21 +02:00
|
|
|
zh-tw-lang="上一堂課"
|
|
|
|
zh-cn-lang="上一课"
|
2012-10-03 02:12:23 +02:00
|
|
|
ru-lang="Предыдущий"
|
|
|
|
ko-lang="이전"
|
|
|
|
ja-lang="前へ"
|
2014-01-23 19:50:57 +01:00
|
|
|
es-lang="Anterior"
|
2012-10-03 02:12:23 +02:00
|
|
|
>Previous</a>
|
|
|
|
<a href="#" class="next-page-link hide"
|
2013-05-04 22:13:21 +02:00
|
|
|
zh-tw-lang="下一堂課"
|
|
|
|
zh-cn-lang="下一课"
|
2012-10-03 02:12:23 +02:00
|
|
|
ru-lang="Следующий"
|
|
|
|
ko-lang="다음"
|
|
|
|
ja-lang="次へ"
|
2014-01-23 19:50:57 +01:00
|
|
|
es-lang="Siguiente"
|
2012-10-03 02:12:23 +02:00
|
|
|
>Next</a>
|
|
|
|
<a href="#" class="start-class-link hide"
|
2013-05-04 22:13:21 +02:00
|
|
|
zh-tw-lang="開始上課"
|
|
|
|
zh-cn-lang="开始"
|
2012-10-03 02:12:23 +02:00
|
|
|
ru-lang="Начало работы"
|
|
|
|
ko-lang="시작하기"
|
|
|
|
ja-lang="開始する"
|
2014-01-23 19:50:57 +01:00
|
|
|
es-lang="Empezar"
|
2012-10-03 02:12:23 +02:00
|
|
|
>Get started</a>
|
2012-06-22 03:03:05 +02:00
|
|
|
</div>
|
2012-09-26 21:51:28 +02:00
|
|
|
<?cs elif:!page.trainingcourse ?>
|
2012-06-22 03:03:05 +02:00
|
|
|
<div class="paging-links layout-content-col span-4" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
2012-10-03 02:12:23 +02:00
|
|
|
<a href="#" class="prev-page-link hide"
|
2013-05-04 22:13:21 +02:00
|
|
|
zh-tw-lang="上一堂課"
|
|
|
|
zh-cn-lang="上一课"
|
2012-10-03 02:12:23 +02:00
|
|
|
ru-lang="Предыдущий"
|
|
|
|
ko-lang="이전"
|
|
|
|
ja-lang="前へ"
|
2014-01-23 19:50:57 +01:00
|
|
|
es-lang="Anterior"
|
2012-10-03 02:12:23 +02:00
|
|
|
>Previous</a>
|
|
|
|
<a href="#" class="next-page-link hide"
|
2013-05-04 22:13:21 +02:00
|
|
|
zh-tw-lang="下一堂課"
|
|
|
|
zh-cn-lang="下一课"
|
2012-10-03 02:12:23 +02:00
|
|
|
ru-lang="Следующий"
|
|
|
|
ko-lang="다음"
|
|
|
|
ja-lang="次へ"
|
2014-01-23 19:50:57 +01:00
|
|
|
es-lang="Siguiente"
|
2012-10-03 02:12:23 +02:00
|
|
|
>Next</a>
|
2012-06-22 03:03:05 +02:00
|
|
|
</div>
|
|
|
|
<?cs /if ?><?cs # end if training ?>
|
|
|
|
</div>
|
2014-06-14 01:05:28 +02:00
|
|
|
<?cs /if ?><?cs # end if header.hide ?>
|
2014-05-14 01:55:26 +02:00
|
|
|
|
2013-11-17 01:07:51 +01:00
|
|
|
<?cs elif:samplesProjectIndex ?>
|
|
|
|
<div id="api-info-block">
|
|
|
|
<div class="sum-details-links">
|
|
|
|
Overview
|
|
|
|
| <a href="<?cs var:toroot ?>samples/<?cs var:projectDir ?>/project.html">Project</a>
|
|
|
|
| <a href="<?cs var:toroot ?>downloads/samples/<?cs var:projectDir ?>.zip">Download</a>
|
|
|
|
</div><!-- end sum-details-links -->
|
|
|
|
</div><!-- end breadcurmb block -->
|
|
|
|
<h1 itemprop="name"><?cs var:projectDir ?></h1>
|
2014-05-14 01:55:26 +02:00
|
|
|
|
2012-06-22 03:03:05 +02:00
|
|
|
<?cs else ?>
|
2014-06-14 01:05:28 +02:00
|
|
|
<?cs if:training ?>
|
|
|
|
<?cs # horrible horrible hack to move TOC up when the next/prev links are not there ?>
|
|
|
|
<style>
|
|
|
|
#tb-wrapper {
|
|
|
|
margin-top:6px;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<?cs /if ?>
|
2014-05-14 01:55:26 +02:00
|
|
|
|
2012-06-22 03:03:05 +02:00
|
|
|
<?cs if:(!fullpage && !header.hide) ?>
|
|
|
|
<?cs if:page.landing ?><?cs # header logic for docs that are landing pages ?>
|
|
|
|
<div class="landing-banner">
|
2013-11-17 01:07:51 +01:00
|
|
|
<?cs if:page.landing.image ?><?cs # use two-column layout only if there is an image ?>
|
2012-06-22 03:03:05 +02:00
|
|
|
<div class="col-6">
|
|
|
|
<img src="<?cs var:toroot ?><?cs var:page.landing.image ?>" alt="" />
|
2011-12-01 03:55:01 +01:00
|
|
|
</div>
|
2012-06-22 03:03:05 +02:00
|
|
|
<div class="col-6">
|
2012-08-07 22:59:43 +02:00
|
|
|
<?cs /if ?>
|
2012-06-22 03:03:05 +02:00
|
|
|
<h1 itemprop="name" style="margin-bottom:0;"><?cs var:page.title ?></h1>
|
|
|
|
<p itemprop="description"><?cs var:page.landing.intro ?></p>
|
2014-01-23 19:50:57 +01:00
|
|
|
|
2012-07-27 03:00:14 +02:00
|
|
|
<p><a class="next-page-link topic-start-link"></a></p>
|
2012-08-07 22:59:43 +02:00
|
|
|
<?cs if:page.landing.image ?>
|
2011-12-01 03:55:01 +01:00
|
|
|
</div>
|
2012-08-07 22:59:43 +02:00
|
|
|
<?cs /if ?>
|
2011-12-01 03:55:01 +01:00
|
|
|
</div>
|
2012-06-22 03:03:05 +02:00
|
|
|
<?cs else ?>
|
2012-11-13 16:47:50 +01:00
|
|
|
<?cs if:tab1 ?><div id="title-tabs-wrapper"><?cs /if ?>
|
2012-11-13 16:40:16 +01:00
|
|
|
<h1 itemprop="name" <?cs if:tab1 ?>class="with-title-tabs"<?cs /if ?>><?cs var:page.title ?></h1><?cs
|
|
|
|
if:tab1 ?><ul id="title-tabs">
|
|
|
|
<li class="selected"><a href="<?cs var:tab1.link ?>"><?cs var:tab1 ?></a></li>
|
|
|
|
<?cs if:tab2 ?>
|
|
|
|
<li><a href="<?cs var:tab2.link ?>"><?cs var:tab2 ?></a></li><?cs /if ?>
|
|
|
|
<?cs if:tab3 ?>
|
|
|
|
<li><a href="<?cs var:tab3.link ?>"><?cs var:tab3 ?></a></li><?cs /if ?>
|
|
|
|
</ul>
|
2012-11-13 16:47:50 +01:00
|
|
|
<?cs /if ?>
|
|
|
|
<?cs if:tab1 ?></div><!-- end tab-wrapper --><?cs /if ?>
|
2012-06-22 03:03:05 +02:00
|
|
|
<?cs /if ?>
|
|
|
|
<?cs /if ?>
|
|
|
|
<?cs /if ?><?cs # end if design ?>
|
2011-12-01 03:55:01 +01:00
|
|
|
|
2012-06-22 03:03:05 +02:00
|
|
|
<?cs # THIS IS THE MAIN DOC CONTENT ?>
|
|
|
|
<div id="jd-content">
|
2011-12-01 03:55:01 +01:00
|
|
|
|
|
|
|
|
2012-01-30 22:03:08 +01:00
|
|
|
<div class="jd-descr" itemprop="articleBody">
|
2011-12-01 03:55:01 +01:00
|
|
|
<?cs call:tag_list(root.descr) ?>
|
|
|
|
</div>
|
2014-01-23 19:50:57 +01:00
|
|
|
|
|
|
|
<div class="content-footer <?cs
|
2012-06-22 03:03:05 +02:00
|
|
|
if:fullpage ?>wrap<?cs
|
2014-01-23 19:50:57 +01:00
|
|
|
else ?>layout-content-row<?cs /if ?>"
|
2012-06-22 03:03:05 +02:00
|
|
|
itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
|
|
<?cs if:!fullscreen ?>
|
2014-06-18 05:02:53 +02:00
|
|
|
<div class="paging-links layout-content-col col-10">
|
2013-09-06 01:29:00 +02:00
|
|
|
<?cs if:(design||training||walkthru) && !page.landing && !page.trainingcourse && !footer.hide ?>
|
2012-10-03 02:12:23 +02:00
|
|
|
<a href="#" class="next-page-link hide"
|
2013-05-04 22:13:21 +02:00
|
|
|
zh-tw-lang="下一堂課"
|
|
|
|
zh-cn-lang="下一课"
|
2012-10-03 02:12:23 +02:00
|
|
|
ru-lang="Следующий"
|
|
|
|
ko-lang="다음"
|
|
|
|
ja-lang="次へ"
|
2014-01-23 19:50:57 +01:00
|
|
|
es-lang="Siguiente"
|
2012-10-03 02:12:23 +02:00
|
|
|
>Next</a>
|
2014-01-23 19:50:57 +01:00
|
|
|
<a href="#" class="start-class-link hide"
|
|
|
|
zh-tw-lang="開始上課"
|
|
|
|
zh-cn-lang="开始"
|
|
|
|
ru-lang="Начало работы"
|
|
|
|
ko-lang="시작하기"
|
|
|
|
ja-lang="開始する"
|
|
|
|
es-lang="Empezar"
|
|
|
|
>Get started</a>
|
2014-06-23 19:22:23 +02:00
|
|
|
<a href="#" class="next-class-link hide">Next class</a>
|
2012-06-22 03:03:05 +02:00
|
|
|
<?cs /if ?>
|
|
|
|
</div>
|
2014-06-18 05:02:53 +02:00
|
|
|
<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>
|
2012-06-22 03:03:05 +02:00
|
|
|
<?cs /if ?>
|
2011-12-01 03:55:01 +01:00
|
|
|
</div>
|
2014-01-23 19:50:57 +01:00
|
|
|
|
2011-12-01 03:55:01 +01:00
|
|
|
</div> <!-- end jd-content -->
|
|
|
|
|
|
|
|
<?cs include:"footer.cs" ?>
|
|
|
|
</div><!-- end doc-content -->
|
|
|
|
|
2014-05-14 01:55:26 +02:00
|
|
|
<?cs include:"trailer.cs" ?>
|
|
|
|
<script src="https://developer.android.com/ytblogger_lists_unified.js" type="text/javascript"></script>
|
2014-11-19 04:34:34 +01:00
|
|
|
<script src="<?cs var:toroot ?>jd_lists_unified.js?v=7" type="text/javascript"></script>
|
|
|
|
<script src="<?cs var:toroot ?>jd_extras.js?v=8" type="text/javascript"></script>
|
|
|
|
<script src="<?cs var:toroot ?>jd_collections.js?v=8" type="text/javascript"></script>
|
2014-11-03 21:48:08 +01:00
|
|
|
<script src="<?cs var:toroot ?>jd_tag_helpers.js?v=5" type="text/javascript"></script>
|
2014-05-14 01:55:26 +02:00
|
|
|
|
2011-12-01 03:55:01 +01:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|