Share via


WebView.ZoomControls Property

Definition

Caution

deprecated

Gets the zoom controls for this WebView, as a separate View.

[System.Obsolete("deprecated")]
public virtual Android.Views.View? ZoomControls { [Android.Runtime.Register("getZoomControls", "()Landroid/view/View;", "GetGetZoomControlsHandler")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getZoomControls", "()Landroid/view/View;", "GetGetZoomControlsHandler")>]
member this.ZoomControls : Android.Views.View

Property Value

Attributes

Remarks

Gets the zoom controls for this WebView, as a separate View. The caller is responsible for inserting this View into the layout hierarchy. <p/> API level android.os.Build.VERSION_CODES#CUPCAKE 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 WebSettings#setBuiltInZoomControls.

This member is deprecated. the built-in zoom mechanisms are preferred

Java documentation for android.webkit.WebView.getZoomControls().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to