blob: ea36fa34760f5999bff72d449103ee4111cb59d3 [file] [log] [blame]
Dirk Dougherty4f7e5152010-09-16 10:43:40 -07001<?cs include:"doctype.cs" ?>
2<?cs include:"macros.cs" ?>
3<html<?cs if:devsite ?> devsite<?cs /if ?>>
4<?cs include:"head_tag.cs" ?>
Scott Maindc63dda2013-08-22 16:03:21 -07005<body class="gc-documentation develop samples" itemscope itemtype="http://schema.org/Article">
Dirk Dougherty4f7e5152010-09-16 10:43:40 -07006<?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 Dougherty981effc2013-08-22 21:26:54 -070013<!-- 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&#124; <a href="<?cs var:toroot ?>samples/<?cs var:projectDir ?>/project.html">Project</a>
20&#124; <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 Maindc63dda2013-08-22 16:03:21 -070028<h1 itemprop="name"><?cs var:page.title ?></h1>
Dirk Dougherty4f7e5152010-09-16 10:43:40 -070029
Scott Maindc63dda2013-08-22 16:03:21 -070030<?cs # THIS IS THE MAIN DOC CONTENT ?>
31<div id="jd-content">
Dirk Dougherty4f7e5152010-09-16 10:43:40 -070032
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 Dougherty4f7e5152010-09-16 10:43:40 -070040<!-- begin file contents -->
Scott Main498d7102013-08-21 15:47:38 -070041<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 Dougherty4f7e5152010-09-16 10:43:40 -070044</div>
Dirk Dougherty981effc2013-08-22 21:26:54 -070045
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>&lt;sdk&gt;/samples/android-&lt;version&gt;/...</code></p>
49
50
Dirk Dougherty4f7e5152010-09-16 10:43:40 -070051<!-- end file contents -->
Scott Main498d7102013-08-21 15:47:38 -070052<script type="text/javascript">
53 initCodeLineNumbers();
54</script>
Dirk Dougherty4f7e5152010-09-16 10:43:40 -070055
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>&lt;sdk&gt;</em>/samples/android-<em>&lt;version&gt;</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