Skip to content

Commit 6bb6348

Browse files
committed
Doc change: cherry pick from eclair ->docs: add dashboard for screens
update platform dashboard Conflicts: docs/html/resources/dashboard/platform-versions.jd Change-Id: I6d812085c96eb61e4f6d6e76af714292fa0d38b1
1 parent eb9cbb8 commit 6bb6348

File tree

3 files changed

+104
-30
lines changed

3 files changed

+104
-30
lines changed

docs/html/resources/dashboard/platform-versions.jd

Lines changed: 20 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ page.title=Platform Versions
22
@jd:body
33

44
<style type="text/css">
5+
56
div.dashboard-panel {
6-
max-width:928px;
7-
margin:0 0 1em 0;
7+
max-width:1000px;
8+
margin:0 0 2em 0;
89
padding:20px 20px 0 20px;
910
border:1px solid #d3ecf5;
1011
border-radius:7px;
@@ -22,11 +23,14 @@ div.dashboard-panel {
2223
border:1px solid #ccc;
2324
float:left;
2425
}
25-
div.dashboard-panel table {
26+
#jd-content div.dashboard-panel table {
2627
margin:0 0 20px 0;
2728
float:left;
2829
background-color:#fff;
2930
}
31+
div.dashboard-panel p {
32+
clear:left;
33+
}
3034
div.dashboard-panel th {
3135
white-space:nowrap;
3236
}
@@ -36,46 +40,32 @@ div.dashboard-panel th {
3640
running a given version of the Android platform. This can help you
3741
understand the landscape of device distribution and decide how to prioritize
3842
the development of your application features for the devices currently in
39-
the hands of users.</p>
43+
the hands of users. For information about how to target your application to devices based on
44+
platform version, see <a href="{@docRoot}guide/appendix/api-levels.html">API Levels</a>.</p>
4045

4146
<p class="note"><strong>Note:</strong> This data is based on the number
4247
of Android devices that have accessed Android Market within a 14-day period
4348
ending on the data collection date noted below.</p>
4449

4550
<div class="dashboard-panel">
4651

47-
<img alt="" width="400" height="250"
48-
src="http://chart.apis.google.com/chart?cht=p&chs=400x250&chd=t:0.3,31.0,47.6,0.7,20.4&chl=Android%201.1|Android%201.5|Android%201.6|Android%202.0|Android%202.0.1&chco=c4df9b,6fad0c" />
49-
50-
<!-- HISTORY
51-
12/14/09 http://chart.apis.google.com/chart?cht=p&chs=400x250&chd=t:0.3,27.7,54.2,2.9,14.8&chl=Android%201.1|Android%201.5|Android%201.6|Android%202.0|Android%202.0.1&chco=c4df9b,6fad0c
52-
-->
52+
<img alt="" width="460" height="250"
53+
src="http://chart.apis.google.com/chart?&cht=p&chs=460x250&chd=t:0.1,35.6,28.1,0.2,0.4,35.6&chl=
54+
Android%201.1|Android%201.5|Android%201.6|Android%202.0|Android%202.0.1|Android%202.1&chco=c4df9b,
55+
6fad0c" />
5356

5457
<table>
5558
<tr>
5659
<th>Android Platform</th>
5760
<th>Percent of Devices</th>
5861
</tr>
59-
<tr>
60-
<td>Android 1.1</td>
61-
<td>0.3%</td>
62-
</tr>
63-
<tr>
64-
<td>Android 1.5</td>
65-
<td>31.0%</td>
66-
</tr>
67-
<tr>
68-
<td>Android 1.6</td>
69-
<td>47.6%</td></tr>
70-
<tr>
71-
<td>Android 2.0</td>
72-
<td>0.7%</td>
73-
</tr>
74-
<tr>
75-
<td>Android 2.0.1</td>
76-
<td>20.4%</td>
77-
</tr>
62+
<tr><td>Android 1.1</td><td>0.1%</td></tr>
63+
<tr><td>Android 1.5</td><td>34.1%</td></tr>
64+
<tr><td>Android 1.6</td><td>28.0%</td></tr>
65+
<tr><td>Android 2.0</td><td>0.2%</td></tr>
66+
<tr><td>Android 2.0.1</td><td>0.4%</td></tr>
67+
<tr><td>Android 2.1</td><td>37.2%</td></tr>
7868
</table>
69+
<p><em>Data collected during two weeks ending on May 17, 2010</em></p>
7970
</div>
8071

81-
<p><em>Data collected during two weeks ending on 1/4/2010</em></p>
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
page.title=Screen Sizes and Densities
2+
@jd:body
3+
4+
<style type="text/css">
5+
6+
div.dashboard-panel {
7+
max-width:1000px;
8+
margin:0 0 2em 0;
9+
padding:20px 20px 0 20px;
10+
border:1px solid #d3ecf5;
11+
border-radius:7px;
12+
-moz-border-radius:7px;
13+
-webkit-border-radius:7px;
14+
background-color: #DAF3FC;
15+
box-shadow:2px 3px 1px #eee;
16+
-moz-box-shadow:2px 3px 1px #eee;
17+
-webkit-box-shadow:2px 3px 1px #eee;
18+
overflow:hidden;
19+
}
20+
#jd-content div.dashboard-panel img {
21+
margin:0 20px 20px 0;
22+
padding:0;
23+
border:1px solid #ccc;
24+
float:left;
25+
}
26+
#jd-content div.dashboard-panel table {
27+
margin:0 0 20px 0;
28+
float:left;
29+
background-color:#fff;
30+
}
31+
div.dashboard-panel p {
32+
clear:left;
33+
}
34+
div.dashboard-panel th {
35+
white-space:nowrap;
36+
}
37+
</style>
38+
39+
<p>This page provides data about the relative number of active devices
40+
using a particular type of screen, including the screen size and density. For information about how
41+
your application can support multiple screen types, see <a
42+
href="{@docRoot}guide/practices/screens_support.html">Supporting Multiple Screens</a>.</p>
43+
44+
<p class="note"><strong>Note:</strong> This data is based on the number
45+
of Android devices that have accessed Android Market within a 14-day period
46+
ending on the data collection date noted below.</p>
47+
48+
49+
<div class="dashboard-panel">
50+
51+
<img alt="" width="460" height="250"
52+
src="http://chart.apis.google.com/chart?&cht=p&chs=460x250&chd=t:1.0,63.9,35.1&chl=Small%20/%20ldpi|
53+
Normal%20/%20mdpi|Normal%20/%20hdpi&chco=c4df9b,6fad0c" />
54+
55+
<table>
56+
<tr>
57+
<th></th>
58+
<th scope="col">Low Density</th>
59+
<th scope="col">Medium Density</th>
60+
<th scope="col">High Density</th>
61+
</tr>
62+
<tr><th scope="row">Small</th>
63+
<td class='cent '>1.0%</td>
64+
<td></td>
65+
<td></td>
66+
</tr>
67+
<tr><th scope="row">Normal</th>
68+
<td></td>
69+
<td class='cent hi'>63.7%</td>
70+
<td class='cent hi'>35.3%</td>
71+
</tr>
72+
<tr><th scope="row">Large</th>
73+
<td></td>
74+
<td></td>
75+
<td></td>
76+
</tr>
77+
</table>
78+
79+
<p><em>Data collected during two weeks ending on May 17, 2010</em></p>
80+
</div>
81+

docs/html/resources/resources_toc.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
<li><a href="<?cs var:toroot ?>resources/dashboard/platform-versions.html">
2828
<span class="en">Platform Versions</span>
2929
</a></li>
30+
<li><a href="<?cs var:toroot ?>resources/dashboard/screens.html">
31+
<span class="en">Screen Sizes &amp; Densities</span>
32+
</a> <span class="new">new!</span></li>
3033
</ul>
3134
</li><?cs
3235
/if

0 commit comments

Comments
 (0)