Added in API level 7

WebSettings.ZoomDensity


public static final enum WebSettings.ZoomDensity
extends Enum<WebSettings.ZoomDensity>

java.lang.Object
   ↳ java.lang.Enum<android.webkit.WebSettings.ZoomDensity>
     ↳ android.webkit.WebSettings.ZoomDensity


Enum for specifying the WebView's desired density.

  • FAR makes 100% looking like in 240dpi
  • MEDIUM makes 100% looking like in 160dpi
  • CLOSE makes 100% looking like in 120dpi

Summary

Enum values

WebSettings.ZoomDensity  CLOSE

 

WebSettings.ZoomDensity  FAR

 

WebSettings.ZoomDensity  MEDIUM

 

Public methods

static WebSettings.ZoomDensity valueOf(String name)
static final ZoomDensity[] values()

Inherited methods

Enum values

CLOSE

Added in API level 7
public static final WebSettings.ZoomDensity CLOSE

FAR

Added in API level 7
public static final WebSettings.ZoomDensity FAR

MEDIUM

Added in API level 7
public static final WebSettings.ZoomDensity MEDIUM

Public methods

valueOf

public static WebSettings.ZoomDensity valueOf (String name)

Parameters
name String

Returns
WebSettings.ZoomDensity

values

public static final ZoomDensity[] values ()

Returns
ZoomDensity[]