Hi, Wanted to know if its possible to draw ViewGroup contents on SurfaceView/SurfaceHolder canvas? I'm trying to achieve fast 2D animation (using SurfaceView) alongside Android UI components on the screen.
Since SurfaceView punches a hole in the app window, I tried creating SurfaceView, and inside there I created LinearLayout and added couple of controls (Button and ImageView). Now I tried calling mLayout.draw (canvas) from SurfaceHolder canvas, it doesn't render anything. Am i missing something here? I wonder if that would yield better performance then calling invalidate from Activity.runOnUiThread(). Please advice. Thanks, --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

