Yes, this works. Thanks!
On Mon, Jan 21, 2013 at 5:08 PM, Michael Leung <michaelchi...@gmail.com>wrote: > actionBar.setSelectedNavigationItem(x)? > > > On Tue, Jan 22, 2013 at 4:17 AM, Summer <novelt...@gmail.com> wrote: > >> Could you give me an example of how to set the fragment to be active? >> Thanks >> >> 在 2013年1月20日星期日UTC-8下午9时15分22秒,Michael Leung写道: >>> >>> Can you set the tab with B Fragment to be active? >>> >>> On Mon, Jan 21, 2013 at 9:25 AM, Summer <nove...@gmail.com> wrote: >>> >>>> https://github.com/Leandros/**Ac**tionBar-with-Tabs<https://github.com/Leandros/ActionBar-with-Tabs> >>>> >>>> >>>> say I am in A fragment, i have a button, after I click this button, how >>>> can I jump to B fragment, as B tab is clicked? >>>> >>>> Thanks >>>> --S >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Android Developers" group. >>>> To post to this group, send email to android-d...@**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<http://groups.google.com/group/android-developers?hl=en> >>>> >>> >>> >>> >>> -- >>> Regards, >>> Michael Leung >>> http://www.itblogs.info - My IT Blog >>> http://diary.skynovel.info - My Blog >>> http://www.michaelleung.info - My Homepage >>> >> -- >> 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 >> > > > > -- > Regards, > Michael Leung > http://www.itblogs.info - My IT Blog > http://diary.skynovel.info - My Blog > http://www.michaelleung.info - My Homepage > > -- > 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