Allow placeholder drawable to be sized by the client. First try to use the
bounds, then try to use the intrinsic bounds.

When a key is null, set load state to FAILED instead of UNINITIALIZED. The
difference is that FAILED shows the placeholder as a static image while
UNINITIALIZED hides it.

Fix bug in BitmapDrawableImageView where detaching from the window would set
its drawable to null, throwing away state.

Change-Id: I0b3f6c931d750ec4042e13bc1cbcf2d63e260168
2 files changed
tree: bb2c9e882208ba47ac77017a2d59d3e58056d668
  1. res/
  2. sample/
  3. src/
  4. Android.mk
  5. AndroidManifest.xml