語言

View.SetBackgroundColor(Color) 方法

定義

設定這個視角的背景色。

[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

參數

color
Color

背景的顏色

屬性

備註

設定這個視角的背景色。

Java 文件 android.view.View.setBackgroundColor(int)

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於