20

Since my minimum SDK version is 14, I don't want to add support library to my application. Based on what Android says on DrawerLayout page, this view group is defined in support library (android.support.v4.widget).

Is there any equivalent class of DrawerLayout if I don't add support library? Thanks.

Vasily Kabunov
  • 6,511
  • 13
  • 49
  • 53
Hesam
  • 52,260
  • 74
  • 224
  • 365
  • I know that it doesn't actually answer your question, but I've used the SlidingMenu library for this and it works like a charm. If you don't want to use the library (as some changes to your code might be required), a look at its source code on GitHub might be of help to you. (https://github.com/jfeinstein10/SlidingMenu) – lucian.pantelimon Nov 27 '13 at 11:03
  • Thanks, yup, I did use it before for two of my projects. it's working fine but I have decided to explore more this recent drawer. – Hesam Nov 27 '13 at 11:20

1 Answers1

15

No, there is no alternative from within the AOSP code. If you're using the ViewPager you'll need the support library anyways.

C.d.
  • 9,932
  • 6
  • 41
  • 51
Ben Weiss
  • 17,182
  • 6
  • 67
  • 87