Helo Dear Reader! I'm trying to implement my custom interface for a drawing application which contains an editor ViewGroup. The editor group moreover contains a SurfaceView for holding the image and custom Views for toolbars. Now I wanna make the toolbars ViewGroups as well, so I could make the toolbar buttons as additional Views, each having their own event handlers and drawing functions. I don't want to implement new GUI components, but to build on Android API and only extend the drawing and event handling functions of the View. This is necessary as I want to display the toolbar ontop of the image so I need my customized layout as well.
My problem is that there is no such function ViewGroup.addView(ViewGroup view), however the documentation states on the page about the View: "The ViewGroup subclass is the base class for layouts, which are invisible containers that hold other Views (or other ViewGroups) and define their layout properties." Could someone please explain how to nest a ViewGroup in another ViewGroup? -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

