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
andandroid: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 usesetIndeterminateProgressBarVisibility(Boolean)
and passBoolean.TRUE
orBoolean.FALSE
. - Fix:
MenuBuilder#removeItem(int)
andMenuBuilder#findItem(int)
throwingIndexOutOfBoundsException
s 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>
inandroid:title
andandroid:titleCondensed
. Window.FEATURE_ENABLE_ACTION_BAR_WATSON_TEXT
is nowWindow.FEATURE_ACTION_BAR_ITEM_TEXT
.Widget.Sherlock.Spinner.DropDown.ActionBar
andWidget.Sherlock.Light.Spinner.DropDown.ActionBar
styles are nowWidget.Sherlock.Spinner
andWidget.Sherlock.Light.Spinner
, respectively.Widget.Sherlock.ActionBarView_TabXXX
styles are nowWidget.Sherlock.ActionBar.TabXXX
.
- Library now uses the