Notification.WearableExtender.Gravity Property

Definition

Get the gravity that this notification should have within the available viewport space.

public Android.Views.GravityFlags Gravity { [Android.Runtime.Register("getGravity", "()I", "")] get; }
[<get: Android.Runtime.Register("getGravity", "()I", "")>]
member this.Gravity : Android.Views.GravityFlags

Property Value

Attributes

Remarks

Get the gravity that this notification should have within the available viewport space. Supported values include android.view.Gravity#TOP, android.view.Gravity#CENTER_VERTICAL and android.view.Gravity#BOTTOM. The default value is android.view.Gravity#BOTTOM.

Java documentation for android.app.Notification.WearableExtender.getGravity().

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