blob: cd0659e62f41545371f71d24048ca36f0f145139 [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
Scott Maindc63dda2013-08-22 16:03:21 -070013<h1 itemprop="name"><?cs var:page.title ?></h1>
Dirk Dougherty4f7e5152010-09-16 10:43:40 -070014
Scott Maindc63dda2013-08-22 16:03:21 -070015<?cs # THIS IS THE MAIN DOC CONTENT ?>
16<div id="jd-content">
Dirk Dougherty4f7e5152010-09-16 10:43:40 -070017
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 Dougherty4f7e5152010-09-16 10:43:40 -070025<!-- begin file contents -->
Scott Main498d7102013-08-21 15:47:38 -070026<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 Dougherty4f7e5152010-09-16 10:43:40 -070029</div>
Dirk Dougherty4f7e5152010-09-16 10:43:40 -070030<!-- end file contents -->
Scott Main498d7102013-08-21 15:47:38 -070031<script type="text/javascript">
32 initCodeLineNumbers();
33</script>
Dirk Dougherty4f7e5152010-09-16 10:43:40 -070034
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>&lt;sdk&gt;</em>/samples/android-<em>&lt;version&gt;</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