setBackgroundColor [2/2]

  • Android

更新时间

设置 RGB 格式的背景颜色。

Java
public void setBackgroundColor(int red, int green, int blue)

参数

red

红色分量。

green

绿色分量。

blue

蓝色分量。

这个页面有帮助吗?