I looked all stackoverflow's topics about it, and none of these solutions - like this one:
<style name="Widget.Holo.Tab" parent="@android:style/Widget.Holo.Light.ActionBar.TabView">
<item name="android:height">#dp</item>
</style>
<style name="Your.Theme" parent="@android:style/Theme.Holo.Light">
<item name="android:actionBarTabStyle">@style/Widget.Holo.Tab</item>
</style>
http://stackoverflow.com/questions/9286638/actionbar-tabs-height
that changed nothing - (none of these) helped me.
I have 5 tabs, without title, just icon, but I need it to be all visible at the same time, so it have to be small to fit all. How can I make the tab has that size?
Change the height of your
ActionBar
to change your tabs size:Hope this helps.
EDIT:
Maybe you can customize a TabBar yourself with
ImageViews
, see below:And in your
Activity
, you can make aNavListener
:Hope this helpful.