Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

HideReturnsTransformationMethod

extends ReplacementTransformationMethod
java.lang.Object
   ↳ android.text.method.ReplacementTransformationMethod
     ↳ android.text.method.HideReturnsTransformationMethod

Class Overview

This transformation method causes any carriage return characters (\r) to be hidden by displaying them as zero-width non-breaking space characters ().

Summary

Public Constructors
HideReturnsTransformationMethod ()
Public Methods
static HideReturnsTransformationMethod getInstance ()
Protected Methods
char[] getOriginal ()
The character to be replaced is \r.
char[] getReplacement ()
The character that \r is replaced with is .
[Expand]
Inherited Methods
From class android.text.method.ReplacementTransformationMethod
From class java.lang.Object
From interface android.text.method.TransformationMethod

Public Constructors

public HideReturnsTransformationMethod ()

Added in API level 1

Public Methods

public static HideReturnsTransformationMethod getInstance ()

Added in API level 1

Protected Methods

protected char[] getOriginal ()

Added in API level 1

The character to be replaced is \r.

protected char[] getReplacement ()

Added in API level 1

The character that \r is replaced with is .