4ff8891dd2
This reverts commit bf234fdfba
.
620 lines
21 KiB
C#
620 lines
21 KiB
C#
<?cs
|
|
def:mobile_nav_toggle() ?>
|
|
<div class="dac-visible-mobile-block" data-toggle="section">
|
|
<span class="dac-toggle-expand dac-devdoc-toggle"><i class="dac-sprite dac-expand-more-black"></i> Show navigation</span>
|
|
<span class="dac-toggle-collapse dac-devdoc-toggle" data-toggle-section><i class="dac-sprite dac-expand-less-black"></i> Hide navigation</span>
|
|
</div>
|
|
<?cs /def ?><?cs
|
|
|
|
def:fullpage() ?>
|
|
<div id="body-content">
|
|
<div>
|
|
<?cs /def ?>
|
|
<?cs
|
|
def:sdk_nav() ?>
|
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
|
<div class="col-4 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<?cs call:mobile_nav_toggle() ?>
|
|
<div class="dac-toggle-content" id="devdoc-nav">
|
|
<div class="scroll-pane">
|
|
<?cs include:"../../../../frameworks/base/docs/html/sdk/sdk_toc.cs" ?>
|
|
</div>
|
|
</div>
|
|
</div> <!-- end side-nav -->
|
|
<?cs /def ?><?cs
|
|
|
|
def:no_nav() ?>
|
|
<div class="wrap clearfix" id="body-content">
|
|
<div>
|
|
<?cs /def ?><?cs
|
|
|
|
def:tools_nav() ?>
|
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
|
<div class="col-3 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<?cs call:mobile_nav_toggle() ?>
|
|
<div class="dac-toggle-content" id="devdoc-nav">
|
|
<div class="scroll-pane">
|
|
<?cs include:"../../../../frameworks/base/docs/html/tools/tools_toc.cs" ?>
|
|
</div>
|
|
</div>
|
|
</div> <!-- end side-nav -->
|
|
<script>
|
|
$(document).ready(function() {
|
|
scrollIntoView("devdoc-nav");
|
|
});
|
|
</script>
|
|
<?cs /def ?>
|
|
<?cs
|
|
def:training_nav() ?>
|
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
|
<div class="col-4 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<?cs call:mobile_nav_toggle() ?>
|
|
<div class="dac-toggle-content" id="devdoc-nav">
|
|
<div class="scroll-pane">
|
|
<?cs include:"../../../../frameworks/base/docs/html/training/training_toc.cs" ?>
|
|
</div>
|
|
</div>
|
|
</div> <!-- end side-nav -->
|
|
<script>
|
|
$(document).ready(function() {
|
|
scrollIntoView("devdoc-nav");
|
|
});
|
|
</script>
|
|
<?cs /def ?><?cs
|
|
|
|
def:googleplay_nav() ?>
|
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
|
<div class="col-3 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<?cs call:mobile_nav_toggle() ?>
|
|
<div class="dac-toggle-content" id="devdoc-nav">
|
|
<div class="scroll-pane">
|
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/googleplay/googleplay_toc.cs" ?>
|
|
</div>
|
|
</div>
|
|
</div> <!-- end side-nav -->
|
|
<script>
|
|
$(document).ready(function() {
|
|
scrollIntoView("devdoc-nav");
|
|
});
|
|
</script>
|
|
<?cs /def ?><?cs
|
|
|
|
def:preview_nav() ?>
|
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
|
<div class="col-4 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<?cs call:mobile_nav_toggle() ?>
|
|
<div class="dac-toggle-content" id="devdoc-nav">
|
|
<div class="scroll-pane">
|
|
<?cs include:"../../../../frameworks/base/docs/html/preview/preview_toc.cs" ?>
|
|
</div>
|
|
</div>
|
|
</div> <!-- end side-nav -->
|
|
<script>
|
|
$(document).ready(function() {
|
|
scrollIntoView("devdoc-nav");
|
|
});
|
|
</script>
|
|
<?cs /def ?><?cs
|
|
|
|
def:essentials_nav() ?>
|
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
|
<div class="col-3 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<?cs call:mobile_nav_toggle() ?>
|
|
<div class="dac-toggle-content" id="devdoc-nav">
|
|
<div class="scroll-pane">
|
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/essentials/essentials_toc.cs" ?>
|
|
</div>
|
|
</div>
|
|
</div> <!-- end side-nav -->
|
|
<script>
|
|
$(document).ready(function() {
|
|
scrollIntoView("devdoc-nav");
|
|
});
|
|
</script>
|
|
<?cs /def ?><?cs
|
|
|
|
def:users_nav() ?>
|
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
|
<div class="col-3 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<?cs call:mobile_nav_toggle() ?>
|
|
<div class="dac-toggle-content" id="devdoc-nav">
|
|
<div class="scroll-pane">
|
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/users/users_toc.cs" ?>
|
|
</div>
|
|
</div>
|
|
</div> <!-- end side-nav -->
|
|
<script>
|
|
$(document).ready(function() {
|
|
scrollIntoView("devdoc-nav");
|
|
});
|
|
</script>
|
|
<?cs /def ?><?cs
|
|
|
|
def:engage_nav() ?>
|
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
|
<div class="col-3 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<?cs call:mobile_nav_toggle() ?>
|
|
<div class="dac-toggle-content" id="devdoc-nav">
|
|
<div class="scroll-pane">
|
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/engage/engage_toc.cs" ?>
|
|
</div>
|
|
</div>
|
|
</div> <!-- end side-nav -->
|
|
<script>
|
|
$(document).ready(function() {
|
|
scrollIntoView("devdoc-nav");
|
|
});
|
|
</script>
|
|
<?cs /def ?><?cs
|
|
|
|
def:analyze_nav() ?>
|
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
|
<div class="col-3 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<?cs call:mobile_nav_toggle() ?>
|
|
<div class="dac-toggle-content" id="devdoc-nav">
|
|
<div class="scroll-pane">
|
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/analyze/analyze_toc.cs" ?>
|
|
</div>
|
|
</div>
|
|
</div> <!-- end side-nav -->
|
|
<script>
|
|
$(document).ready(function() {
|
|
scrollIntoView("devdoc-nav");
|
|
});
|
|
</script>
|
|
<?cs /def ?><?cs
|
|
|
|
def:monetize_nav() ?>
|
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
|
<div class="col-3 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<?cs call:mobile_nav_toggle() ?>
|
|
<div class="dac-toggle-content" id="devdoc-nav">
|
|
<div class="scroll-pane">
|
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/monetize/monetize_toc.cs" ?>
|
|
</div>
|
|
</div>
|
|
</div> <!-- end side-nav -->
|
|
<script>
|
|
$(document).ready(function() {
|
|
scrollIntoView("devdoc-nav");
|
|
});
|
|
</script>
|
|
<?cs /def ?><?cs
|
|
|
|
def:disttools_nav() ?>
|
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
|
<div class="col-3 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<?cs call:mobile_nav_toggle() ?>
|
|
<div class="dac-toggle-content" id="devdoc-nav">
|
|
<div class="scroll-pane">
|
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/tools/disttools_toc.cs" ?>
|
|
</div>
|
|
</div>
|
|
</div> <!-- end side-nav -->
|
|
<script>
|
|
$(document).ready(function() {
|
|
scrollIntoView("devdoc-nav");
|
|
});
|
|
</script>
|
|
<?cs /def ?><?cs
|
|
|
|
def:stories_nav() ?>
|
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
|
<div class="col-3 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<?cs call:mobile_nav_toggle() ?>
|
|
<div class="dac-toggle-content" id="devdoc-nav">
|
|
<div class="scroll-pane">
|
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/stories/stories_toc.cs" ?>
|
|
</div>
|
|
</div>
|
|
</div> <!-- end side-nav -->
|
|
<script>
|
|
$(document).ready(function() {
|
|
scrollIntoView("devdoc-nav");
|
|
});
|
|
</script>
|
|
<?cs /def ?><?cs
|
|
|
|
def:guide_nav() ?>
|
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
|
<div class="col-4 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<?cs call:mobile_nav_toggle() ?>
|
|
<div class="dac-toggle-content" id="devdoc-nav">
|
|
<div class="scroll-pane">
|
|
<?cs include:"../../../../frameworks/base/docs/html/guide/guide_toc.cs" ?>
|
|
</div>
|
|
</div>
|
|
</div> <!-- end side-nav -->
|
|
<script>
|
|
$(document).ready(function() {
|
|
scrollIntoView("devdoc-nav");
|
|
});
|
|
</script>
|
|
<?cs /def ?>
|
|
<?cs
|
|
def:design_nav() ?>
|
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
|
<div class="col-3 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<?cs call:mobile_nav_toggle() ?>
|
|
<div class="dac-toggle-content" id="devdoc-nav">
|
|
<div class="scroll-pane">
|
|
<?cs include:"../../../../frameworks/base/docs/html/design/design_toc.cs" ?>
|
|
</div>
|
|
</div>
|
|
</div> <!-- end side-nav -->
|
|
<script>
|
|
$(document).ready(function() {
|
|
scrollIntoView("devdoc-nav");
|
|
});
|
|
</script>
|
|
<?cs /def ?>
|
|
<?cs
|
|
def:distribute_nav() ?>
|
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
|
<div class="col-3 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<?cs call:mobile_nav_toggle() ?>
|
|
<div class="dac-toggle-content" id="devdoc-nav">
|
|
<div class="scroll-pane">
|
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/distribute_toc.cs" ?>
|
|
</div>
|
|
</div>
|
|
</div> <!-- end side-nav -->
|
|
<script>
|
|
$(document).ready(function() {
|
|
scrollIntoView("devdoc-nav");
|
|
});
|
|
</script>
|
|
<?cs /def ?>
|
|
|
|
<?cs
|
|
def:samples_nav() ?>
|
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
|
<div class="col-4 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<?cs call:mobile_nav_toggle() ?>
|
|
<div class="dac-toggle-content" id="devdoc-nav">
|
|
<div class="scroll-pane">
|
|
<?cs include:"../../../../frameworks/base/docs/html/samples/samples_toc.cs" ?>
|
|
</div>
|
|
</div>
|
|
|
|
</div> <!-- end side-nav -->
|
|
<script>
|
|
$(document).ready(function() {
|
|
scrollIntoView("devdoc-nav");
|
|
});
|
|
</script>
|
|
<?cs /def ?>
|
|
|
|
<?cs
|
|
def:google_nav() ?>
|
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
|
<div class="col-4 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<?cs call:mobile_nav_toggle() ?>
|
|
<div class="dac-toggle-content" id="devdoc-nav">
|
|
<div class="scroll-pane">
|
|
<?cs include:"../../../../frameworks/base/docs/html/google/google_toc.cs" ?>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
showGoogleRefTree();
|
|
|
|
</script>
|
|
</div> <!-- end side-nav -->
|
|
<script>
|
|
$(document).ready(function() {
|
|
scrollIntoView("devdoc-nav");
|
|
});
|
|
</script>
|
|
<?cs /def ?>
|
|
|
|
<?cs
|
|
def:about_nav() ?>
|
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
|
<div class="col-3 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<?cs call:mobile_nav_toggle() ?>
|
|
<div class="dac-toggle-content" id="devdoc-nav">
|
|
<div class="scroll-pane">
|
|
<?cs include:"../../../../frameworks/base/docs/html/about/about_toc.cs" ?>
|
|
</div>
|
|
</div>
|
|
</div> <!-- end side-nav -->
|
|
<script>
|
|
$(document).ready(function() {
|
|
scrollIntoView("devdoc-nav");
|
|
});
|
|
</script>
|
|
<?cs /def ?>
|
|
|
|
|
|
<?cs
|
|
def:wear_nav() ?>
|
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
|
<div class="col-4 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<?cs call:mobile_nav_toggle() ?>
|
|
<div class="dac-toggle-content" id="devdoc-nav">
|
|
<div class="scroll-pane">
|
|
<?cs include:"../../../../frameworks/base/docs/html/wear/wear_toc.cs" ?>
|
|
</div>
|
|
</div>
|
|
</div> <!-- end side-nav -->
|
|
<script>
|
|
$(document).ready(function() {
|
|
scrollIntoView("devdoc-nav");
|
|
});
|
|
</script>
|
|
<?cs /def ?>
|
|
|
|
|
|
<?cs # The default side navigation for the reference docs ?><?cs
|
|
def:default_left_nav() ?>
|
|
<?cs if:reference.gcm || reference.gms ?>
|
|
<?cs call:google_nav() ?>
|
|
<?cs else ?>
|
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
|
<div class="col-4 dac-hidden-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<div id="devdoc-nav">
|
|
<div id="api-nav-header">
|
|
<div id="api-level-toggle">
|
|
<label for="apiLevelCheckbox" class="disabled"
|
|
title="Select your target API level to dim unavailable APIs">API level: </label>
|
|
<div class="select-wrapper">
|
|
<select id="apiLevelSelector">
|
|
<!-- option elements added by buildApiLevelSelector() -->
|
|
</select>
|
|
</div>
|
|
</div><!-- end toggle -->
|
|
<div id="api-nav-title">Android APIs</div>
|
|
</div><!-- end nav header -->
|
|
<script>
|
|
var SINCE_DATA = [ <?cs
|
|
each:since = since ?>'<?cs
|
|
var:since.name ?>'<?cs
|
|
if:!last(since) ?>, <?cs /if ?><?cs
|
|
/each
|
|
?> ];
|
|
buildApiLevelSelector();
|
|
</script>
|
|
|
|
<div id="swapper">
|
|
<div id="nav-panels">
|
|
<div id="resize-packages-nav">
|
|
<div id="packages-nav" class="scroll-pane">
|
|
|
|
<ul>
|
|
<?cs call:package_link_list(docs.packages) ?>
|
|
</ul><br/>
|
|
|
|
</div> <!-- end packages-nav -->
|
|
</div> <!-- end resize-packages -->
|
|
<div id="classes-nav" class="scroll-pane">
|
|
|
|
|
|
<?cs
|
|
if:subcount(class.package) ?>
|
|
<ul>
|
|
<?cs call:list("Annotations", class.package.annotations) ?>
|
|
<?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("Annotations", package.annotations) ?>
|
|
<?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 ?>
|
|
<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" class="scroll-pane">
|
|
<div id="tree-list"></div>
|
|
</div><!-- end nav-tree -->
|
|
</div><!-- end swapper -->
|
|
<div id="nav-swap">
|
|
<a class="fullscreen">fullscreen</a>
|
|
<a href='#' onclick='swapNav();return false;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a>
|
|
</div>
|
|
</div> <!-- end devdoc-nav -->
|
|
</div> <!-- end side-nav -->
|
|
<script type="text/javascript">
|
|
// init fullscreen based on user pref
|
|
var fullscreen = readCookie("fullscreen");
|
|
if (fullscreen != 0) {
|
|
if (fullscreen == "false") {
|
|
toggleFullscreen(false);
|
|
} else {
|
|
toggleFullscreen(true);
|
|
}
|
|
}
|
|
// init nav version for mobile
|
|
if (isMobile) {
|
|
swapNav(); // tree view should be used on mobile
|
|
$('#nav-swap').hide();
|
|
} else {
|
|
chooseDefaultNav();
|
|
if ($("#nav-tree").is(':visible')) {
|
|
init_default_navtree("<?cs var:toroot ?>");
|
|
}
|
|
}
|
|
// scroll the selected page into view
|
|
$(document).ready(function() {
|
|
scrollIntoView("packages-nav");
|
|
scrollIntoView("classes-nav");
|
|
});
|
|
</script>
|
|
<?cs /if ?>
|
|
<?cs
|
|
/def ?>
|
|
|
|
<?cs
|
|
def:ndk_nav() ?>
|
|
<div class="wrap clearfix" id="body-content"><div class="cols">
|
|
<div class="col-3 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
<?cs call:mobile_nav_toggle() ?>
|
|
<div class="dac-toggle-content" id="devdoc-nav">
|
|
<div class="scroll-pane">
|
|
<?cs
|
|
if:guide ?><?cs include:"../../../../frameworks/base/docs/html/ndk/guides/guides_toc.cs" ?><?cs
|
|
elif:reference ?><?cs include:"../../../../frameworks/base/docs/html/ndk/reference/reference_toc.cs" ?><?cs
|
|
elif:downloads ?><?cs include:"../../../../frameworks/base/docs/html/ndk/downloads/downloads_toc.cs" ?><?cs
|
|
elif:samples ?><?cs include:"../../../../frameworks/base/docs/html/ndk/samples/samples_toc.cs" ?><?cs
|
|
/if ?>
|
|
</div>
|
|
</div>
|
|
</div> <!-- end side-nav -->
|
|
<script>
|
|
$(document).ready(function() {
|
|
scrollIntoView("devdoc-nav");
|
|
});
|
|
</script>
|
|
<?cs /def ?>
|
|
|
|
<?cs
|
|
def:header_search_widget() ?>
|
|
<div class="dac-header-search" id="search-container">
|
|
<div class="dac-header-search-inner">
|
|
<div class="dac-sprite dac-search dac-header-search-btn" id="search-btn"></div>
|
|
<form class="dac-header-search-form" onsubmit="return submit_search()">
|
|
<input id="search_autocomplete" type="text" value="" autocomplete="off" name="q"
|
|
onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)"
|
|
onkeydown="return search_changed(event, true, '<?cs var:toroot ?>')"
|
|
onkeyup="return search_changed(event, false, '<?cs var:toroot ?>')"
|
|
class="dac-header-search-input" placeholder="Search" />
|
|
<a class="dac-header-search-close hide" id="search-close">close</a>
|
|
</form>
|
|
</div><!-- end dac-header-search-inner -->
|
|
</div><!-- end dac-header-search -->
|
|
|
|
<div class="search_filtered_wrapper">
|
|
<div class="suggest-card reference no-display">
|
|
<ul class="search_filtered">
|
|
</ul>
|
|
</div>
|
|
<div class="suggest-card develop no-display">
|
|
<ul class="search_filtered">
|
|
</ul>
|
|
<div class="child-card guides no-display">
|
|
</div>
|
|
<div class="child-card training no-display">
|
|
</div>
|
|
<div class="child-card samples no-display">
|
|
</div>
|
|
</div>
|
|
<div class="suggest-card design no-display">
|
|
<ul class="search_filtered">
|
|
</ul>
|
|
</div>
|
|
<div class="suggest-card distribute no-display">
|
|
<ul class="search_filtered">
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<?cs /def ?>
|
|
|
|
|
|
<?cs
|
|
def:custom_left_nav() ?><?cs
|
|
if:ndk ?><?cs
|
|
if:fullpage ?><?cs
|
|
call:fullpage() ?><?cs
|
|
elif:nonavpage ?><?cs
|
|
call:no_nav() ?><?cs
|
|
elif:guide || reference || samples || downloads ?><?cs
|
|
call:ndk_nav() ?><?cs
|
|
else ?><?cs
|
|
call:default_left_nav() ?> <?cs
|
|
/if ?><?cs
|
|
else ?><?cs
|
|
if:fullpage ?><?cs
|
|
call:fullpage() ?><?cs
|
|
elif:nonavpage ?><?cs
|
|
call:no_nav() ?><?cs
|
|
elif:guide ?><?cs
|
|
call:guide_nav() ?><?cs
|
|
elif:design ?><?cs
|
|
call:design_nav() ?><?cs
|
|
elif:training ?><?cs
|
|
call:training_nav() ?><?cs
|
|
elif:tools ?><?cs
|
|
call:tools_nav() ?><?cs
|
|
elif:google ?><?cs
|
|
call:google_nav() ?><?cs
|
|
elif:samples ?><?cs
|
|
call:samples_nav() ?><?cs
|
|
elif:preview ?><?cs
|
|
call:preview_nav() ?><?cs
|
|
elif:distribute ?><?cs
|
|
if:googleplay ?><?cs
|
|
call:googleplay_nav() ?><?cs
|
|
elif:essentials ?><?cs
|
|
call:essentials_nav() ?><?cs
|
|
elif:users ?><?cs
|
|
call:users_nav() ?><?cs
|
|
elif:engage ?><?cs
|
|
call:engage_nav() ?><?cs
|
|
elif:monetize ?><?cs
|
|
call:monetize_nav() ?><?cs
|
|
elif:analyze ?><?cs
|
|
call:analyze_nav() ?><?cs
|
|
elif:disttools ?><?cs
|
|
call:disttools_nav() ?><?cs
|
|
elif:stories ?><?cs
|
|
call:stories_nav() ?><?cs
|
|
/if ?><?cs
|
|
elif:about ?><?cs
|
|
call:about_nav() ?><?cs
|
|
elif:distribute ?><?cs
|
|
call:distribute_nav() ?><?cs
|
|
elif:wear ?><?cs
|
|
call:wear_nav() ?><?cs
|
|
else ?><?cs
|
|
call:default_left_nav() ?> <?cs
|
|
/if ?><?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 ?>
|
|
|
|
<?cs
|
|
def:custom_footerlinks() ?>
|
|
<a href="<?cs var:toroot ?>about/index.html">About Android</a>
|
|
<a href="<?cs var:toroot ?>auto/index.html">Auto</a>
|
|
<a href="<?cs var:toroot ?>tv/index.html">TV</a>
|
|
<a href="<?cs var:toroot ?>wear/index.html">Wear</a>
|
|
<a href="<?cs var:toroot ?>legal.html">Legal</a>
|
|
<?cs
|
|
/def ?>
|
|
|
|
<?cs # appears on the right side of the blue bar at the bottom off every page ?><?cs
|
|
def:custom_buildinfo() ?><?cs
|
|
if:!google && !reference.gcm && !reference.gms ?>
|
|
Android <?cs var:sdk.version ?> r<?cs var:sdk.rel.id ?> — <?cs
|
|
/if ?>
|
|
<script src="<?cs var:toroot ?>timestamp.js" type="text/javascript"></script>
|
|
<script>document.write(BUILD_TIMESTAMP)</script>
|
|
<?cs /def ?>
|
|
|