ScaleDrawable
ScaleDrawable is a drawable wrapper in the Android framework that scales its wrapped drawable according to the drawable’s current level. It allows dynamic visual effects such as progress-like filling by adjusting how much of the child drawable is drawn within its bounds. ScaleDrawable belongs to the android.graphics.drawable package and is commonly used to create partial fills, indicators, and other UI elements that change size smoothly.
The scale is controlled by two attributes, scaleWidth and scaleHeight, which define the maximum proportional size
XML usage typically looks like a scale tag that references the drawable to wrap and the desired
See also: ClipDrawable, RotateDrawable, LevelListDrawable, Drawable.