How Can I Change the Size of the Tabs When Using a TabActivity?

Given that you have a TabHost named tabHost, try:

tabHost.getTabWidget().getChildAt(0).setLayoutParams(new LinearLayout.LayoutParams(width,height));

where width and height are the desired size for that tab.

You would need to repeat this for every tab via calls to appropriate indexes of getChildAt().

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License