语言

Notification.ProgressStyle.SetProgressEndIcon(Icon) 方法

定义

在进度栏末尾显示的可选方形图标。

[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

参数

endIcon
Icon

图标:此值可能为 null。

返回

此 Android.App.Notification.ProgressStyle 实例允许链接调用。

特性

注解

在进度栏末尾显示的可选方形图标。 此图标将裁剪为其中心方形。 此图标不会在 RTL 布局中镜像。

Android 参考。android.app.Notification.ProgressStyle.setProgressEndIcon

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于