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 240dpiMEDIUM
makes 100% looking like in 160dpiCLOSE
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
Public methods
valueOf
public static WebSettings.ZoomDensity valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
WebSettings.ZoomDensity |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-09-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-03 UTC."],[],[]]