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
属性值
应用于复合可绘制物的色调
- 特性
注解
属性 getter 文档:
Java文档android.widget.TextView.getCompoundDrawableTintList()。
属性 setter 文档:
向复合可绘制对象应用淡色。 不修改默认的当前淡色模式 BlendMode#SRC_IN 。
后续调用 #setCompoundDrawables(Drawable, Drawable, Drawable, Drawable) 和相关方法将自动改变可绘制结果,并使用指定的色调和淡色模式 Drawable#setTintList(ColorStateList)。
Java文档android.widget.TextView.setCompoundDrawableTintList(android.content.res.ColorStateList)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。