Android, what is equivalent class of DrawerLayout when not using support library?
Asked Answered
S

1

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.

Staceestacey answered 27/11, 2013 at 10:58 Comment(2)
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. (github.com/jfeinstein10/SlidingMenu)Hunkydory
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.Staceestacey
L
15

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

Lelia answered 27/11, 2013 at 11:6 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.