0

How do i make a tab bar look like this:

enter image description here

Yes, this is the tab of contact app of android 4.2.2 on samsung galaxy s3.

This is what I have so far:

enter image description here

As you can see, the height of the tabs is a bit low so the indicator override the text. So I need to increase the tab bar height.

The problem is I can't increase the height of the tabs further. Because of new android policy that limit tabs height ( it is explained here: Change Actionbar height on Android JellyBean).

Then how did google do that? Is there any tutorial to make a custom tab bar, or is there a trick to by pass limit of tab bar height?

Thank you very much for reading my quesion.

10
  • Those answers don't work, they mention it in the comments. Commented Jan 17, 2014 at 10:18
  • it does increase the action bar height i guess. try it once Commented Jan 17, 2014 at 10:21
  • developer.android.com/reference/android/…. the docs has no mention of that the height does not change. also the link you posted op wanted to change the height of tabbar Commented Jan 17, 2014 at 10:29
  • yup I tried, it did increase to a limit, which is 48 dp for galaxy s3. The tab bar in the picture is already at the limit, 48dp ... Commented Jan 17, 2014 at 10:30
  • 1
    but why do you require a action bar height to be increased so much and probably using a custom action bar would help Commented Jan 17, 2014 at 10:41

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.