2012-06-08 21:21:15 +02:00
|
|
|
<?cs
|
|
|
|
def:sdk_nav() ?>
|
2009-04-02 02:30:12 +02:00
|
|
|
<div class="g-section g-tpl-240" id="body-content">
|
2012-06-08 21:21:15 +02:00
|
|
|
<div class="g-unit g-first" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
2009-04-02 02:30:12 +02:00
|
|
|
<div id="devdoc-nav"><?cs
|
2016-10-12 09:10:33 +02:00
|
|
|
include:"../../../../../frameworks/base/docs/html/sdk/sdk_toc.cs" ?>
|
2009-04-02 02:30:12 +02:00
|
|
|
</div>
|
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
<?cs /def ?>
|
2012-06-08 21:21:15 +02:00
|
|
|
<?cs
|
|
|
|
def:resources_tab_nav() ?>
|
2009-08-12 07:24:15 +02:00
|
|
|
<div class="g-section g-tpl-240" id="body-content">
|
2012-06-08 21:21:15 +02:00
|
|
|
<div class="g-unit g-first" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
|
|
<div id="devdoc-nav"><?cs
|
2016-10-12 09:10:33 +02:00
|
|
|
include:"../../../../../frameworks/base/docs/html/resources/resources_toc.cs" ?>
|
2009-08-12 07:24:15 +02:00
|
|
|
</div>
|
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
<script>
|
|
|
|
addLoadEvent(function() {
|
|
|
|
scrollIntoView("devdoc-nav");
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
<?cs /def ?>
|
2012-06-08 21:21:15 +02:00
|
|
|
<?cs
|
|
|
|
def:guide_nav() ?>
|
2009-08-12 07:24:15 +02:00
|
|
|
<div class="g-section g-tpl-240" id="body-content">
|
2012-06-08 21:21:15 +02:00
|
|
|
<div class="g-unit g-first" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
|
|
<div id="devdoc-nav"><?cs
|
2016-10-12 09:10:33 +02:00
|
|
|
include:"../../../../../vendor/pdk/data/google/docs/guide/guide_toc.cs" ?>
|
2009-08-12 07:24:15 +02:00
|
|
|
</div>
|
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
<script>
|
|
|
|
addLoadEvent(function() {
|
|
|
|
scrollIntoView("devdoc-nav");
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
<?cs /def ?>
|
2012-06-08 21:21:15 +02:00
|
|
|
<?cs
|
|
|
|
def:design_nav() ?>
|
2016-10-12 09:10:33 +02:00
|
|
|
<?cs include:"../../../../../frameworks/base/docs/html/design/design_toc.cs" ?>
|
2009-10-09 08:54:35 +02:00
|
|
|
<?cs /def ?>
|
2012-06-08 21:21:15 +02:00
|
|
|
|
|
|
|
<?cs # The default side navigation for the reference docs ?><?cs
|
|
|
|
def:default_left_nav() ?>
|
2009-11-06 23:06:06 +01:00
|
|
|
<div class="g-section g-tpl-240" id="body-content">
|
2012-06-08 21:21:15 +02:00
|
|
|
<div class="g-unit g-first" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
|
|
<div id="swapper">
|
|
|
|
<div id="nav-panels">
|
|
|
|
<div id="resize-packages-nav">
|
|
|
|
<div id="packages-nav">
|
|
|
|
<div id="index-links"><nobr>
|
|
|
|
<a href="<?cs var:toroot ?>reference/packages.html" <?cs if:(page.title == "Package Index") ?>class="selected"<?cs /if ?> >Package Index</a> |
|
|
|
|
<a href="<?cs var:toroot ?>reference/classes.html" <?cs if:(page.title == "Class Index") ?>class="selected"<?cs /if ?>>Class Index</a></nobr>
|
|
|
|
</div>
|
|
|
|
<ul>
|
|
|
|
<?cs call:package_link_list(docs.packages) ?>
|
|
|
|
</ul><br/>
|
|
|
|
</div> <!-- end packages -->
|
|
|
|
</div> <!-- end resize-packages -->
|
|
|
|
<div id="classes-nav"><?cs
|
|
|
|
if:subcount(class.package) ?>
|
|
|
|
<ul>
|
|
|
|
<?cs call:list("Interfaces", class.package.interfaces) ?>
|
|
|
|
<?cs call:list("Classes", class.package.classes) ?>
|
|
|
|
<?cs call:list("Enums", class.package.enums) ?>
|
|
|
|
<?cs call:list("Exceptions", class.package.exceptions) ?>
|
|
|
|
<?cs call:list("Errors", class.package.errors) ?>
|
|
|
|
</ul><?cs
|
|
|
|
elif:subcount(package) ?>
|
|
|
|
<ul>
|
|
|
|
<?cs call:class_link_list("Interfaces", package.interfaces) ?>
|
|
|
|
<?cs call:class_link_list("Classes", package.classes) ?>
|
|
|
|
<?cs call:class_link_list("Enums", package.enums) ?>
|
|
|
|
<?cs call:class_link_list("Exceptions", package.exceptions) ?>
|
|
|
|
<?cs call:class_link_list("Errors", package.errors) ?>
|
|
|
|
</ul><?cs
|
|
|
|
else ?>
|
|
|
|
<script>
|
|
|
|
/*addLoadEvent(maxPackageHeight);*/
|
|
|
|
</script>
|
|
|
|
<p style="padding:10px">Select a package to view its members</p><?cs
|
|
|
|
/if ?><br/>
|
|
|
|
</div><!-- end classes -->
|
|
|
|
</div><!-- end nav-panels -->
|
|
|
|
<div id="nav-tree" style="display:none">
|
|
|
|
<div id="index-links"><nobr>
|
|
|
|
<a href="<?cs var:toroot ?>reference/packages.html" <?cs if:(page.title == "Package Index") ?>class="selected"<?cs /if ?> >Package Index</a> |
|
|
|
|
<a href="<?cs var:toroot ?>reference/classes.html" <?cs if:(page.title == "Class Index") ?>class="selected"<?cs /if ?>>Class Index</a></nobr>
|
|
|
|
</div>
|
|
|
|
</div><!-- end nav-tree -->
|
|
|
|
</div><!-- end swapper -->
|
2009-11-06 23:06:06 +01:00
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
<script>
|
2012-06-08 21:21:15 +02:00
|
|
|
if (!isMobile) {
|
|
|
|
$("<a href='#' id='nav-swap' onclick='swapNav();return false;' style='font-size:10px;line-height:9px;margin-left:1em;text-decoration:none;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a>").appendTo("#side-nav");
|
|
|
|
chooseDefaultNav();
|
|
|
|
if ($("#nav-tree").is(':visible')) {
|
|
|
|
init_default_navtree("<?cs var:toroot ?>");
|
|
|
|
} else {
|
|
|
|
addLoadEvent(function() {
|
|
|
|
scrollIntoView("packages-nav");
|
|
|
|
scrollIntoView("classes-nav");
|
|
|
|
});
|
|
|
|
}
|
|
|
|
$("#swapper").css({borderBottom:"2px solid #aaa"});
|
|
|
|
} else {
|
|
|
|
swapNav(); // tree view should be used on mobile
|
|
|
|
}
|
|
|
|
</script><?cs
|
|
|
|
/def ?>
|
2009-04-02 02:30:12 +02:00
|
|
|
|
2012-06-08 21:21:15 +02:00
|
|
|
<?cs
|
|
|
|
def:custom_left_nav() ?><?cs
|
|
|
|
if:guide ?><?cs
|
|
|
|
call:guide_nav() ?><?cs
|
|
|
|
elif:resources ?><?cs
|
|
|
|
call:resources_tab_nav() ?><?cs
|
|
|
|
elif:sdk ?><?cs
|
|
|
|
call:sdk_nav() ?><?cs
|
|
|
|
else ?><?cs
|
|
|
|
call:default_left_nav() ?><?cs
|
|
|
|
/if ?><?cs
|
|
|
|
/def ?>
|
|
|
|
|
|
|
|
<?cs # appears at the bottom of every page ?><?cs
|
|
|
|
def:custom_cc_copyright() ?>
|
|
|
|
Except as noted, this content is
|
|
|
|
licensed under <a href="http://creativecommons.org/licenses/by/2.5/">
|
|
|
|
Creative Commons Attribution 2.5</a>. For details and
|
|
|
|
restrictions, see the <a href="<?cs var:toroot ?>license.html">Content
|
|
|
|
License</a>.<?cs
|
|
|
|
/def ?>
|
|
|
|
|
|
|
|
<?cs
|
|
|
|
def:custom_copyright() ?>
|
|
|
|
Except as noted, this content is licensed under <a
|
|
|
|
href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>.
|
|
|
|
For details and restrictions, see the <a href="<?cs var:toroot ?>license.html">
|
|
|
|
Content License</a>.<?cs
|
|
|
|
/def ?>
|
2009-04-02 02:30:12 +02:00
|
|
|
|
|
|
|
<?cs
|
|
|
|
def:custom_footerlinks() ?>
|
|
|
|
<p>
|
2012-06-08 21:21:15 +02:00
|
|
|
<a href="http://www.google.com/intl/en/policies/" target="_blank">Privacy & Terms</a> -
|
|
|
|
<a href="http://www.android.com/branding.html" target="_blank">Brand Guidelines</a> -
|
|
|
|
<a
|
|
|
|
href="http://code.google.com/p/android/issues/entry?template=Developer%20Documentation"
|
|
|
|
target="_blank">Report Document Issues</a>
|
2009-04-02 02:30:12 +02:00
|
|
|
</p><?cs
|
|
|
|
/def ?>
|
|
|
|
|
2012-06-08 21:21:15 +02:00
|
|
|
<?cs # appears on the right side of the blue bar at the bottom off every page ?><?cs
|
|
|
|
def:custom_buildinfo() ?>
|
|
|
|
Android <?cs var:sdk.version ?> r<?cs var:sdk.rel.id ?> - <?cs var:page.now ?>
|
|
|
|
<?cs /def ?>
|