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

added in API level 7
public static WebSettings.ZoomDensity valueOf (String name)

Parameters
name String

Returns
WebSettings.ZoomDensity

values

added in API level 7
public static final ZoomDensity[] values ()

Returns
ZoomDensity[]