Skip to content

Most visited

Recently visited

navigation

TextView.BufferType

public static final enum TextView.BufferType
extends Enum<TextView.BufferType>

java.lang.Object
   ↳ java.lang.Enum<android.widget.TextView.BufferType>
     ↳ android.widget.TextView.BufferType


Type of the text buffer that defines the characteristics of the text such as static, styleable, or editable.

Summary

Enum values

TextView.BufferType  EDITABLE

 

TextView.BufferType  NORMAL

 

TextView.BufferType  SPANNABLE

 

Public methods

static TextView.BufferType valueOf(String name)
static final BufferType[] values()

Inherited methods

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum values

EDITABLE

added in API level 1
TextView.BufferType EDITABLE

NORMAL

added in API level 1
TextView.BufferType NORMAL

SPANNABLE

added in API level 1
TextView.BufferType SPANNABLE

Public methods

valueOf

added in API level 1
TextView.BufferType valueOf (String name)

Parameters
name String

Returns
TextView.BufferType

values

added in API level 1
BufferType[] values ()

Returns
BufferType[]

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience.
(Sep 2017 survey)