Layout.Builder.SetJustificationMode(Int32) 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 justification mode.
[Android.Runtime.Register("setJustificationMode", "(I)Landroid/text/Layout$Builder;", "", ApiSince=35)]
public Android.Text.Layout.Builder SetJustificationMode(int justificationMode);
[<Android.Runtime.Register("setJustificationMode", "(I)Landroid/text/Layout$Builder;", "", ApiSince=35)>]
member this.SetJustificationMode : int -> Android.Text.Layout.Builder
Parameters
- justificationMode
- Int32
justification mode. Value is one of the following: LineBreaker.JUSTIFICATION_MODE_NONE; LineBreaker.JUSTIFICATION_MODE_INTER_WORD; LineBreaker.JUSTIFICATION_MODE_INTER_CHARACTER
Returns
this builder instance. This value cannot be null.
- Attributes
Remarks
Set justification mode. When justification mode is Layout.JUSTIFICATION_MODE_INTER_WORD, the word spacing on the given Paint passed to the constructor will be ignored. This behavior also affects spans which change the word spacing. The default value is Layout.JUSTIFICATION_MODE_NONE.
Android reference for android.text.Layout.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.