ActionBarSherlock v3.1.0 Release Notes

Release Date: 2011-07-22 // almost 13 years ago
  • Due to shortcomings in the Android theming system, a small change must be made ๐Ÿ’… in how this library handles themes. If you were using a custom style for ๐Ÿ’… actionBarStyle you must now specify its attributes in the root of the theme and prefix them with 'ab'.

    ๐Ÿ‘€ You can see an example of this in the SherlockCustom theme in ๐Ÿ’… samples/demos/res/values/styles.xml.

    • Library now uses the r3 version of the compatibility library for its base.
    • actionBarStyle is no longer a valid theme attribute (see note above).
    • Added the demo project included with the new compatibility library under samples/demos/ and merged in the old 'featuredemo'.
    • Dividers are now shown on pre-3.0 devices between all action items.
    • Window.FEATURE_ACTION_BAR_OVERLAY is now honored on pre-3.0 devices.
    • Inflation of XML menu resources will now honor android:actionLayout and android:actionViewClass attributes.
    • Buttons for displaying the determinate and indeterminate progress bars have been added to the feature toggle demo.
    • Added support for indeterminate progress bar. Due to the final modifier on the native type, you must use setIndeterminateProgressBarVisibility(Boolean) and pass Boolean.TRUE or Boolean.FALSE.
    • Fix: MenuBuilder#removeItem(int) and MenuBuilder#findItem(int) throwing IndexOutOfBoundsExceptions when the item was not found.
    • Fix: Theme attributes for home item data (e.g., icon, logo) will not be overwritten by the special MenuItem instance for home.
    • Fix: Native strings can now be specified for an XML menu <item> in android:title and android:titleCondensed.
    • Window.FEATURE_ENABLE_ACTION_BAR_WATSON_TEXT is now Window.FEATURE_ACTION_BAR_ITEM_TEXT.
    • Widget.Sherlock.Spinner.DropDown.ActionBar and Widget.Sherlock.Light.Spinner.DropDown.ActionBar styles are now Widget.Sherlock.Spinner and Widget.Sherlock.Light.Spinner, respectively.
    • Widget.Sherlock.ActionBarView_TabXXX styles are now Widget.Sherlock.ActionBar.TabXXX.