共用方式為


TextView.CompoundDrawableTintMode 屬性

定義

傳回混合模式,以在指定時將色調套用至複合可繪製。 -或- 指定用於將 指定的 #setCompoundDrawableTintList(ColorStateList) 色調套用至複合可繪製物的混合模式。

public virtual Android.Graphics.PorterDuff.Mode? CompoundDrawableTintMode { [Android.Runtime.Register("getCompoundDrawableTintMode", "()Landroid/graphics/PorterDuff$Mode;", "GetGetCompoundDrawableTintModeHandler", ApiSince=23)] get; [Android.Runtime.Register("setCompoundDrawableTintMode", "(Landroid/graphics/PorterDuff$Mode;)V", "GetSetCompoundDrawableTintMode_Landroid_graphics_PorterDuff_Mode_Handler", ApiSince=23)] set; }
[<get: Android.Runtime.Register("getCompoundDrawableTintMode", "()Landroid/graphics/PorterDuff$Mode;", "GetGetCompoundDrawableTintModeHandler", ApiSince=23)>]
[<set: Android.Runtime.Register("setCompoundDrawableTintMode", "(Landroid/graphics/PorterDuff$Mode;)V", "GetSetCompoundDrawableTintMode_Landroid_graphics_PorterDuff_Mode_Handler", ApiSince=23)>]
member this.CompoundDrawableTintMode : Android.Graphics.PorterDuff.Mode with get, set

屬性值

用於將色調套用至複合可繪製的混合模式

屬性

備註

屬性 getter 檔:

android.widget.TextView.getCompoundDrawableTintMode()Java 檔。

屬性 setter 檔:

android.widget.TextView.setCompoundDrawableTintMode(android.graphics.Mode)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於