Forum Xamarin.Android

Actionbar Sherlock and MapActivity

StevaSteva RSMember ✭✭✭


Anyone have a solution how to implement map activity with Actionbar Sherlock?
I tried to make base class that inherits from MapActivity and implements ABS interfaces and it worked but OnItemSelected method only works on versions greater than 4.0.
I made a small project with 2 example activities. One with map that is not working on OS versions lesser than 4.0 and one plain activity that is working fine.

Anyone knows what I'm doing wrong or have better solution for this?

Best Answer


  • JoeJoe AUMember

    I've held off implementing ActionBarSherlock in my application due to exactly this.

  • StevaSteva RSMember ✭✭✭

    Anyone have an idea how to at least get home button working on map activity. At this point I am up for even ugliest solution possible.

  • StevaSteva RSMember ✭✭✭

    Thanks, I will definitely consider your action bar for future projects.
    Since I only needed home button to work I used FindViewById(Android.Resource.Id.Home) and added click event to it.

Sign In or Register to comment.