This repository has been archived by the owner on Apr 19, 2018. It is now read-only.
Releases: JakeWharton/ActionBarSherlock
Releases · JakeWharton/ActionBarSherlock
Version 3.4.2
- Fix: Stacked action bar now properly sets the tab bar background based on
the theme.
Version 3.4.1
- The
makeFragmentName
method inFragmentPagerAdapter
has been changed to
public
scope to allow for easier access to your fragments that it is
managing. - Action bar will now animate when calling
show()
orhide()
. SherlockPreferenceActivity
now provides full fragment and loader support.- Examples for the plugins are now in their own sample application.
- Fix: Home icon no longer erroneously clipped when it exceeds the size of the
action bar. - Fix: Tabs will now scroll horizontally to mimic the native action bar
behavior. - Fix: Plugins now properly DO NOT inline their
R.java
integer constants. - Fix: Tabs below the action bar are now styled with a default background so
that they do not incorrectly inherit an applied background unless explicity
declared.
Version 3.4.0
- Library now uses the
r4
version of the compatibility library for its base.
Ice Cream Sandwich-specific implementations are currently disabled, however,
but will be added in a future version of the library. - Context menu callbacks now use the support version of
MenuItem
to maintain
consistency. - Added preference plugin which provides an action bar enhanced preference
screen. - Fix:
abHomeLayout
theme attribute is now honored. - Fix:
onPrepareOptionsMenu
is now properly dispatched upon menu
invalidation.
Version 3.3.1
ADT 14 is now required. Maven 3 is required if building from the command line.
- XML-defined
onClick
attributes will now check for anonClick
method that
takes anandroid.support.v4.view.MenuItem
instance. - Tabs on medium screens in landscape now display inline rather than below the
action bar to mirror how Android 4.0 behaves with the same configuration. - Fix: Menu inflater properly checks activity context for
onClick
method
declared in the XML. - Fix: Dialog fragment properly saves its
showDialog
state when not being
used as a popup. - Fix: Return
-1
when in tab navigation but no tab is selected. This brings
the library in line with the post-3.0 behavior. - Fix: Removing a menu group no longer throws an
IndexOutOfBoundsException
. - Fix:
getSelectedTab
andgetTabAt
no longer throwNullPointerException
s
on post-3.0 when no tab was selected or no tab existed at the specified
position, respectively. - Fix:
findFragmentById
now properly returns fragments attached to
android.R.id.content
when run on pre-3.0 devices.
Version 3.3.0
- Tabs are now displayed below the action bar on all medium-screen devices and
portrait large-screen devices. - Fix: Dialog fragments no longer throw an
IllegalStateException
when being
used as a regular fragment (i.e., not as a popup). See
StackOverflow
for more information. - Fix: Popping a fragment off of the back stack now properly assigns its parent
activity. - Fix: An activity result no longer causes a
NullPointerException
when the
target fragment no longer exists. - Fix: Action item dividers are now properly initially hidden when their
associated action items are as well.
Version 3.2.3
- Fix: Fragments in a
ViewPager
that contributed items to the options menu
were caught in a race condition causing inconsistent results when a new page
was selected. This regression was introduced in version 3.2.2.
Version 3.2.2
- Fix: Side-effects related to using
FragmentMapActivity
due to how it was
referencing resources from the main library. - Fix: Fragments adjacent to the currently selected fragment in a
ViewPager
no longer receive context menu events. - Fix: Eliminate exception when inflating context menus on 3.0+ when using
getMenuInflater()
. - Fix:
ViewPager
now determines whether or not an activity menu invalidation
is required independently of whether or not fragments were created or
destroyed. This should fix an edge case where an activity with aViewPager
containing only two fragments would not get its menu properly invalidated.
Version 3.2.1
- Fix: Action mode API incorrectly using the native
Menu
andMenuItem
classes causing an easy pitfall forClassCastExceptions
. - Fix: Large action bar backgrounds increasing the size beyond that alloted in
the theme.
Version 3.2.0
- Added support for
MapView
and the Google APIs through the use of
FragmentMapActivity
. If you are using a map within a fragment you must
ensure it is always attached to an activity which extends from this new base
class.
Since supporting maps requires compiling against the Google APIs, this
functionality is implemented in the form of a plugin which is to be used
alongside the normal library. You can choose to add it as an additional
library project or by including it as a .jar
. Maven users may simply
include the additional dependency (artifactId: plugin-maps
).
- Fix: Fragments adjacent to the currently selected fragment in a
ViewPager
no longer contribute to the activity menu. ActionBar.Tab
has been changed from an interface to an abstract class to
mirror its native counterpart.
Version 3.1.3
- Renamed all resources to be prefixed with
abs__
to avoid conflicts when
including in your project. - Fix: Action bar background being set on two views causing artifacts to remain
on screen when the action bar was hidden. - Fix: Incorrect sub-menu item being selected by default when the sub-menu was
triggered from the native options menu on pre-3.0. - Fix:
MenuItem.setVisible
now properly updates the associated action item and
native menu item visible state. - Fix: Adding items to a menu now honors its ordering and category.
- Fix: Fragment options item selected callback now uses the proper version of
MenuItem
.