Merge "WebView: note deprecation of onscreen zoom controls." into qt-dev am: b0bcbb0c35
am: 016ee6777e
Change-Id: Ibc89c85870f87d002f23aaa8fbbada0f3cd705ae
This commit is contained in:
committed by
android-build-merger
commit
30c6079772
@@ -328,6 +328,9 @@ public abstract class WebSettings {
|
|||||||
* <p>
|
* <p>
|
||||||
* The built-in mechanisms are the only currently supported zoom
|
* The built-in mechanisms are the only currently supported zoom
|
||||||
* mechanisms, so it is recommended that this setting is always enabled.
|
* mechanisms, so it is recommended that this setting is always enabled.
|
||||||
|
* However, on-screen zoom controls are deprecated in Android (see
|
||||||
|
* {@link android.widget.ZoomButtonsController}) so it's recommended to
|
||||||
|
* disable {@link #setDisplayZoomControls}.
|
||||||
*
|
*
|
||||||
* @param enabled whether the WebView should use its built-in zoom mechanisms
|
* @param enabled whether the WebView should use its built-in zoom mechanisms
|
||||||
*/
|
*/
|
||||||
@@ -347,7 +350,9 @@ public abstract class WebSettings {
|
|||||||
/**
|
/**
|
||||||
* Sets whether the WebView should display on-screen zoom controls when
|
* Sets whether the WebView should display on-screen zoom controls when
|
||||||
* using the built-in zoom mechanisms. See {@link #setBuiltInZoomControls}.
|
* using the built-in zoom mechanisms. See {@link #setBuiltInZoomControls}.
|
||||||
* The default is {@code true}.
|
* The default is {@code true}. However, on-screen zoom controls are deprecated
|
||||||
|
* in Android (see {@link android.widget.ZoomButtonsController}) so it's
|
||||||
|
* recommended to set this to {@code false}.
|
||||||
*
|
*
|
||||||
* @param enabled whether the WebView should display on-screen zoom controls
|
* @param enabled whether the WebView should display on-screen zoom controls
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user