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().

page_revision: 1, last_edited: 1243820882|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License