Set Tab Height In Android

There is a way to explicitly set a tab’s height in Android. It is very simply actually. Just do it like this (I assume your class extends TabActivity).

However, I would advise you not to do this since Android phones are of different screen sizes unlike the iPhone where it only has a fixed width and height. It is best to do it using other ways that calculates the dimensions on the fly.

Related Posts Plugin for WordPress, Blogger...

Leave a Reply

Your email address will not be published. Required fields are marked *