語言

AnalogClock.DialTintList 屬性

定義

警告

deprecated

會對可繪製的旋鈕施加色調。

[System.Obsolete("deprecated")]
public virtual Android.Content.Res.ColorStateList? DialTintList { [Android.Runtime.Register("getDialTintList", "()Landroid/content/res/ColorStateList;", "GetGetDialTintListHandler", ApiSince=31)] get; [Android.Runtime.Register("setDialTintList", "(Landroid/content/res/ColorStateList;)V", "GetSetDialTintList_Landroid_content_res_ColorStateList_Handler", ApiSince=31)] set; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getDialTintList", "()Landroid/content/res/ColorStateList;", "GetGetDialTintListHandler", ApiSince=31)>]
[<set: Android.Runtime.Register("setDialTintList", "(Landroid/content/res/ColorStateList;)V", "GetSetDialTintList_Landroid_content_res_ColorStateList_Handler", ApiSince=31)>]
member this.DialTintList : Android.Content.Res.ColorStateList with get, set

屬性值

刻度盤上的色調可繪製

屬性

備註

財產取得者文件:

Java 文件 android.widget.AnalogClock.getDialTintList()。

屬性設定文件:

會對可繪製的旋鈕施加色調。

後續呼叫 會 #setDial(Icon) 自動改變可繪圖物件,並使用 Drawable#setTintList(ColorStateList)。

Java 文件 android.widget.AnalogClock.setDialTintList(android.content.res.ColorStateList)。

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

適用於