Answering my own question:

If using the draw method on an ImageView, the transparent color is
treated as transparent. No extra effort is required. The Z-order is in
order of the draw operations (not surprising).

Example code:
  if ( bm1 != null ) {
          canvas.drawBitmap(bm1, (Rect)null, r, new Paint());
        }
        if ( bm2 != null ) {
          canvas.drawBitmap(bm2, (Rect)null, r, new Paint());
        }
  }

On Jan 9, 3:19 pm, SChaser <[email protected]> wrote:
> I have an app that downloads several gifs and then needs to overlay
> them (not all centered at the same point), honoring the transparency
> of the images.
>
> I am currently planning to subclass ImageView.
>
> What is an efficient way to do the overlay/merge?
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to