0

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) ?

TooCool
  • 10,598
  • 15
  • 60
  • 85

2 Answers2

1

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.

ianhanniballake
  • 191,609
  • 30
  • 470
  • 443
0

You could use AppCompatDelegate to enable AppCompat in your SherlockFragmentActivity. An official example of that is: https://github.com/android/platform_development/blob/master/samples/Support7Demos/src/com/example/android/supportv7/app/AppCompatPreferenceActivity.java

Martijn00
  • 3,569
  • 3
  • 22
  • 39