DynamicLayout.Builder.SetJustificationMode(JustificationMode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set paragraph justification mode.
[Android.Runtime.Register("setJustificationMode", "(I)Landroid/text/DynamicLayout$Builder;", "", ApiSince=28)]
public Android.Text.DynamicLayout.Builder SetJustificationMode(Android.Text.JustificationMode justificationMode);
[<Android.Runtime.Register("setJustificationMode", "(I)Landroid/text/DynamicLayout$Builder;", "", ApiSince=28)>]
member this.SetJustificationMode : Android.Text.JustificationMode -> Android.Text.DynamicLayout.Builder
Parameters
- justificationMode
- JustificationMode
justification mode for the paragraph. Value is one of the following: LineBreaker.JUSTIFICATION_MODE_NONE; LineBreaker.JUSTIFICATION_MODE_INTER_WORD; LineBreaker.JUSTIFICATION_MODE_INTER_CHARACTER
Returns
this builder, useful for chaining. This value cannot be null.
- Attributes
Remarks
Set paragraph 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 setAlignment(Alignment).
Android reference for android.text.DynamicLayout.Builder.setJustificationMode.
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.