Will you please send me example of how to use views with tabs.

It will be of great help.

Thanks
Shakeel

-----Original Message-----
From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of Mark Murphy
Sent: Tuesday, June 22, 2010 5:02 PM
To: android-developers@googlegroups.com
Subject: Re: [android-developers] UI Stack over flow

On Mon, Jun 21, 2010 at 11:47 PM, shakeel <shakeelaha...@tataelxsi.co.in>
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to