|
55 | 55 | * through a history, zoom in and out, perform text searches and more.</p> |
56 | 56 | * <p>To enable the built-in zoom, set |
57 | 57 | * {@link #getSettings() WebSettings}.{@link WebSettings#setBuiltInZoomControls(boolean)} |
58 | | - * (introduced in API version 3). |
| 58 | + * (introduced in API level {@link android.os.Build.VERSION_CODES#CUPCAKE}). |
59 | 59 | * <p>Note that, in order for your Activity to access the Internet and load web pages |
60 | 60 | * in a WebView, you must add the {@code INTERNET} permissions to your |
61 | 61 | * Android Manifest file:</p> |
|
199 | 199 | * appearance on a medium density screen. So, it applies 1.5x scaling on a high density screen |
200 | 200 | * (because its pixels are smaller) and 0.75x scaling on a low density screen (because its pixels |
201 | 201 | * are bigger). |
202 | | - * Starting with API Level 5 (Android 2.0), WebView supports DOM, CSS, and meta tag features to help |
203 | | - * you (as a web developer) target screens with different screen densities.</p> |
| 202 | + * Starting with API level {@link android.os.Build.VERSION_CODES#ECLAIR}, WebView supports DOM, CSS, |
| 203 | + * and meta tag features to help you (as a web developer) target screens with different screen |
| 204 | + * densities.</p> |
204 | 205 | * <p>Here's a summary of the features you can use to handle different screen densities:</p> |
205 | 206 | * <ul> |
206 | 207 | * <li>The {@code window.devicePixelRatio} DOM property. The value of this property specifies the |
@@ -1528,13 +1529,13 @@ public void flingScroll(int vx, int vy) { |
1528 | 1529 | * Gets the zoom controls for the WebView, as a separate View. The caller is |
1529 | 1530 | * responsible for inserting this View into the layout hierarchy. |
1530 | 1531 | * <p/> |
1531 | | - * API Level 3 introduced built-in zoom mechanisms for the WebView, as |
1532 | | - * opposed to these separate zoom controls. The built-in mechanisms are |
1533 | | - * preferred and can be enabled using |
1534 | | - * {@link WebSettings#setBuiltInZoomControls}. |
| 1532 | + * API level {@link android.os.Build.VERSION_CODES#CUPCAKE} introduced |
| 1533 | + * built-in zoom mechanisms for the WebView, as opposed to these separate |
| 1534 | + * zoom controls. The built-in mechanisms are preferred and can be enabled |
| 1535 | + * using {@link WebSettings#setBuiltInZoomControls}. |
1535 | 1536 | * |
1536 | 1537 | * @deprecated The built-in zoom mechanisms are preferred. |
1537 | | - * @hide since API version 16. |
| 1538 | + * @hide Since API level {@link android.os.Build.VERSION_CODES#JELLY_BEAN} |
1538 | 1539 | */ |
1539 | 1540 | @Deprecated |
1540 | 1541 | public View getZoomControls() { |
|
0 commit comments