Will you please send me example of how to use views with tabs. It will be of great help.
Thanks Shakeel -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Mark Murphy Sent: Tuesday, June 22, 2010 5:02 PM To: [email protected] Subject: Re: [android-developers] UI Stack over flow On Mon, Jun 21, 2010 at 11:47 PM, shakeel <[email protected]> wrote: > My application works fine if launch independently, but gives stack over flow > when I use add my class to tabhost. > > Please suggest Don't use activities as the contents of tabs. Use views as the contents of tabs. As I have been saying, again and again and again, for a year or so. You can also use hierarchyviewer to see if there are other optimizations you can make, to shorten the depth of your View hierarchy. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 2.1 Available! -- 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 -- 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

