Android.graphics.drawable.Drawable
lastmod 2026-11-10created 2016-05-302 edits
android.graphics.drawable.Drawable is an abstract class in Android that represents something that can be drawn on the screen. It handles bitmaps, shapes, colors, layers, per-state images, and so on through a common interface, and is set as a view's background or image source. Subclasses include BitmapDrawable, ShapeDrawable, and StateListDrawable, and it can also be defined as an XML resource.