View.TextAlignmentGravity Field
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.
Caution
This constant will be removed in the future version. Use Android.Views.TextAlignment enum directly instead of this field.
Default for the root view.
[Android.Runtime.Register("TEXT_ALIGNMENT_GRAVITY")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.TextAlignment enum directly instead of this field.", true)]
public const Android.Views.TextAlignment TextAlignmentGravity = 1;
[<Android.Runtime.Register("TEXT_ALIGNMENT_GRAVITY")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.TextAlignment enum directly instead of this field.", true)>]
val mutable TextAlignmentGravity : Android.Views.TextAlignment
Field Value
Value = 1- Attributes
Remarks
Default for the root view. The gravity determines the text alignment, ALIGN_NORMAL, ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph's text direction.
Use with #setTextAlignment(int)
Java documentation for android.view.View.TEXT_ALIGNMENT_GRAVITY
.
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.