A.Quiroga
A.Quiroga

Reputation: 5720

How can i have a tab into a tabHost without a view in the tabWidget?

I wanna hide 1 tab indicator View in a tabHost , cause i'll use another button to do it . The problem comes when i hide it this way:

 getTabHost().getTabWidget().getChildTabViewAt(3).setVisibility(View.GONE);

Then the separators still appearing in the tabWidget .

Any idea of how can i do it?

Thanks.

Upvotes: 1

Views: 105

Answers (1)

Shailendra Singh Rajawat
Shailendra Singh Rajawat

Reputation: 8242

If i am getting you right , you want to change view of tabIndicator . if so then use setindicator(view) at the time of adding tab .

for more help tabs1.java in ApiDemoes .

Upvotes: 1

Related Questions