Share via


TextView.JustificationMode Property

Definition

Set justification mode.

public virtual Android.Text.JustificationMode JustificationMode { [Android.Runtime.Register("getJustificationMode", "()I", "GetGetJustificationModeHandler", ApiSince=26)] get; [Android.Runtime.Register("setJustificationMode", "(I)V", "GetSetJustificationMode_IHandler", ApiSince=26)] set; }
[<get: Android.Runtime.Register("getJustificationMode", "()I", "GetGetJustificationModeHandler", ApiSince=26)>]
[<set: Android.Runtime.Register("setJustificationMode", "(I)V", "GetSetJustificationMode_IHandler", ApiSince=26)>]
member this.JustificationMode : Android.Text.JustificationMode with get, set

Property Value

true if currently paragraph justification mode.

Attributes

Remarks

Property getter documentation:

Java documentation for android.widget.TextView.getJustificationMode().

Property setter documentation:

Set justification mode. The default value is Layout#JUSTIFICATION_MODE_NONE. If the last line is too short for justification, the last line will be displayed with the alignment set by android.view.View#setTextAlignment.

Java documentation for android.widget.TextView.setJustificationMode(int).

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