diff options
| author | Steve Block <steveblock@google.com> | 2012-04-16 14:10:54 +0100 |
|---|---|---|
| committer | Steve Block <steveblock@google.com> | 2012-04-17 12:19:10 +0100 |
| commit | 06d268e3ad1129814829af5d3b84752d84c1acf2 (patch) | |
| tree | b0112eeaac9c2438010f47f4bebaab9fdc9b8498 /core/java/android/webkit/WebView.java | |
| parent | 9f7296af049028c28aeb3382c03f0c314346d19d (diff) | |
Clean up JavaDoc for WebView.getZoomControls()
Bug: 5461416
Change-Id: I4f2b5c9e4b4c2b1a38d678cb6756f128670ee490
Diffstat (limited to 'core/java/android/webkit/WebView.java')
| -rw-r--r-- | core/java/android/webkit/WebView.java | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index 549862272ad7..bd10cca4f42e 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -1530,17 +1530,15 @@ public class WebView extends AbsoluteLayout } /** - * Returns a view containing zoom controls i.e. +/- buttons. The caller is - * in charge of installing this view to the view hierarchy. This view will - * become visible when the user starts scrolling via touch and fade away if - * the user does not interact with it. + * Gets the zoom controls for the WebView, as a separate View. The caller is + * responsible for inserting this View into the layout hierarchy. * <p/> - * API version 3 introduces a built-in zoom mechanism that is shown - * automatically by the MapView. This is the preferred approach for - * showing the zoom UI. + * API Level 3 introduced built-in zoom mechanisms for the WebView, as + * opposed to these separate zoom controls. The built-in mechanisms are + * preferred and can be enabled using + * {@link WebSettings#setBuiltInZoomControls}. * - * @deprecated The built-in zoom mechanism is preferred, see - * {@link WebSettings#setBuiltInZoomControls(boolean)}. + * @deprecated The built-in zoom mechanisms are preferred. * @hide since API version 16. */ @Deprecated |
