| java.lang.Object | ||
| ↳ | android.text.method.ReplacementTransformationMethod | |
| ↳ | android.text.method.SingleLineTransformationMethod | |
This transformation method causes any newline characters (\n) to be displayed as spaces instead of causing line breaks, and causes carriage return characters (\r) to have no appearance.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
The characters to be replaced are \n and \r.
|
||||||||||
|
|
The character \n is replaced with is space;
the character \r is replaced with is FEFF (zero width space).
|
||||||||||
|
[Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.text.method.ReplacementTransformationMethod
|
|||||||||||
From class
java.lang.Object
|
|||||||||||
From interface
android.text.method.TransformationMethod
|
|||||||||||
The character \n is replaced with is space; the character \r is replaced with is FEFF (zero width space).