setBackgroundResource

设置视图的背景色 View.setBackgroundResource

Return

View

Parameters

id

视图ID

resId

Drawable资源ID