to top
Android APIs
public static final enum


extends Enum<E extends Enum<E>>
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ 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


Enum Values
WebSettings.ZoomDensity  CLOSE   
WebSettings.ZoomDensity  FAR   
WebSettings.ZoomDensity  MEDIUM   
Public Methods
static WebSettings.ZoomDensity valueOf(String name)
final static ZoomDensity[] values()
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

public static final WebSettings.ZoomDensity FAR

public static final WebSettings.ZoomDensity MEDIUM

Public Methods

public static WebSettings.ZoomDensity valueOf (String name)

Since: API Level 7

public static final ZoomDensity[] values ()

Since: API Level 7