Skip to content

Commit 0b2395c

Browse files
committed
Doc change: Add revision notes for Android 2.2_r2 development platform. Fix some umappable characters in WebView class doc.
Change-Id: I5522406335fbf96164a5b812ec4891c499343d1e
1 parent 753e560 commit 0b2395c

File tree

2 files changed

+30
-8
lines changed

2 files changed

+30
-8
lines changed

core/java/android/webkit/WebView.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -236,14 +236,14 @@
236236
*
237237
* <h3>Building web pages to support different screen densities</h3>
238238
*
239-
* <p>The screen density of a device is based on the screen resolution. A screen with low density
240-
* has fewer available pixels per inch, where a screen with high density
241-
* has more sometimes significantly more pixels per inch. The density of a
239+
* <p>A screen's density is based on it's screen resolution and physical size. A screen with low
240+
* density has fewer available pixels per inch, where a screen with high density
241+
* has more -- sometimes significantly more -- pixels per inch. The density of a
242242
* screen is important because, other things being equal, a UI element (such as a button) whose
243243
* height and width are defined in terms of screen pixels will appear larger on the lower density
244-
* screen and smaller on the higher density screen.
245-
* For simplicity, Android collapses all actual screen densities into three generalized densities:
246-
* high, medium, and low.</p>
244+
* screen and smaller on the higher density screen. For simplicity, Android collapses all
245+
* actual screen densities into three generalized densities:high, medium, and low. </p>
246+
*
247247
* <p>By default, WebView scales a web page so that it is drawn at a size that matches the default
248248
* appearance on a medium density screen. So, it applies 1.5x scaling on a high density screen
249249
* (because its pixels are smaller) and 0.75x scaling on a low density screen (because its pixels

docs/html/sdk/android-2.2.jd

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ page.title=Android 2.2 Platform
22
sdk.platform.version=2.2
33
sdk.platform.apiLevel=8
44
sdk.platform.majorMinor=minor
5-
sdk.platform.deployableDate=May 2010
65

76
@jd:body
87

@@ -116,6 +115,30 @@ function toggleDiv(link) {
116115
</style>
117116

118117
<div class="toggleable opened">
118+
<a href="#" onclick="return toggleDiv(this)">
119+
<img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" width="9px" />
120+
Android {@sdkPlatformVersion}, Revision 2</a> <em>(July 2010)</em></a>
121+
<div class="toggleme">
122+
<dl>
123+
<dt>Dependencies:</dt>
124+
<dd>
125+
<p>Requires SDK Tools r6 or higher.</p>
126+
</dd>
127+
128+
<dt>System Image:</dt>
129+
<dd>
130+
<ul>
131+
<li>Adds default Search Widget.</li>
132+
<li>Includes proper provisioning for the platform's Backup Manager. For more information about how to use the Backup Manager, see <a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a>.</li>
133+
<li>Updates the Android 2.2 system image to FRF91.</li>
134+
</ul>
135+
</dd>
136+
137+
</dl>
138+
</div>
139+
</div>
140+
141+
<div class="toggleable closed">
119142
<a href="#" onclick="return toggleDiv(this)">
120143
<img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" width="9px" />
121144
Android {@sdkPlatformVersion}, Revision 1</a> <em>(May 2010)</em></a>
@@ -135,7 +158,6 @@ function toggleDiv(link) {
135158
</div>
136159
</div>
137160

138-
139161
<h2 id="api-level">API Level</h2>
140162

141163
<p>The Android {@sdkPlatformVersion} platform delivers an updated version of

0 commit comments

Comments
 (0)