ActionBarSherlock Fragments

ActionBarSherlock Fragments


(5 stars)


Download for Android

5,000 - 10,000 downloads

Add this app to your lists
WARNING: This is a demo app for a library project!

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, fragments example, fragment animation, fragments, fragment framework, sherlock actionbar fragment, fragment sample, fragment menu.

Recently changed in this version

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.

Screenshots ActionBarSherlock Fragments
View bigger - ActionBarSherlock Fragments for Android screenshot
View bigger - ActionBarSherlock Fragments for Android screenshot
Comments and ratings for ActionBarSherlock Fragments
  • (77 stars)

    by Abdelrahman El-Tamawy on 05/08/2013

    The library is very useful and strong..but please put more screenshots. The app contain many examples that should be included into the screenshots. Thank you

  • (77 stars)

    by Nadav Gruber on 22/03/2013

    Great job!

  • (77 stars)

    by Jason Cheladyn on 12/03/2013

    Thanks a lot