I have three tabs in a tabhost.
I can switch between the three tabs.
However I want the third tab to be not clickable. That will be triggered by a diff button in tab one.
Any help as how to achieve this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try :
If you want to disable one tab button on TabWidget, then try this code:
// tabHost = … (get TabHost)
If you want to disable tab widget in overall, then:
// tabWidget = … (get TabWidget)