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