Android : How to start an activity in a tab?
- by Miya
Hi,
I am using tabs in my application.
I have 3 tabs :
home, services, contact us.
In the 'home tab', there is 'login button' and my requirement is when I click the login button, it should display the view for 'login' in the same tab itself. That means it should start another activity (login.class) and display corresponding view (login.xml). And the tabs should be displayed at the top as before.
But when I click the login button, it should start login activity, but the tabs are disappeared.
How can I start an activity in the same tab itself?
Please help me.
Thank you...