sample.cs revision 981effcc96fd7ea0b6b03546701e56dff52500d0
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 samples" itemscope itemtype="http://schema.org/Article"> 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 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 28<h1 itemprop="name"><?cs var:page.title ?></h1> 29 30<?cs # THIS IS THE MAIN DOC CONTENT ?> 31<div id="jd-content"> 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 40<!-- begin file contents --> 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> 44</div> 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 51<!-- end file contents --> 52<script type="text/javascript"> 53 initCodeLineNumbers(); 54</script> 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 86