to top
Android APIs
public static final enum

WebSettings.LayoutAlgorithm

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

Class Overview

Enum for controlling the layout of html.

  • NORMAL means no rendering changes.
  • SINGLE_COLUMN moves all content into one column that is the width of the view.
  • NARROW_COLUMNS makes all columns no wider than the screen if possible.

Summary

Enum Values
WebSettings.LayoutAlgorithm  NARROW_COLUMNS   
WebSettings.LayoutAlgorithm  NORMAL   
WebSettings.LayoutAlgorithm  SINGLE_COLUMN  This field was deprecated in API level . This algorithm is now obsolete.  
Public Methods
static WebSettings.LayoutAlgorithm valueOf(String name)
final static LayoutAlgorithm[] 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.LayoutAlgorithm NARROW_COLUMNS

public static final WebSettings.LayoutAlgorithm NORMAL

public static final WebSettings.LayoutAlgorithm SINGLE_COLUMN

This field was deprecated in API level .
This algorithm is now obsolete.

Public Methods

public static WebSettings.LayoutAlgorithm valueOf (String name)

Added in API level 1

public static final LayoutAlgorithm[] values ()

Added in API level 1