Android.Graphics.Drawables.GradientDrawable Class
A Drawable with a color gradient for buttons, backgrounds, etc.

See Also: GradientDrawable Members

Syntax

[Android.Runtime.Register("android/graphics/drawable/GradientDrawable", DoNotGenerateAcw=true)]
public class GradientDrawable : Drawable

Remarks

A Drawable with a color gradient for buttons, backgrounds, etc.

It can be defined in an XML file with the <shape> element. For more information, see the guide to Drawable Resources.

[Android Documentation]

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1