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"> |
| 15 | <div class="sum-details-links"> |
| 16 | |
| 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> |
| 21 | |
| 22 | </div><!-- end sum-details-links --> |
| 23 | <div class="api-level"> |
| 24 | Other info</a> |
| 25 | </div> |
| 26 | </div><!-- end breadcurmb block --> |
| 27 | |
Scott Main | dc63dda | 2013-08-22 16:03:21 -0700 | [diff] [blame] | 28 | <h1 itemprop="name"><?cs var:page.title ?></h1> |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 29 | |
Scott Main | dc63dda | 2013-08-22 16:03:21 -0700 | [diff] [blame] | 30 | <?cs # THIS IS THE MAIN DOC CONTENT ?> |
| 31 | <div id="jd-content"> |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 32 | |
| 33 | <?cs if:android.whichdoc == "online" ?> |
| 34 | |
| 35 | <?cs # If this is the online docs, build the src code navigation links ?> |
| 36 | |
| 37 | |
| 38 | <?cs var:summary ?> |
| 39 | |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 40 | <!-- begin file contents --> |
Scott Main | 498d710 | 2013-08-21 15:47:38 -0700 | [diff] [blame] | 41 | <div id="codesample-wrapper"> |
| 42 | <pre id="codesample-line-numbers" class="no-pretty-print hidden"></pre> |
| 43 | <pre id="codesample-block"><?cs var:fileContents ?></pre> |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 44 | </div> |
Dirk Dougherty | 981effc | 2013-08-22 21:26:54 -0700 | [diff] [blame^] | 45 | |
| 46 | <h3 id="file-location" style="clear:left">Source file location</h3> |
| 47 | <p>The file containing the source code shown below is located in the corresponding directory in |
| 48 | <code><sdk>/samples/android-<version>/...</code></p> |
| 49 | |
| 50 | |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 51 | <!-- end file contents --> |
Scott Main | 498d710 | 2013-08-21 15:47:38 -0700 | [diff] [blame] | 52 | <script type="text/javascript"> |
| 53 | initCodeLineNumbers(); |
| 54 | </script> |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | <?cs else ?><?cs |
| 60 | # else, this means it's offline docs, |
| 61 | so don't show src links (we dont have the pages!) ?> |
| 62 | |
| 63 | <p>You can find the source code for this sample in your SDK at:</p> |
| 64 | <p style="margin-left:2em"> |
| 65 | <code><em><sdk></em>/samples/android-<em><version></em>/</code> |
| 66 | </p> |
| 67 | |
| 68 | <?cs /if ?><?cs # end if/else online docs ?> |
| 69 | |
| 70 | </div> <!-- end jd-content --> |
| 71 | |
| 72 | <?cs include:"footer.cs" ?> |
| 73 | </div><!-- end doc-content --> |
| 74 | |
| 75 | <?cs include:"trailer.cs" ?> |
| 76 | |
| 77 | </body> |
| 78 | </html> |
| 79 | |
| 80 | |
| 81 | |
| 82 | |
| 83 | |
| 84 | |
| 85 | |