TextView.CompoundDrawableTintList 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將色調套用至複合可繪製專案。
public virtual Android.Content.Res.ColorStateList? CompoundDrawableTintList { [Android.Runtime.Register("getCompoundDrawableTintList", "()Landroid/content/res/ColorStateList;", "GetGetCompoundDrawableTintListHandler", ApiSince=23)] get; [Android.Runtime.Register("setCompoundDrawableTintList", "(Landroid/content/res/ColorStateList;)V", "GetSetCompoundDrawableTintList_Landroid_content_res_ColorStateList_Handler", ApiSince=23)] set; }
[<get: Android.Runtime.Register("getCompoundDrawableTintList", "()Landroid/content/res/ColorStateList;", "GetGetCompoundDrawableTintListHandler", ApiSince=23)>]
[<set: Android.Runtime.Register("setCompoundDrawableTintList", "(Landroid/content/res/ColorStateList;)V", "GetSetCompoundDrawableTintList_Landroid_content_res_ColorStateList_Handler", ApiSince=23)>]
member this.CompoundDrawableTintList : Android.Content.Res.ColorStateList with get, set
屬性值
塗在複合可繪圖上的色調
- 屬性
備註
財產取得者文件:
Java 文件 android.widget.TextView.getCompoundDrawableTintList()。
屬性設定文件:
將色調套用至複合可繪製專案。 不會修改目前預設的 BlendMode#SRC_IN 貼膜模式。
後續呼叫 #setCompoundDrawables(Drawable, Drawable, Drawable, Drawable) 及相關方法會自動變異可繪圖元件,並使用指定的 Drawable#setTintList(ColorStateList)色調與色調模式。
Java 文件 android.widget.TextView.setCompoundDrawableTintList(android.content.res.ColorStateList)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。