Hi Wesley,

 You can do this by setting the transparent background of the Activity, in
which you are drawing.

 For example in ApiDemos>graphics>FingerPaint.java you can make the
following changes to get the behavior you are looking for:

 1) As shown ApiDemos>apps>TranslucentActivity sample code, add the tag
below to the FingerPaint Activity declaration in AndroidManifest.xml
    android:theme="@style/Theme.Translucent"

 2) Comment out the first line in OnDraw(), which paints the background in
color :
      // canvas.drawColor(0xFFAAAAAA);

 Thanks,
 Megha



On Sun, Apr 27, 2008 at 10:56 PM, Wesley Sagittarius <[EMAIL PROTECTED]>
wrote:

>
> paint on screen and "home" still visible, can android do it???
> re-paint on screen when change screen and "home" still visible, can
> android do it???
>
> Anyone have any idea??
>
>
> Wesley Sagittarius.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to