I have an application with 4 tabs. By default every tab width is 1/4 of the screen width. How can I override this?
I need the tabs to have a different width for each one. Any ideas on how to accomplish that?
Try this:
tabHost.getTabWidget().getChildAt(0).getLayoutParams().height = 35;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With