Don't nest activities.  Directly use a tab widget to show your tabs, and
manually control the content that is shown based on the tab.

On Thu, Jun 9, 2011 at 4:53 PM, Manish Garg <mannishga...@gmail.com> wrote:

> Sorry I didn't get your point. You said that it is not possible to
> have more than one level. I had used tab widget only for displaying
> nested level but facing application crash at the time of displaying
> dialog from the child activity
>
> android.view.WindowManager$BadTokenException: Unable to add window --
> token android.app.LocalActivityManager$LocalActivityRecord@43ed5c78 is
> not valid; is your activity running?
>
>
> On Jun 9, 7:39 pm, Dianne Hackborn <hack...@android.com> wrote:
> > Just use the tab widget yourself.
> >
> >
> >
> >
> >
> > On Thu, Jun 9, 2011 at 4:25 PM, Manish Garg <mannishga...@gmail.com>
> wrote:
> > > Is there any other widget available to give the impression like nested
> > > tab activity.
> > > I was able to create nested tab activity but sometime it get crashed
> > > like showing dialog from the child activity of the nested tab activity
> >
> > > On Jun 9, 5:22 pm, Dianne Hackborn <hack...@android.com> wrote:
> > > > No it is not.  There is only one level of nesting of activities.
> >
> > > > On Thu, Jun 9, 2011 at 2:02 PM, Manish Garg <mannishga...@gmail.com>
> > > wrote:
> > > > > Hi All,
> >
> > > > > I want to implement nested tab activity but getting exception in
> some
> > > > > cases like at the time of calling dialog.show from the activity of
> the
> > > > > nested activity and during drawing grid view inside nested
> activity.
> >
> > > > > Regards,
> > > > > Manish Garg
> >
> > > > > --
> > > > > 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
> >
> > > > --
> > > > Dianne Hackborn
> > > > Android framework engineer
> > > > hack...@android.com
> >
> > > > Note: please don't send private questions to me, as I don't have time
> to
> > > > provide private support, and so won't reply to such e-mails.  All
> such
> > > > questions should be posted on public forums, where I and others can
> see
> > > and
> > > > answer them.- Hide quoted text -
> >
> > > > - Show quoted text -
> >
> > > --
> > > 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
> >
> > --
> > Dianne Hackborn
> > Android framework engineer
> > hack...@android.com
> >
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support, and so won't reply to such e-mails.  All such
> > questions should be posted on public forums, where I and others can see
> and
> > answer them.- Hide quoted text -
> >
> > - Show quoted text -
>
> --
> 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
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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