7c22c9a45c
Change-Id: Id9f490f69231c9ab0e846d0e983969a14c67a497
190 lines
7.2 KiB
C#
190 lines
7.2 KiB
C#
<?cs include:"doctype.cs" ?>
|
|
<?cs include:"macros.cs" ?>
|
|
<html<?cs if:devsite ?> devsite<?cs /if ?>>
|
|
<?cs include:"head_tag.cs" ?>
|
|
<body class="gc-documentation develop <?cs
|
|
if:guide ?> guide<?cs /if ?><?cs
|
|
if:reference ?> reference<?cs /if ?><?cs
|
|
if:samples ?> samples<?cs /if ?><?cs
|
|
if:downloads ?> downloads<?cs /if ?>" itemscope itemtype="http://schema.org/Article"><?cs
|
|
include:"header.cs" ?>
|
|
|
|
<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 ?> >
|
|
|
|
<?cs if:(design||training||walkthru) && !page.trainingcourse && !page.article ?><?cs # header logic for docs that provide previous/next buttons ?>
|
|
<?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">
|
|
<a href="#" class="prev-page-link hide"
|
|
zh-tw-lang="上一堂課"
|
|
zh-cn-lang="上一课"
|
|
ru-lang="Предыдущий"
|
|
ko-lang="이전"
|
|
ja-lang="前へ"
|
|
es-lang="Anterior"
|
|
>Previous</a>
|
|
<a href="#" class="next-page-link hide"
|
|
zh-tw-lang="下一堂課"
|
|
zh-cn-lang="下一课"
|
|
ru-lang="Следующий"
|
|
ko-lang="다음"
|
|
ja-lang="次へ"
|
|
es-lang="Siguiente"
|
|
>Next</a>
|
|
<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>
|
|
</div>
|
|
<?cs elif:!page.trainingcourse ?>
|
|
<div class="paging-links layout-content-col span-4" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<a href="#" class="prev-page-link hide"
|
|
zh-tw-lang="上一堂課"
|
|
zh-cn-lang="上一课"
|
|
ru-lang="Предыдущий"
|
|
ko-lang="이전"
|
|
ja-lang="前へ"
|
|
es-lang="Anterior"
|
|
>Previous</a>
|
|
<a href="#" class="next-page-link hide"
|
|
zh-tw-lang="下一堂課"
|
|
zh-cn-lang="下一课"
|
|
ru-lang="Следующий"
|
|
ko-lang="다음"
|
|
ja-lang="次へ"
|
|
es-lang="Siguiente"
|
|
>Next</a>
|
|
</div>
|
|
<?cs /if ?><?cs # end if training ?>
|
|
</div>
|
|
<?cs /if ?><?cs # end if header.hide ?>
|
|
|
|
<?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>
|
|
|
|
<?cs else ?>
|
|
<?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 ?>
|
|
|
|
<?cs if:(!fullpage && !header.hide) ?>
|
|
<?cs if:page.landing ?><?cs # header logic for docs that are landing pages ?>
|
|
<div class="landing-banner">
|
|
<?cs if:page.landing.image ?><?cs # use two-column layout only if there is an image ?>
|
|
<div class="col-6">
|
|
<img src="<?cs var:toroot ?><?cs var:page.landing.image ?>" alt="" />
|
|
</div>
|
|
<div class="col-6">
|
|
<?cs /if ?>
|
|
<h1 itemprop="name" style="margin-bottom:0;"><?cs var:page.title ?></h1>
|
|
<p itemprop="description"><?cs var:page.landing.intro ?></p>
|
|
|
|
<p><a class="next-page-link topic-start-link"></a></p>
|
|
<?cs if:page.landing.image ?>
|
|
</div>
|
|
<?cs /if ?>
|
|
</div>
|
|
<?cs else ?>
|
|
<?cs if:tab1 ?><div id="title-tabs-wrapper"><?cs /if ?>
|
|
<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>
|
|
<?cs /if ?>
|
|
<?cs if:tab1 ?></div><!-- end tab-wrapper --><?cs /if ?>
|
|
<?cs /if ?>
|
|
<?cs /if ?>
|
|
<?cs /if ?><?cs # end if design ?>
|
|
|
|
<?cs # THIS IS THE MAIN DOC CONTENT ?>
|
|
<div id="jd-content">
|
|
|
|
|
|
<div class="jd-descr" itemprop="articleBody">
|
|
<?cs call:tag_list(root.descr) ?>
|
|
</div>
|
|
|
|
<div class="content-footer <?cs
|
|
if:fullpage ?>wrap<?cs
|
|
else ?>layout-content-row<?cs /if ?>"
|
|
itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<?cs if:!fullscreen ?>
|
|
<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"
|
|
zh-tw-lang="下一堂課"
|
|
zh-cn-lang="下一课"
|
|
ru-lang="Следующий"
|
|
ko-lang="다음"
|
|
ja-lang="次へ"
|
|
es-lang="Siguiente"
|
|
>Next</a>
|
|
<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>
|
|
<a href="#" class="next-class-link hide">Next class</a>
|
|
<?cs /if ?>
|
|
</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> <!-- end jd-content -->
|
|
|
|
<?cs include:"footer.cs" ?>
|
|
</div><!-- end doc-content -->
|
|
|
|
<?cs include:"trailer.cs" ?>
|
|
<script src="https://developer.android.com/ytblogger_lists_unified.js" 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=10" 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>
|
|
|
|
</body>
|
|
</html>
|
|
|
|
|
|
|