Language

DynamicLayout.Builder.SetDisplayText Method

Definition

Overloads

Name Description
SetDisplayText(ICharSequence)

Set the transformed text (password transformation being the primary example of a transformation) that will be updated as the base text is changed.

SetDisplayText(String)

Sets the text representation displayed by the layout.

SetDisplayText(ICharSequence)

Set the transformed text (password transformation being the primary example of a transformation) that will be updated as the base text is changed.

[Android.Runtime.Register("setDisplayText", "(Ljava/lang/CharSequence;)Landroid/text/DynamicLayout$Builder;", "", ApiSince=28)]
public Android.Text.DynamicLayout.Builder SetDisplayText(Java.Lang.ICharSequence display);
[<Android.Runtime.Register("setDisplayText", "(Ljava/lang/CharSequence;)Landroid/text/DynamicLayout$Builder;", "", ApiSince=28)>]
member this.SetDisplayText : Java.Lang.ICharSequence -> Android.Text.DynamicLayout.Builder

Parameters

display
ICharSequence

the transformed text. This value cannot be null.

Returns

this builder, useful for chaining. This value cannot be null.

Attributes

Remarks

Set the transformed text (password transformation being the primary example of a transformation) that will be updated as the base text is changed. The default is the 'base' text passed to the builder's constructor.

Android reference for android.text.DynamicLayout.Builder.setDisplayText.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

SetDisplayText(String)

Sets the text representation displayed by the layout.

public Android.Text.DynamicLayout.Builder SetDisplayText(string display);
member this.SetDisplayText : string -> Android.Text.DynamicLayout.Builder

Parameters

display
String

The string representation to display instead of the base text.

Returns

This builder with its display text updated.

Remarks

This changes the display text but does not replace the base text used for change tracking.

Applies to