Notification.ProgressStyle.SetProgressEndIcon(Icon) Method

Definition

An optional square icon that appears at the end of the progress bar.

[Android.Runtime.Register("setProgressEndIcon", "(Landroid/graphics/drawable/Icon;)Landroid/app/Notification$ProgressStyle;", "GetSetProgressEndIcon_Landroid_graphics_drawable_Icon_Handler", ApiSince=36)]
public virtual Android.App.Notification.ProgressStyle SetProgressEndIcon(Android.Graphics.Drawables.Icon? endIcon);
[<Android.Runtime.Register("setProgressEndIcon", "(Landroid/graphics/drawable/Icon;)Landroid/app/Notification$ProgressStyle;", "GetSetProgressEndIcon_Landroid_graphics_drawable_Icon_Handler", ApiSince=36)>]
abstract member SetProgressEndIcon : Android.Graphics.Drawables.Icon -> Android.App.Notification.ProgressStyle
override this.SetProgressEndIcon : Android.Graphics.Drawables.Icon -> Android.App.Notification.ProgressStyle

Parameters

endIcon
Icon

Icon: This value may be null.

Returns

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

Attributes

Remarks

An optional square icon that appears at the end of the progress bar. This icon will be cropped to its central square. This icon will NOT be mirrored in RTL layouts.

Android reference for android.app.Notification.ProgressStyle.setProgressEndIcon.

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