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