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
smith324
2010-09-21 17:39:28
Your link is broken.
I82Much
2010-09-21 17:48:28
Hey! That works great! Much appreciated ...
gssi
2010-09-22 02:39:53
@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
2010-09-22 14:28:58