0

Possible Duplicate:
Launching activities within a tab in Android

I have tab bar it contains 4 tabs,each one call diff activity.In that class i have list view its item click call another activity.At that time the tab bar was not shown...I want app as, i call any activity in app,it always will show the tab bar.please help me.

Community
  • 1
  • 1
user970607
  • 73
  • 1
  • 10

1 Answers1

0

You need to use FragmentActivity, FragmentListView to get that. You will be replacing current fragment with next screen in the flow (which is also a fragment). you will have to manage your own backstack, so that something meaningful happens when user presses back button.

refer Fragment for All, Fragment, Fragments, Fragment Tutorial

gandharva
  • 691
  • 5
  • 16