Android APIs
Added in API level 1
Deprecated since API level 14
public static final enum

WebSettings.TextSize

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

This enum was deprecated in API level 14.
Use setTextZoom(int) and getTextZoom() instead.

Class Overview

Enum for specifying the text size.

  • SMALLEST is 50%
  • SMALLER is 75%
  • NORMAL is 100%
  • LARGER is 150%
  • LARGEST is 200%

Summary

Enum Values
WebSettings.TextSize  LARGER   
WebSettings.TextSize  LARGEST   
WebSettings.TextSize  NORMAL   
WebSettings.TextSize  SMALLER   
WebSettings.TextSize  SMALLEST   
Public Methods
static WebSettings.TextSize valueOf(String name)
final static TextSize[] 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.TextSize LARGER

Added in API level 1

public static final WebSettings.TextSize LARGEST

Added in API level 1

public static final WebSettings.TextSize NORMAL

Added in API level 1

public static final WebSettings.TextSize SMALLER

Added in API level 1

public static final WebSettings.TextSize SMALLEST

Added in API level 1

Public Methods

public static WebSettings.TextSize valueOf (String name)

Added in API level 1

public static final TextSize[] values ()

Added in API level 1