Język

Layout.Builder.SetLeftIndents(Int32[]) Method

Definition

Set visually left indents in pixels per lines.

[Android.Runtime.Register("setLeftIndents", "([I)Landroid/text/Layout$Builder;", "", ApiSince=35)]
public Android.Text.Layout.Builder SetLeftIndents(int[]? leftIndents);
[<Android.Runtime.Register("setLeftIndents", "([I)Landroid/text/Layout$Builder;", "", ApiSince=35)>]
member this.SetLeftIndents : int[] -> Android.Text.Layout.Builder

Parameters

leftIndents
Int32[]

array of indents values for the left margins in pixels. This value may be null.

Returns

this builder instance.

Attributes

Remarks

Set visually left indents in pixels per lines. For the lines past the last element in the array, the last element repeats. Passing null for disabling indents. Note that even with the RTL layout, this method reserve spacing at the visually left of the line. The default value is null.

Android reference for android.text.Layout.Builder.setLeftIndents.

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