forked from renfeng/android-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (67 loc) · 2.42 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html>
<head>
<title>Android SDK Web Manager</title>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes" />
<!--
Chrome 35 has old :host behavior before :host-context addition.
Since Chrome 35 does not have HTMLImports, we can use this as a decent signal
to force the ShadowDOM Polyfill.
-->
<script>
if (!('import' in document.createElement('link'))) {
var Platform = {flags: {shadow: true}};
}
</script>
<!-- 1. Load platform support before any code that touches the DOM. -->
<script src="components/webcomponentsjs/webcomponents.min.js"></script>
<!-- 2. Load the component using an HTML Import -->
<link rel="import" href="components/poly-compatibility/poly-compatibility.html"/>
<link rel="import" href="elements/android-sdk-manager.html" />
<link rel="import" href="components/font-roboto/roboto.html" />
<style shim-shadowdom>
html,body {
height: 100%;
margin: 0;
font-family: 'RobotoDraft', sans-serif;
}
paper-header-panel {
height: 100%;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
paper-checkbox {
padding: 1em;
}
paper-toolbar.android-sdk-manager {
background-color: #90c653;
}
paper-menu.android-sdk-manager {
background-color: #f7f7f7;
}
</style>
</head>
<body>
<poly-compatibility path-To-Test="js/modernizrtest.js" style="font-size: small; margin: auto; width: 40em; display: block; text-align: center;">
<table style="height: 100%;">
<tr>
<td valign="middle">
<p>This page works in the <i>latest two versions</i> of all major browsers: Safari 7+, IE 11+, and the evergreen Chrome, Firefox, and Edge.</p>
<p><a href="https://www.polymer-project.org/1.0/docs/browsers">Browser compatibility - Polymer Project</a></p>
</td>
</tr>
</table>
</poly-compatibility>
<!-- 3. Declare the element by its tag. -->
<android-sdk-manager></android-sdk-manager>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-549131-13', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>