Search code examples
androidandroid-activityactionbarsherlock

SlidingMenu Library with ActionBarSherlock


In the documentar from SlidingMenu is written down:

Go into the SlidingActivities that you plan on using make them extend Sherlock__Activity instead of __Activity.

The setup should be ok, I followed the guide, but if I try to extend my Activity with for example: SlidingSherlockFragmentActivity or SherlockSlidingFragmentActivity doesn't work.

If I extend my Activity with SherlockFragmentActivity I can't get the SlidingMenu with getSlidingMenu() or call setBehindContentView.


Solution

  • Nevermind, go into the SlidingMenu library and extend the Activity by SherlockFragmentActivity instead of FragmentActivity