AbsListView.CacheColorHint Property

Definition

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 -or- 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.

public virtual Android.Graphics.Color CacheColorHint { [Android.Runtime.Register("getCacheColorHint", "()I", "GetGetCacheColorHintHandler")] get; [Android.Runtime.Register("setCacheColorHint", "(I)V", "GetSetCacheColorHint_IHandler")] set; }
[<get: Android.Runtime.Register("getCacheColorHint", "()I", "GetGetCacheColorHintHandler")>]
[<set: Android.Runtime.Register("setCacheColorHint", "(I)V", "GetSetCacheColorHint_IHandler")>]
member this.CacheColorHint : Android.Graphics.Color with get, set

Property Value

The cache color hint

Attributes

Remarks

Property getter documentation:

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

Java documentation for android.widget.AbsListView.getCacheColorHint().

Property setter documentation:

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)).

Java documentation for android.widget.AbsListView.setCacheColorHint(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to