5,000 - 10,000 downloadsAdd this app to your lists
ActionBarSherlock is an extension of the compatibility library designed to facilitate the use of the action bar design pattern across all versions of Android with a single API.
The library will automatically use the native action bar when appropriate or will automatically wrap a custom implementation around your layouts. This allows you to easily develop an application with an action bar for every version of Android from 2.x and up.
This sample is simply the 'API Demos' sample from the Android support library ported to use SherlockFragmentActivity and SherlockFragment. It should provide a good idea of how these two classes are used to replace FragmentActivity and Fragment.
PERMISSIONS: Both the "Read contact" and "Internet" permissions are used for demonstration purposes only. These permissions are present in the official compatibility library sample and thus this sample. The app is open source and does not make any attempt to steal any private information.
Please DO NOT report bugs in reviews. Create an issue on the GitHub project or send them to my email directly. More information available via the website.
Tags: fragment example, actionbar button, sherlock actionbar menu, fragment animation, actionbar fragment, sherlockaction bar fragment sample, actionbarsherlock fragments, actionbar sherlock, fragment animation example, actionbarsherlock tabs fragments.
Altered technique used for menu event dispatching through the fragment manager for greater control.
Do not dispatch menu creation event if the activity has been destroyed.
Correct potential NullPointerException when the hardware menu key was pressed in an activity that is forcing the overflow menu.
Do not set a listener on the native action bar tab wrapper unless a compatibility listener has been set.
Ensure the compatibility animation framework is always available on views.