Android : How to start an activity in a tab?

Posted by Miya on Stack Overflow See other posts from Stack Overflow or by Miya
Published on 2011-01-04T13:43:28Z Indexed on 2011/01/04 13:54 UTC
Read the original article Hit count: 148

Filed under:
|

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

© Stack Overflow or respective owner

Related posts about android

Related posts about tabs