开发者

tabs disappear when starting new activity from tab content [duplicate]

This qu开发者_如何学Goestion already has answers here: Launching activities within a tab in Android (7 answers) Closed 3 years ago.

I have five tabs in my application.One tabs contain several activity.That is i have set content(one activity) for that tab and later from the content(activity) calling another acivityforresult().But my tabs get disappear as soon as new activity started.

thanks


Well, you are looking for a concept called ActivityGroup.

I have listed a few sites which will be helpful in learning things and get started with it.

http://developer.android.com/reference/android/app/ActivityGroup.html

http://blog.henriklarsentoft.com/2010/07/android-tabactivity-nested-activities/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜