public final class ViewUtil
extends java.lang.Object
View.| Modifier and Type | Method and Description |
|---|---|
static void |
setBackground(android.view.View view,
android.graphics.drawable.Drawable background)
Sets the background of a view.
|
public static void setBackground(android.view.View view,
android.graphics.drawable.Drawable background)
view - The view, whose background should be set, as an instance of the class View.
The view may not be nullbackground - The background, which should be set, as an instance of the class Drawable, or
null, if no background should be set