blob: e0a79e99566cd88d30ad8a5da60b5655ef36df9b [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">
Dirk Dougherty6fb7e232013-08-30 19:06:57 -070015 <div class="sum-details-links">
Dirk Dougherty981effc2013-08-22 21:26:54 -070016
Dirk Dougherty6fb7e232013-08-30 19:06:57 -070017 <!-- 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>
Dirk Dougherty981effc2013-08-22 21:26:54 -070021
Dirk Dougherty6fb7e232013-08-30 19:06:57 -070022 </div><!-- end sum-details-links -->
23 <div class="api-level">
24 Other info
25 </div>
26</div> <!-- end api-info-block -->
27
28<div id="jd-header" style="border:0;">
29 <?cs var:relative ?>
30 <h1 itemprop="name"><?cs var:page.title ?></h1>
Dirk Dougherty981effc2013-08-22 21:26:54 -070031</div>
Dirk Dougherty6fb7e232013-08-30 19:06:57 -070032<!-- end breadcrumb block -->
Dirk Dougherty981effc2013-08-22 21:26:54 -070033
Dirk Dougherty4f7e5152010-09-16 10:43:40 -070034
Scott Maindc63dda2013-08-22 16:03:21 -070035<?cs # THIS IS THE MAIN DOC CONTENT ?>
36<div id="jd-content">
Dirk Dougherty4f7e5152010-09-16 10:43:40 -070037
38<?cs if:android.whichdoc == "online" ?>
39
40<?cs # If this is the online docs, build the src code navigation links ?>
41
42
43<?cs var:summary ?>
44
Dirk Dougherty4f7e5152010-09-16 10:43:40 -070045<!-- begin file contents -->
Scott Main498d7102013-08-21 15:47:38 -070046<div id="codesample-wrapper">
47<pre id="codesample-line-numbers" class="no-pretty-print hidden"></pre>
48<pre id="codesample-block"><?cs var:fileContents ?></pre>
Dirk Dougherty4f7e5152010-09-16 10:43:40 -070049</div>
Dirk Dougherty981effc2013-08-22 21:26:54 -070050
51<h3 id="file-location" style="clear:left">Source file location</h3>
52<p>The file containing the source code shown below is located in the corresponding directory in
53<code>&lt;sdk&gt;/samples/android-&lt;version&gt;/...</code></p>
54
55
Dirk Dougherty4f7e5152010-09-16 10:43:40 -070056<!-- end file contents -->
Scott Main498d7102013-08-21 15:47:38 -070057<script type="text/javascript">
58 initCodeLineNumbers();
59</script>
Dirk Dougherty4f7e5152010-09-16 10:43:40 -070060
61
62
63
64<?cs else ?><?cs
65 # else, this means it's offline docs,
66 so don't show src links (we dont have the pages!) ?>
67
68<p>You can find the source code for this sample in your SDK at:</p>
69<p style="margin-left:2em">
70<code><em>&lt;sdk&gt;</em>/samples/android-<em>&lt;version&gt;</em>/</code>
71</p>
72
73<?cs /if ?><?cs # end if/else online docs ?>
74
75 </div> <!-- end jd-content -->
76
77<?cs include:"footer.cs" ?>
78</div><!-- end doc-content -->
79
80<?cs include:"trailer.cs" ?>
81
82</body>
83</html>
84
85
86
87
88
89
90