1<?cs include:"doctype.cs" ?>
2<?cs include:"macros.cs" ?>
3<html<?cs if:devsite ?> devsite<?cs /if ?>>
4<?cs include:"head_tag.cs" ?>
5<body class="gc-documentation develop <?cs
6    if:guide ?> guide<?cs /if ?><?cs
7    if:reference ?> reference<?cs /if ?><?cs
8    if:samples ?> samples<?cs /if ?><?cs
9    if:downloads ?> downloads<?cs /if ?>" itemscope itemtype="http://schema.org/Article"><?cs
10include:"header.cs" ?>
11
12<div <?cs
13  if:fullpage
14    ?>class="fullpage"<?cs
15  elif:(design||tools||about||sdk||googleplay||essentials||users||monetize||disttools) && !nonavpage
16    ?>class="col-13" id="doc-col"<?cs
17  elif:!nonavpage
18    ?>class="col-12" id="doc-col"<?cs /if ?> >
19
20<?cs if:(design||training||walkthru) && !page.trainingcourse && !page.article ?><?cs # header logic for docs that provide previous/next buttons ?>
21  <?cs if:header.hide ?>
22  <?cs else ?>
23  <div class="layout-content-row content-header <?cs if:header.justLinks ?>just-links<?cs /if ?>">
24    <div class="layout-content-col <?cs if:training ?>span-7<?cs else ?>span-9<?cs /if ?>">
25      <?cs if:header.justLinks ?>&nbsp;
26      <?cs else ?><h1 itemprop="name"><?cs var:page.title ?></h1>
27      <?cs /if ?>
28    </div>
29    <?cs if:training ?>
30      <div class="training-nav-top layout-content-col span-5" itemscope itemtype="http://schema.org/SiteNavigationElement">
31        <a href="#" class="prev-page-link hide"
32            zh-tw-lang="上一堂課"
33            zh-cn-lang="上一课"
34            ru-lang="Предыдущий"
35            ko-lang="이전"
36            ja-lang="前へ"
37            es-lang="Anterior"
38            >Previous</a>
39        <a href="#" class="next-page-link hide"
40            zh-tw-lang="下一堂課"
41            zh-cn-lang="下一课"
42            ru-lang="Следующий"
43            ko-lang="다음"
44            ja-lang="次へ"
45            es-lang="Siguiente"
46            >Next</a>
47        <a href="#" class="start-class-link hide"
48            zh-tw-lang="開始上課"
49            zh-cn-lang="开始"
50            ru-lang="Начало работы"
51            ko-lang="시작하기"
52            ja-lang="開始する"
53            es-lang="Empezar"
54            >Get started</a>
55      </div>
56    <?cs elif:!page.trainingcourse ?>
57      <div class="paging-links layout-content-col span-4" itemscope itemtype="http://schema.org/SiteNavigationElement">
58        <a href="#" class="prev-page-link hide"
59            zh-tw-lang="上一堂課"
60            zh-cn-lang="上一课"
61            ru-lang="Предыдущий"
62            ko-lang="이전"
63            ja-lang="前へ"
64            es-lang="Anterior"
65            >Previous</a>
66        <a href="#" class="next-page-link hide"
67            zh-tw-lang="下一堂課"
68            zh-cn-lang="下一课"
69            ru-lang="Следующий"
70            ko-lang="다음"
71            ja-lang="次へ"
72            es-lang="Siguiente"
73            >Next</a>
74      </div>
75    <?cs /if ?><?cs # end if training ?>
76  </div>
77  <?cs /if ?><?cs # end if header.hide ?>
78
79<?cs elif:samplesProjectIndex ?>
80  <div id="api-info-block">
81  <div class="sum-details-links">
82  Overview
83  &#124; <a href="<?cs var:toroot ?>samples/<?cs var:projectDir ?>/project.html">Project</a>
84  &#124; <a href="<?cs var:toroot ?>downloads/samples/<?cs var:projectDir ?>.zip">Download</a>
85  </div><!-- end sum-details-links -->
86  </div><!-- end breadcurmb block -->
87  <h1 itemprop="name"><?cs var:projectDir ?></h1>
88
89<?cs else ?>
90  <?cs if:training ?>
91<?cs # horrible horrible hack to move TOC up when the next/prev links are not there ?>
92<style>
93  #tb-wrapper {
94    margin-top:6px;
95  }
96</style>
97  <?cs /if ?>
98
99  <?cs if:(!fullpage && !header.hide) ?>
100    <?cs if:page.landing ?><?cs # header logic for docs that are landing pages ?>
101      <div class="landing-banner">
102        <?cs if:page.landing.image ?><?cs # use two-column layout only if there is an image ?>
103        <div class="col-6">
104          <img src="<?cs var:toroot ?><?cs var:page.landing.image ?>" alt="" />
105        </div>
106        <div class="col-6">
107        <?cs /if ?>
108          <h1 itemprop="name" style="margin-bottom:0;"><?cs var:page.title ?></h1>
109          <p itemprop="description"><?cs var:page.landing.intro ?></p>
110
111          <p><a class="next-page-link topic-start-link"></a></p>
112        <?cs if:page.landing.image ?>
113        </div>
114        <?cs /if ?>
115      </div>
116    <?cs else ?>
117      <?cs if:tab1 ?><div id="title-tabs-wrapper"><?cs /if ?>
118        <h1 itemprop="name" <?cs if:tab1 ?>class="with-title-tabs"<?cs /if ?>><?cs var:page.title ?></h1><?cs
119          if:tab1 ?><ul id="title-tabs">
120              <li class="selected"><a href="<?cs var:tab1.link ?>"><?cs var:tab1 ?></a></li>
121              <?cs if:tab2 ?>
122              <li><a href="<?cs var:tab2.link ?>"><?cs var:tab2 ?></a></li><?cs /if ?>
123              <?cs if:tab3 ?>
124              <li><a href="<?cs var:tab3.link ?>"><?cs var:tab3 ?></a></li><?cs /if ?>
125            </ul>
126          <?cs /if ?>
127      <?cs if:tab1 ?></div><!-- end tab-wrapper --><?cs /if ?>
128    <?cs /if ?>
129  <?cs /if ?>
130<?cs /if ?><?cs # end if design ?>
131
132  <?cs # THIS IS THE MAIN DOC CONTENT ?>
133  <div id="jd-content">
134
135
136    <div class="jd-descr" itemprop="articleBody">
137    <?cs call:tag_list(root.descr) ?>
138    </div>
139
140      <div class="content-footer <?cs
141                    if:fullpage ?>wrap<?cs
142                    else ?>layout-content-row<?cs /if ?>"
143                    itemscope itemtype="http://schema.org/SiteNavigationElement">
144        <?cs if:!fullscreen ?>
145        <div class="paging-links layout-content-col col-10">
146          <?cs if:(design||training||walkthru) && !page.landing && !page.trainingcourse && !footer.hide ?>
147            <a href="#" class="next-page-link hide"
148                zh-tw-lang="下一堂課"
149                zh-cn-lang="下一课"
150                ru-lang="Следующий"
151                ko-lang="다음"
152                ja-lang="次へ"
153                es-lang="Siguiente"
154                >Next</a>
155            <a href="#" class="start-class-link hide"
156                zh-tw-lang="開始上課"
157                zh-cn-lang="开始"
158                ru-lang="Начало работы"
159                ko-lang="시작하기"
160                ja-lang="開始する"
161                es-lang="Empezar"
162                >Get started</a>
163            <a href="#" class="next-class-link hide">Next class</a>
164          <?cs /if ?>
165        </div>
166        <div class="layout-content-col plus-container col-2" >
167          <?cs if:!page.noplus ?><?cs if:fullpage ?><style>#___plusone_0 {float:right !important;}</style><?cs /if ?>
168            <div class="g-plusone" data-size="medium"></div>
169          <?cs /if ?>
170        </div>
171        <?cs /if ?>
172      </div>
173
174  </div> <!-- end jd-content -->
175
176<?cs include:"footer.cs" ?>
177</div><!-- end doc-content -->
178
179<?cs include:"trailer.cs" ?>
180  <script src="https://developer.android.com/ytblogger_lists_unified.js" type="text/javascript"></script>
181  <script src="<?cs var:toroot ?>jd_lists_unified.js?v=8" type="text/javascript"></script>
182  <script src="<?cs var:toroot ?>jd_extras.js?v=10" type="text/javascript"></script>
183  <script src="<?cs var:toroot ?>jd_collections.js?v=10" type="text/javascript"></script>
184  <script src="<?cs var:toroot ?>jd_tag_helpers.js?v=5" type="text/javascript"></script>
185
186</body>
187</html>
188
189
190
191