Is there a way to unselect all the elements in the TabHost. I guess I can make a stub tab, which will have a width of 0dp. Is it a way to go ? How is it done -how do I apply style to one particular tab ?
Share
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.
If that’s the approach your going with Id suggest you create your own Tab View for the “fake tab”.
Something like this
Then just add it to your TabHost in the following way :
When you want to display all tabs as unselected you simple make the TabHost select your fake tab.