how can I clear a transparent or translucent canvas

by Romain Guy » Fri, 13 Mar 2009 01:47:45 GMT

Sponsored Links
 Just call Canvas.drawColor(0).

Romain Guy
Android framework engineer

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them


Other Threads

1. OutOfMemoryError (external allocation too large for this process)

Hi Experts,

I am beating my head against a wall since 3 days trying to resolve out
of memory exception but still no success.
here is the line giving me this error


everytime when i change the orientation or start this activity again,
it gives me out of memory exception

VM won't let us allocate 6291456 bytes.

it seems i am not leting GC to release my memory.
any solution would be appreciated

2. about YAFFS2 Image

Hi all:
     I know to make yaffs2 image from rootfs using mkyaffs2imag tool.
But sometimes I need to know the content of the yaffs2 image. how to
know to it or how to convert yaff2 image to rootfs?any ideas? thanks.


3. Open the mail go to top level income on next day

4. How to compensate for gravity reading in order to calculate velocity

5. Paying $50 for someone to design an application...

6. How can make Calendar in Android relate to my Gmail account?

7. Curl for android