Skip to content Skip to sidebar Skip to footer

Actionbar.selecttab Doesn't Refresh Spinner In Compact Mode

In an application, I'm using Tabs with the ActionBar, and sometimes I switch tabs programatically using the ActionBar.selectTab() method. This works well but when the width of the

Solution 1:

This is a known bug in Android. Please look at a workaround suggested by Jake Wharton here: and star the issue so it gets fixed

Solution 2:

This problem has been asked on ActionBarSherlock github. It seems that this problem also exists on the ICS ActionBar.

It can be avoided with ABS by changing the source as stated in the link. For the native ActionBar, I managed to make a workaround using reflection to access the action bar's dropdown spinner.

Post a Comment for "Actionbar.selecttab Doesn't Refresh Spinner In Compact Mode"