void android.widget.ListView.setCacheColorHint(int color)
public void setCacheColorHint (int color)
When set to a non-zero value, the cache color hint indicates
that this list is always drawn on top of a solid, single-color,
opaque background. Zero means that what's behind this object is
translucent (non solid) or is not made
of a single color. This hint will not affect any existing
background drawable set on this view ( typically set via
setBackgroundDrawable(Drawable)
).
Parameters
color | The background color |
---|