Langue

View.SetBackgroundColor(Color) Méthode

Définition

Définit la couleur d’arrière-plan de cette vue.

[Android.Runtime.Register("setBackgroundColor", "(I)V", "GetSetBackgroundColor_IHandler")]
public virtual void SetBackgroundColor(Android.Graphics.Color color);
[<Android.Runtime.Register("setBackgroundColor", "(I)V", "GetSetBackgroundColor_IHandler")>]
abstract member SetBackgroundColor : Android.Graphics.Color -> unit
override this.SetBackgroundColor : Android.Graphics.Color -> unit

Paramètres

color
Color

couleur de l’arrière-plan

Attributs

Remarques

Définit la couleur d’arrière-plan de cette vue.

Java documentation pour android.view.View.setBackgroundColor(int).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à