Language

DynamicLayout.Builder.SetEllipsizedWidth(Int32) Method

Definition

Set the width as used for ellipsizing purposes, if it differs from the normal layout width.

[Android.Runtime.Register("setEllipsizedWidth", "(I)Landroid/text/DynamicLayout$Builder;", "", ApiSince=28)]
public Android.Text.DynamicLayout.Builder SetEllipsizedWidth(int ellipsizedWidth);
[<Android.Runtime.Register("setEllipsizedWidth", "(I)Landroid/text/DynamicLayout$Builder;", "", ApiSince=28)>]
member this.SetEllipsizedWidth : int -> Android.Text.DynamicLayout.Builder

Parameters

ellipsizedWidth
Int32

width used for ellipsizing, in pixels. Value is 0 or greater

Returns

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

Attributes

Remarks

Set the width as used for ellipsizing purposes, if it differs from the normal layout width. The default is the width passed to obtain(CharSequence, TextPaint, int).

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

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