I have 5 tabs in all. This is how I am adding them :
for (int i = 0; i < tabs.length; i++) {
if (i == 0) {
actionBa
Tab view width is based on content/yourImage size, so to make tab view width smaller, we have to control the content/Image size. You can do this by putting ImageView inside FrameLayout, for example your customView can be:
and custom style for tab:
[SCREENSHOT]
For FrameLayout size with 24dp:

For FrameLayout size with 40dp
