DynamicLayout.Builder.SetAlignment(Layout+Alignment) 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 the alignment.
[Android.Runtime.Register("setAlignment", "(Landroid/text/Layout$Alignment;)Landroid/text/DynamicLayout$Builder;", "", ApiSince=28)]
public Android.Text.DynamicLayout.Builder SetAlignment(Android.Text.Layout.Alignment alignment);
[<Android.Runtime.Register("setAlignment", "(Landroid/text/Layout$Alignment;)Landroid/text/DynamicLayout$Builder;", "", ApiSince=28)>]
member this.SetAlignment : Android.Text.Layout.Alignment -> Android.Text.DynamicLayout.Builder
Parameters
- alignment
- Layout.Alignment
Alignment for the resulting DynamicLayout This value cannot be null.
Returns
this builder, useful for chaining. This value cannot be null.
- Attributes
Remarks
Set the alignment. The default is Layout.Alignment.ALIGN_NORMAL.
Android reference for android.text.DynamicLayout.Builder.setAlignment.
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.