Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 1 | <?cs include:"doctype.cs" ?> |
| 2 | <?cs include:"macros.cs" ?> |
| 3 | <html<?cs if:devsite ?> devsite<?cs /if ?>> |
| 4 | <?cs include:"head_tag.cs" ?> |
Scott Main | dc63dda | 2013-08-22 16:03:21 -0700 | [diff] [blame] | 5 | <body class="gc-documentation develop samples" itemscope itemtype="http://schema.org/Article"> |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 6 | <?cs include:"header.cs" ?> |
| 7 | |
| 8 | <div <?cs if:fullpage |
| 9 | ?>class="fullpage"<?cs elif:design||tools||about||sdk||distribute |
| 10 | ?>class="col-13" id="doc-col"<?cs else |
| 11 | ?>class="col-12" id="doc-col"<?cs /if ?> > |
| 12 | |
Dirk Dougherty | 981effc | 2013-08-22 21:26:54 -0700 | [diff] [blame] | 13 | <!-- start breadcrumb block --> |
| 14 | <div id="api-info-block"> |
Dirk Dougherty | 6fb7e23 | 2013-08-30 19:06:57 -0700 | [diff] [blame] | 15 | <div class="sum-details-links"> |
Dirk Dougherty | 981effc | 2013-08-22 21:26:54 -0700 | [diff] [blame] | 16 | |
Dirk Dougherty | 6fb7e23 | 2013-08-30 19:06:57 -0700 | [diff] [blame] | 17 | <!-- related links --> |
| 18 | <a href="<?cs var:toroot ?>samples/<?cs var:projectDir ?>/index.html">Overview</a> |
| 19 | | <a href="<?cs var:toroot ?>samples/<?cs var:projectDir ?>/project.html">Project</a> |
| 20 | | <a href="<?cs var:toroot ?>downloads/samples/<?cs var:projectDir ?>.zip">Download</a> |
Dirk Dougherty | 981effc | 2013-08-22 21:26:54 -0700 | [diff] [blame] | 21 | |
Dirk Dougherty | 4bddbb1 | 2013-10-29 14:33:15 -0700 | [diff] [blame^] | 22 | </div><!-- end sum-details-links --> |
| 23 | |
| 24 | </div><!-- end breadcurmb block --> |
Dirk Dougherty | 6fb7e23 | 2013-08-30 19:06:57 -0700 | [diff] [blame] | 25 | |
| 26 | <div id="jd-header" style="border:0;"> |
Dirk Dougherty | f2bd4eb | 2013-09-04 17:54:49 -0700 | [diff] [blame] | 27 | |
| 28 | <div id="pathCrumb"> |
| 29 | <?cs each:item = parentdirs ?> |
| 30 | <?cs if:pathCrumbLinks |
| 31 | ?><a href="<?cs var:toroot ?><?cs var:item.Link ?>"><?cs var:item.Name ?></a> / |
| 32 | <?cs else |
| 33 | ?><?cs var:item.Name ?> / <?cs /if ?> |
| 34 | <?cs /each ?> |
| 35 | </div> |
| 36 | |
Dirk Dougherty | 6fb7e23 | 2013-08-30 19:06:57 -0700 | [diff] [blame] | 37 | <h1 itemprop="name"><?cs var:page.title ?></h1> |
Dirk Dougherty | 981effc | 2013-08-22 21:26:54 -0700 | [diff] [blame] | 38 | </div> |
Dirk Dougherty | 6fb7e23 | 2013-08-30 19:06:57 -0700 | [diff] [blame] | 39 | <!-- end breadcrumb block --> |
Dirk Dougherty | 981effc | 2013-08-22 21:26:54 -0700 | [diff] [blame] | 40 | |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 41 | |
Scott Main | dc63dda | 2013-08-22 16:03:21 -0700 | [diff] [blame] | 42 | <?cs # THIS IS THE MAIN DOC CONTENT ?> |
| 43 | <div id="jd-content"> |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 44 | |
| 45 | <?cs if:android.whichdoc == "online" ?> |
| 46 | |
| 47 | <?cs # If this is the online docs, build the src code navigation links ?> |
| 48 | |
| 49 | |
| 50 | <?cs var:summary ?> |
| 51 | |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 52 | <!-- begin file contents --> |
Scott Main | 498d710 | 2013-08-21 15:47:38 -0700 | [diff] [blame] | 53 | <div id="codesample-wrapper"> |
| 54 | <pre id="codesample-line-numbers" class="no-pretty-print hidden"></pre> |
| 55 | <pre id="codesample-block"><?cs var:fileContents ?></pre> |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 56 | </div> |
Dirk Dougherty | 981effc | 2013-08-22 21:26:54 -0700 | [diff] [blame] | 57 | |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 58 | <!-- end file contents --> |
Scott Main | 498d710 | 2013-08-21 15:47:38 -0700 | [diff] [blame] | 59 | <script type="text/javascript"> |
| 60 | initCodeLineNumbers(); |
| 61 | </script> |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | <?cs else ?><?cs |
| 67 | # else, this means it's offline docs, |
| 68 | so don't show src links (we dont have the pages!) ?> |
| 69 | |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 70 | <?cs /if ?><?cs # end if/else online docs ?> |
| 71 | |
| 72 | </div> <!-- end jd-content --> |
| 73 | |
| 74 | <?cs include:"footer.cs" ?> |
| 75 | </div><!-- end doc-content --> |
| 76 | |
| 77 | <?cs include:"trailer.cs" ?> |
| 78 | |
| 79 | </body> |
| 80 | </html> |
| 81 | |
| 82 | |
| 83 | |
| 84 | |
| 85 | |
| 86 | |
| 87 | |