View.SolidColor Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Override this if your view is known to always be drawn on top of a solid color background, and needs to draw fading edges.
public virtual int SolidColor { [Android.Runtime.Register("getSolidColor", "()I", "GetGetSolidColorHandler")] get; }
[<get: Android.Runtime.Register("getSolidColor", "()I", "GetGetSolidColorHandler")>]
member this.SolidColor : int
Property Value
The known solid color background for this view, or 0 if the color may vary
- Attributes
Remarks
Override this if your view is known to always be drawn on top of a solid color background, and needs to draw fading edges. Returning a non-zero color enables the view system to optimize the drawing of the fading edges. If you do return a non-zero color, the alpha should be set to 0xFF.
Java documentation for android.view.View.getSolidColor()
.
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.