語言

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

圖示:此值可能為空值。

傳回

這個 Android.App.Notification.ProgressStyle 實例,允許呼叫串接。

屬性

備註

一個可選的方形圖示,會出現在進度條末端。 此圖示將被裁切至中央方格。 這個圖示不會在 RTL 版面中鏡像。

Android 參考資料。android.app.Notification.ProgressStyle.setProgressEndIcon

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於