Android APIs
public static final enum

WebSettings.ZoomDensity

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

Class Overview

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)
final static ZoomDensity[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final WebSettings.ZoomDensity CLOSE

Added in API level 7

public static final WebSettings.ZoomDensity FAR

Added in API level 7

public static final WebSettings.ZoomDensity MEDIUM

Added in API level 7

Public Methods

public static WebSettings.ZoomDensity valueOf (String name)

Added in API level 7

Parameters
name String
Returns
WebSettings.ZoomDensity

public static final ZoomDensity[] values ()

Added in API level 7

Returns
ZoomDensity[]