Stay organized with collections
Save and categorize content based on your preferences.
BufferType
class BufferType
Type of the text buffer that defines the characteristics of the text such as static, styleable, or editable.
Summary
Enum values
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 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# TextView.BufferType\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nBufferType\n==========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/widget/TextView.BufferType \"View this page in Java\") \n\n```\nclass BufferType\n```\n\n|---|---|-----------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||\n| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)\\\u003c[android.widget.TextView.BufferType](#)\\\u003e ||\n| | ↳ | [android.widget.TextView.BufferType](#) |\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [TextView.BufferType.EDITABLE](#ENUM_VALUE:EDITABLE), [TextView.BufferType.NORMAL](#ENUM_VALUE:NORMAL), [TextView.BufferType.SPANNABLE](#ENUM_VALUE:SPANNABLE) |--------------------------------------------------------|--------| | [TextView.BufferType.EDITABLE](#ENUM_VALUE:EDITABLE) | \u003cbr /\u003e | | [TextView.BufferType.NORMAL](#ENUM_VALUE:NORMAL) | \u003cbr /\u003e | | [TextView.BufferType.SPANNABLE](#ENUM_VALUE:SPANNABLE) | \u003cbr /\u003e | |\n\nType of the text buffer that defines the characteristics of the text such as static, styleable, or editable.\n\nSummary\n-------\n\n| Enum values ||\n|-------------------------------------------|---|\n| [EDITABLE](#ENUM_VALUE:EDITABLE) \u003cbr /\u003e |\n| [NORMAL](#ENUM_VALUE:NORMAL) \u003cbr /\u003e |\n| [SPANNABLE](#ENUM_VALUE:SPANNABLE) \u003cbr /\u003e |\n\nEnum values\n-----------\n\n### EDITABLE\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val EDITABLE : TextView.BufferType\n``` \n\n### NORMAL\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val NORMAL : TextView.BufferType\n``` \n\n### SPANNABLE\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val SPANNABLE : TextView.BufferType\n```"]]