JakeWharton / ActionBarSherlock

[DEPRECATED] Action bar implementation which uses the native action bar on Android 4.0+ and a custom implementation on pre-4.0 through a single API and theme.
http://actionbarsherlock.com
Apache License 2.0
7.1k stars 3.53k forks source link

Spinner navigation unresponsive #535

Open bencallis opened 12 years ago

bencallis commented 12 years ago

Some users of my application are experiencing a weird problem when using my application in landscape mode on a phone. I am using actionbarsherlock and have set the navigation mode to tabs (using ActionBar.NAVIGATION_MODE_TABS). Some users are finding when launching the app in portrait and then rotating the device the actionbar shows a spinner which is not selectable. As I understand sometime a spinner can be shown despite tabs being set but I have no idea why the spinner can not be selected.

Link to app:

http://tinyurl.com/cnejnjs

bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
bar.addTab(bar.newTab().setText("Deals").setTabListener(this),false);
bar.addTab(bar.newTab().setText("Vouchers").setTabListener(this),false);
bar.addTab(bar.newTab().setText("Freebies").setTabListener(this),false);
JakeWharton commented 12 years ago

Are you handling configuration changes? That is, android:configChanges="orientation" in the manifest?

bencallis commented 12 years ago

Nope. I used to but not anymore (after it messed up the tabs).