blob: 37f1b37c32d98b0003c8a6720bfea0d562efc09c [file] [log] [blame]
The Android Open Source Project88b60792009-03-03 19:28:42 -08001<head>
Scott Main01a25452013-02-12 17:32:27 -08002<?cs ####### If building devsite, add some meta data needed for when generating the top nav ######### ?>
3<?cs
4 if:devsite ?><?cs
Dirk Dougherty4f7e5152010-09-16 10:43:40 -07005 if:guide||develop||training||reference||tools||sdk||google||samples
Scott Main01a25452013-02-12 17:32:27 -08006 ?><meta name="top_category" value="develop" /><?cs
7 elif:google
8 ?><meta name="top_category" value="google" /><?cs
9 elif:reference && !(reference.gms || reference.gcm)
10 ?><meta name="top_category" value="css-fullscreen" /><?cs
11 /if ?>
12 <?cs
13 /if
14?><?cs # END if/else devsite ?>
15
Scott Main25522392013-09-09 18:51:49 -070016<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
17<meta name="viewport" content="width=device-width" />
Scott Main3652a112012-01-30 13:03:08 -080018<?cs if:page.metaDescription ?>
19<meta name="Description" content="<?cs var:page.metaDescription ?>">
20<?cs /if ?>
The Android Open Source Project88b60792009-03-03 19:28:42 -080021<link rel="shortcut icon" type="image/x-icon" href="<?cs var:toroot ?>favicon.ico" />
22<title><?cs
23 if:page.title ?><?cs
Scott Main6190dfe2009-04-23 23:08:46 -070024 var:page.title ?> | <?cs
Scott Maine4d8f1b2012-06-21 18:03:05 -070025 /if ?>Android Developers</title>
26
Scott Mainf5089842012-08-14 16:31:07 -070027<!-- STYLESHEETS -->
Scott Maine4d8f1b2012-06-21 18:03:05 -070028<link rel="stylesheet"
Scott Main1b3db112012-07-03 14:06:22 -070029href="<?cs if:android.whichdoc != 'online' ?>http:<?cs /if ?>//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,mediumitalic,bold" title="roboto">
Scott Maine4d8f1b2012-06-21 18:03:05 -070030<link href="<?cs var:toroot ?>assets/css/default.css" rel="stylesheet" type="text/css">
31
Robert Lyd2dd6e52012-11-29 21:28:48 -080032<?cs if:reference && !(reference.gms || reference.gcm) ?>
Scott Mainf5089842012-08-14 16:31:07 -070033<!-- FULLSCREEN STYLESHEET -->
Scott Maine4d8f1b2012-06-21 18:03:05 -070034<link href="<?cs var:toroot ?>assets/css/fullscreen.css" rel="stylesheet" class="fullscreen"
35type="text/css">
36<?cs /if ?>
37
Scott Mainf5089842012-08-14 16:31:07 -070038<!-- JAVASCRIPT -->
39<script src="<?cs if:android.whichdoc != 'online' ?>http:<?cs /if ?>//www.google.com/jsapi" type="text/javascript"></script>
Scott Maine05e6f92013-01-29 13:34:17 -080040<?cs
41if:devsite
Scott Maind44c3772013-02-11 11:42:14 -080042 ?><script src="<?cs var:toroot ?>_static/js/android_3p-bundle.js" type="text/javascript"></script><?cs
Scott Maine05e6f92013-01-29 13:34:17 -080043else
44 ?><script src="<?cs var:toroot ?>assets/js/android_3p-bundle.js" type="text/javascript"></script><?cs
45/if ?>
Scott Main1b3db112012-07-03 14:06:22 -070046<script type="text/javascript">
47 var toRoot = "<?cs var:toroot ?>";
Scott Main01a25452013-02-12 17:32:27 -080048 var devsite = <?cs if:devsite ?>true<?cs else ?>false<?cs /if ?>;
Scott Main1b3db112012-07-03 14:06:22 -070049</script>
Scott Maine4d8f1b2012-06-21 18:03:05 -070050<script src="<?cs var:toroot ?>assets/js/docs.js" type="text/javascript"></script>
Scott Mainae3ee422013-01-08 18:45:08 -080051
52<script type="text/javascript">
53 var _gaq = _gaq || [];
54 _gaq.push(['_setAccount', 'UA-5831155-1']);
55 _gaq.push(['_trackPageview']);
56
57 (function() {
58 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
59 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
60 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
61 })();
62</script>
Dirk Doughertyd77248a2010-08-25 15:07:39 -070063</head>