[android-developers] Re: 3D and 2D on same view

2008-10-06 Thread alan
the following sequence allows textview.draw to work (and i assume for other views this will work too): tx.setLayoutParams(new ViewGroup.LayoutParams(width, height)); int widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(width, View.MeasureSpec.EXACTLY); int

[android-developers] Re: 3D and 2D on same view

2008-09-26 Thread [EMAIL PROTECTED]
So this shows us how to do 2D on top of 3D. What is the qualitative performance hit of this approach on a device with a GPU? How can 3D on top of 2D be done? What of its performance? :-) For a limited application, I am trying out the approach of having View objects render into an OpenGL

[android-developers] Re: 3D and 2D on same view

2008-09-19 Thread Mike Reed
See SurfaceViewOverlay.java sample code. On Fri, Sep 19, 2008 at 5:00 AM, Shraddha Bhaskare [EMAIL PROTECTED] wrote: Hi, I need to know if 2D and 3D can co-exist on the same view. Can we have 2D and 3D views on the same screen? Thanks in advance Shraddha