What is the difference between Bitmap and Drawable in Android?

Technology CommunityCategory: AndroidWhat is the difference between Bitmap and Drawable in Android?
VietMX Staff asked 3 years ago
  • Bitmap is a representation of a bitmap image (something like java.awt.Image).
  • Drawable is an abstraction of “something that can be drawn”. It could be a Bitmap (wrapped up as a BitmapDrawable), but it could also be a solid color, a collection of other Drawable objects, or any number of other structures.