All Versions
32
Latest Version
Avg Release Cycle
33 days
Latest Release
2805 days ago

Changelog History
Page 3

  • v3.1.2 Changes

    August 07, 2011
    • Fix: MenuItem.getMenuInfo() was throwing runtime exception. Will now just return null.
    • Fix: Dragging over a WebView contained in a ViewPager would not register.
    • Fix: Inflation of context menu incorrectly being handled by the custom menu inflater for the library.
  • v3.1.1 Changes

    July 31, 2011
    • Fix: MenuItem.getSubMenu now returns a support instance rather than a native instance.
    • Fix: Fragment methods onAttach and onInflate incorrectly regressed to use Activity instead of a FragmentActivity in their method signatures.
    • Fix: Retained fragments not being re-attached on pre-3.0 when attached to android.R.id.content upon activity recreation.
    • Fix: onPrepareOptionsMenu not dispatched to fragments. This still will only occur if the activity method returns true (which is the default).
    • Fix: Menu.findItem not returning null when the item was not found on Android 3.0+.
  • v3.1.0 Changes

    July 22, 2011

    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.
  • v3.0.3 Changes

    July 17, 2011

    ๐Ÿš‘ This version is a hotfix for incompatibilities introduced with the SDKs for 3.1 r2 and 3.2 r1. Due to unavoidable changes in the underlying SDK, the library must now be compiled against API level 13.

    • actionModeStyle and actionModePopupWindowStyle are no longer valid theme attributes.
  • v3.0.2 Changes

    June 23, 2011
    • Sub-menus for action items are now shown in a list dialog.
    • Moved certain classes to the com.actionbarsherlock.internal package which were not meant for public consumption. Despite being given public scope in this new package, these classes should NOT be used under any circumstances as their API can be considered highly volatile and is subject to change often and without warning.
  • v3.0.1 Changes

    June 08, 2011
    • Fix: onOptionsItemSelected() not being called in fragments if the activity version returns false.
    • Fix: onCreateOptionsMenu() not being called in fragments on Android 3.0+.
    • New: Enable action item text display on pre-Android 3.0 by calling requestWindowFeature with Window.FEATURE_ENABLE_ACTION_BAR_WATSON_TEXT.
    • Fix: setCustomView() no longer automatically enables the custom view on pre-3.0. You must call setDisplayShowCustomEnabled() in order to display the view.
  • v3.0.0 Changes

    June 05, 2011

    The API has been rewritten to mimic that of the native action bar. As a result, ๐Ÿ‘ usage now only requires changing a few imports to use the support versions ๐Ÿ‘€ of classes and calling getSupportActionBar(). See the README for more info.

    The rewrite necessitated tight interaction with the ๐Ÿ”Š compatibility library to the point where its sources are now included. You are no longer required to have the standalone .jar file.

    0๏ธโƒฃ Also included is a default custom action bar for use by default on pre-3.0 devices. This custom implementation is based off of Johan Nilsson's Android-ActionBar and the work that I have done on it.

    More details are available at http://actionbarsherlock.com

  • v2.1.1 Changes

    March 21, 2011

    No changes to library code.

    • Moved library to the root of the repository.
    • Added samples/dependencies.py script to automatically download the needed dependencies for the sample projects.
  • v2.1.0 Changes

    March 21, 2011

    โš  WARNING: The ๐Ÿ”Š Android Compatibility Library (v4) is now required.

    • Added ActionBarSherlock.Activity, ActionBarSherlock.FragmentActivity, and ActionBarSherlock.ListActivity for extension by implementing activities, the latter of which is deprecated. This affords a much tighter integration and allows for the use of other new features listed below.
    • New API method: layout(Fragment) will use the fragment argument as the content to the activity.
    • New API method: menu(int) allows for the inflation of menu XMLs from a resource. For the non-native implementation, the XML can be inflated to a custom Menu which can then be applied appropriately to the third-party action bar. Sub-menus are also supported. Third-party action bar handlers should implement ActionBarSherlock.HasMenu for this functionality. This feature requires that activities extend from one of the provided activity base classes.
    • New API method: homeAsUp(boolean). This mimics the native method setDisplayHomeAsUpEnalbed on the native action bar. Third-party action bar handlers should implement ActionBarSherlock.HasHomeAsUp for this functionality.
    • New API method: useLogo(boolean) will trigger the action bar to hide the application icon/home button and title and show a larger logo representing the application. Third-party action bar handlers should implement ActionBarSherlock.HasLogo for this functionality.
    • New API method: listNavigation(SpinnerAdapter, OnNavigationListener). Tells the action bar to use drop-down style navigation with the specified list of items and callback listener. Third-party action bar handlers should implement ActionBarSherlock.HasListNavigation for this functionality.
    • Javadocs are now available at jakewharton.github.com/ActionBarSherlock.
    • A standalone JAR is now available via the GitHub downloads page or in my personal maven repository as com.jakewharton:android-actionbarsherlock:2.1.0.
  • v2.0.1 Changes

    March 11, 2011
    • Use Class.forName() for detection of native action bar. This provides compatability all the way back to Android 1.5.