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 | |
Scott Main | dc63dda | 2013-08-22 16:03:21 -0700 | [diff] [blame] | 13 | <h1 itemprop="name"><?cs var:page.title ?></h1> |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 14 | |
Scott Main | dc63dda | 2013-08-22 16:03:21 -0700 | [diff] [blame] | 15 | <?cs # THIS IS THE MAIN DOC CONTENT ?> |
| 16 | <div id="jd-content"> |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 17 | |
| 18 | <?cs if:android.whichdoc == "online" ?> |
| 19 | |
| 20 | <?cs # If this is the online docs, build the src code navigation links ?> |
| 21 | |
| 22 | |
| 23 | <?cs var:summary ?> |
| 24 | |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 25 | <!-- begin file contents --> |
Scott Main | 498d710 | 2013-08-21 15:47:38 -0700 | [diff] [blame] | 26 | <div id="codesample-wrapper"> |
| 27 | <pre id="codesample-line-numbers" class="no-pretty-print hidden"></pre> |
| 28 | <pre id="codesample-block"><?cs var:fileContents ?></pre> |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 29 | </div> |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 30 | <!-- end file contents --> |
Scott Main | 498d710 | 2013-08-21 15:47:38 -0700 | [diff] [blame] | 31 | <script type="text/javascript"> |
| 32 | initCodeLineNumbers(); |
| 33 | </script> |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | <?cs else ?><?cs |
| 39 | # else, this means it's offline docs, |
| 40 | so don't show src links (we dont have the pages!) ?> |
| 41 | |
| 42 | <p>You can find the source code for this sample in your SDK at:</p> |
| 43 | <p style="margin-left:2em"> |
| 44 | <code><em><sdk></em>/samples/android-<em><version></em>/</code> |
| 45 | </p> |
| 46 | |
| 47 | <?cs /if ?><?cs # end if/else online docs ?> |
| 48 | |
| 49 | </div> <!-- end jd-content --> |
| 50 | |
| 51 | <?cs include:"footer.cs" ?> |
| 52 | </div><!-- end doc-content --> |
| 53 | |
| 54 | <?cs include:"trailer.cs" ?> |
| 55 | |
| 56 | </body> |
| 57 | </html> |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |