Temporarly disabling one of the tabs in Tab Activity

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Temporarly disabling one of the tabs in Tab Activity

Postby tsucheck » Tue Oct 07, 2008 3:29 am

Hi Guys,

Its been a while... I'm currently looking at the Tab Activity and creating tabs. Pretty straight forward from the samples included with the new 1.0 SDK. However I'm trying to disable one of the tabs temporarly. For instance you have two tabs A and B. Can click both of them. In the view associated with tab A there is a button. When the button is pressed I would like to prevent the user from being able to click on tab B. Gray it out or whatever.

I've spend last several hours looking at the tab documentation, tabhost and tabwidgets. Can't seem to find anything that will let me do it. Not sure if its even possible with the current SDK.

Any answers are greatly appreciated.

Cheers,

Tom
tsucheck
Developer
Developer
 
Posts: 29
Joined: Sun Feb 17, 2008 2:07 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 4 guests