From b838aef488b4bb7b1cd6f4c0055476b2afdfd468 Mon Sep 17 00:00:00 2001 From: Steve Block Date: Mon, 23 Apr 2012 18:22:15 +0100 Subject: Fix use of API level in android.webkit JavaDoc Bug: 5461416 Change-Id: Id17b10fec6bebc46260db6abe6df5f7d44a711ae --- core/java/android/webkit/WebView.java | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'core/java/android/webkit/WebView.java') diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index f848430982f4..d3d3d49f6620 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -55,7 +55,7 @@ import java.util.Map; * through a history, zoom in and out, perform text searches and more.

*

To enable the built-in zoom, set * {@link #getSettings() WebSettings}.{@link WebSettings#setBuiltInZoomControls(boolean)} - * (introduced in API version 3). + * (introduced in API level {@link android.os.Build.VERSION_CODES#CUPCAKE}). *

Note that, in order for your Activity to access the Internet and load web pages * in a WebView, you must add the {@code INTERNET} permissions to your * Android Manifest file:

@@ -199,8 +199,9 @@ import java.util.Map; * appearance on a medium density screen. So, it applies 1.5x scaling on a high density screen * (because its pixels are smaller) and 0.75x scaling on a low density screen (because its pixels * are bigger). - * Starting with API Level 5 (Android 2.0), WebView supports DOM, CSS, and meta tag features to help - * you (as a web developer) target screens with different screen densities.

+ * Starting with API level {@link android.os.Build.VERSION_CODES#ECLAIR}, WebView supports DOM, CSS, + * and meta tag features to help you (as a web developer) target screens with different screen + * densities.

*

Here's a summary of the features you can use to handle different screen densities:

*