views:

142

answers:

1

I am not using an image icon, only a (fixed size) text indicator. How do I set the tab height to its most efficient size?[wrap_content has no effect.]

+1  A: 

You want to use the setIndicator method to set the view that should be displayed inside the tab. This will allow you to use a custom view

TabHost docs

smith324
Your link is broken.
I82Much
Hey! That works great! Much appreciated ...
gssi
@gssi please click the check mark if my solution has helped you. @I82Much sorry about the link, its the TabSpec's setIndicator(). http://developer.android.com/reference/android/widget/TabHost.TabSpec.html#setIndicator(android.view.View)
smith324