android.text
Stay organized with collections
Save and categorize content based on your preferences.
Interfaces
Editable |
This is the interface for text whose content and markup
can be changed (as opposed
to immutable text like Strings). |
GetChars |
Please implement this interface if your CharSequence has a
getChars() method like the one in String that is faster than
calling charAt() multiple times. |
InputFilter |
InputFilters can be attached to Editable s to constrain the
changes that can be made to them. |
InputType |
Bit definitions for an integer defining the basic content type of text
held in an Editable object. |
NoCopySpan |
This interface should be added to a span object that should not be copied
into a new Spenned when performing a slice or copy operation on the original
Spanned it was placed in. |
Spannable |
This is the interface for text to which markup objects can be
attached and detached. |
Spanned |
This is the interface for text that has markup objects attached to
ranges of it. |
SpanWatcher |
When an object of this type is attached to a Spannable, its methods
will be called to notify it that other markup objects have been
added, changed, or removed. |
TextUtils.StringSplitter |
An interface for splitting strings according to rules that are opaque to the user of this
interface. |
TextWatcher |
When an object of a type is attached to an Editable, its methods will
be called when the text is changed. |
Classes
Enums
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-07-10 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-07-10 UTC."]]