PopupWindow lets you make a window on top of another directly.  You can do a
similar thing with Dialog (using the translucent theme).  One or the other
may be easier for you depending on exactly what you are doing.

On Thu, Mar 19, 2009 at 4:52 PM, Tomei Ningen <[email protected]>wrote:

> Hello,
>
> I have a 2D app. When the user presses a button, I need to quickly open a
> translucent 3D animation and overlay that on top of the 2D app. This is
> similar to the "Translucent GLSurfaceView" demo in APIDemo.
>
> However, with APIDemo on G1, it takes about 100~200ms for the new Activity
> to come up. For me, this is too long. Is there any way to make it faster (to
> about 30~60ms).
>
> My idea is to create a transparent Window object that contains a
> SurfaceView and hide it. When user presses button, the Window is shown.
>
> Is this doable?
>
> Thanks!
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

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.

--~--~---------~--~----~------------~-------~--~----~
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