Search code examples
androidactionbarsherlockandroiddesignsupportnavigationview

Can I use NavigationView with SherlockFragmentActivity?


I'm looking to use the NavigationView, part of the Android design support library, instead of a ListView.

I use SherlockFragmentActivity part of the ABS framework, my question is how can I use NavigationView with ABS (without usnig Appcompact) ?


Solution

  • No, NavigationView requires AppCompat as per the release blog post:

    Note that as the Design library depends on the Support v4 and AppCompat Support Libraries

    As it uses AppCompat for consistent theming across all API levels.