Skip to content

Most visited

Recently visited

navigation

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

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum values

CLOSE

Added in API level 7
WebSettings.ZoomDensity CLOSE

MEDIUM

Added in API level 7
WebSettings.ZoomDensity MEDIUM

Public methods

valueOf

Added in API level 7
WebSettings.ZoomDensity valueOf (String name)

Parameters
name String
Returns
WebSettings.ZoomDensity

values

Added in API level 7
ZoomDensity[] values ()

Returns
ZoomDensity[]
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.