15 ratings
  • 1
  • 2
  • 3
  • 4
  • 5
5 star 4
4 star 0
3 star 5
2 star 2
1 star 4
Compatible with
  • Android

ActionBarSherlock 4.4.0.6

Xamarin Inc.

Xamarin binding for ActionBarSherlock.

Xamarin.Android Binding for ActionBarSherlock

This package is a binding for ActionBarSherlock Android library by Jake Wharton.

ActionBarSherlock

ActionBarSherlock is a standalone library designed to facilitate the use of the action bar design pattern across all versions of Android through a single API.

The library will automatically use the native ActionBar implementation on Android 4.0 or later. For previous versions which do not include ActionBar, a custom action bar implementation based on the sources of Ice Cream Sandwich will automatically be wrapped around the layout. This allows you to easily develop an application with an action bar for every version of Android from 2.x and up.

About This Binding

The source code for this binding is available at monodroid-samples on GitHub.

Java packages are renamed in order them to conform to standard .NET naming conventions. For example, we rename "com.actionbar.sherlock" to "Xamarin.ActionBarSherlockBinding".

For a complete mapping see Metadata.xml in the source code.

Screenshots

Note that this component is primarily about action bars, navigation, so the additional content visible in the screenshots below was added solely for the purpose of demonstration.

List navigation example:

List Navigation

Feature showcase (from "FeatureToggles" sample):

Feature showcase (from "FeatureToggles" sample)

Screenshots generated with PlaceIt.

Release Notes

Version 4.4.0.6

  • Updated reference to use Xamarin.Android.Support.v4.dll
Write a Review

6 reviews

Blah Boy rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

Creating a New Android Application Project and referencing this component results in a compile error (15 errors)

"error: package android.support.v4.app.FragmentManager does not exist android.support.v4.app"

I made sure that I'm using the latest version (4.4.0.6). MinSdk is set to 2.1 and Target is set to API 14.

Posted on: October 26, 2014 / Version: 4.4.0.6
Faramarz Phorozan

I just need it to work with the Xamarin Forms. Is there any way to engage this component with the Xamarin Forms. I just tried but in the MainActivity class which is inherited from the AndroidActivity there is a method name SetPage. When I change the parent class to the SherlockActivity there is no SetPage which is right because the SherlockActivity is a native class. Any idea how we can use it?

Posted on: October 22, 2014 / Version: 4.4.0.6
Ashutosh

Does any one have a solution other then the above mentioned ones?

Posted on: April 7, 2014 / Version: 4.4.0.3
wayne at psonar rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

The demo app in the zip doesn't compile?

Posted on: April 7, 2014 / Version: 4.4.0
Rogier Versluis rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

Why doesn't the sample have a MainLauncher?

Posted on: April 7, 2014 / Version: 4.4.0
Laurent Roucaute

To compile have a look at http://msdn.microsoft.com/en-us/library/aa365247.aspx

or reduce the path length when you have unzipped the archive

Posted on: April 7, 2014 / Version: 4.4.0