View.SetBackgroundColor(Color) Method

Definition

Sets the background color for this view.

[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

Parameters

color
Color

the color of the background

Attributes

Remarks

Sets the background color for this view.

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

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to