Tabs in Android 2.2 occupying full width.
Tabs in Android 4.2 nexus 7, tabs not occupying full width.
Both having same code. using actionBarsherlock
e.g.
final ActionBar actionBar = getSupportActionBar();
actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
// add tabs
Tab tab1 = actionBar.newTab().setText("TabTitle1")
.setTabListener(new MyTabListener(null));
actionBar.addTab(tab1);
What am I missing? Should this be fixed in theme! I just want the tabs to occupy full available width
This is not a bug for two reasons:
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