Language

Notification.WearableExtender.SetContentIconGravity(GravityFlags) Method

Definition

Set the gravity that the content icon should have within the notification display.

[Android.Runtime.Register("setContentIconGravity", "(I)Landroid/app/Notification$WearableExtender;", "")]
public Android.App.Notification.WearableExtender? SetContentIconGravity(Android.Views.GravityFlags contentIconGravity);
[<Android.Runtime.Register("setContentIconGravity", "(I)Landroid/app/Notification$WearableExtender;", "")>]
member this.SetContentIconGravity : Android.Views.GravityFlags -> Android.App.Notification.WearableExtender

Parameters

contentIconGravity
GravityFlags

int

Returns

This Android.App.Notification.WearableExtender instance, allowing calls to be chained.

Attributes

Remarks

Set the gravity that the content icon should have within the notification display. Supported values include Gravity.START and Gravity.END. The default value is Gravity.END.

See also:

Android reference for android.app.Notification.WearableExtender.setContentIconGravity.

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