Android.Graphics.Drawables.ScaleDrawable Class
A Drawable that changes the size of another Drawable based on its current level value.

See Also: ScaleDrawable Members

Syntax

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

Remarks

A Drawable that changes the size of another Drawable based on its current level value. You can control how much the child Drawable changes in width and height based on the level, as well as a gravity to control where it is placed in its overall container. Most often used to implement things like progress bars.

It can be defined in an XML file with the <scale> 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