View.BackgroundTintList Proprietà

Definizione

Restituisce la tinta applicata allo sfondo disegnabile, se specificata. Applica una tinta allo sfondo disegnabile.

public virtual Android.Content.Res.ColorStateList? BackgroundTintList { [Android.Runtime.Register("getBackgroundTintList", "()Landroid/content/res/ColorStateList;", "GetGetBackgroundTintListHandler")] get; [Android.Runtime.Register("setBackgroundTintList", "(Landroid/content/res/ColorStateList;)V", "GetSetBackgroundTintList_Landroid_content_res_ColorStateList_Handler")] set; }
[<get: Android.Runtime.Register("getBackgroundTintList", "()Landroid/content/res/ColorStateList;", "GetGetBackgroundTintListHandler")>]
[<set: Android.Runtime.Register("setBackgroundTintList", "(Landroid/content/res/ColorStateList;)V", "GetSetBackgroundTintList_Landroid_content_res_ColorStateList_Handler")>]
member this.BackgroundTintList : Android.Content.Res.ColorStateList with get, set

Valore della proprietà

tinta applicata allo sfondo disegnabile

Attributi

Commenti

Documentazione del getter delle proprietà:

Restituisce la tinta applicata allo sfondo disegnabile, se specificato.

per android.view.View.getBackgroundTintList().

Documentazione del setter delle proprietà:

Applica una tinta allo sfondo disegnabile. Non modifica la modalità tinta corrente, che è BlendMode#SRC_IN per impostazione predefinita.

Le chiamate successive a #setBackground(Drawable) modificano automaticamente l'oggetto drawable e applicano la tinta e la modalità tinta specificate usando Drawable#setTintList(ColorStateList).

per android.view.View.setBackgroundTintList(android.content.res.ColorStateList).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a

Vedi anche