user291701
user291701

Reputation: 39671

Is there a sliding drawer widget provided by google?

The YouTube app for android has a sliding drawer. Is this a widget provided by the SDK? There seem to be a bunch of opensource ones, but they all behave in different ways. Is there an 'official' one provided by google?

enter image description here

There is a SlidingDrawer widget class, but it's deprecated (and I didn't understand the deprecation message): http://developer.android.com/reference/android/widget/SlidingDrawer.html

Thanks

Upvotes: 0

Views: 618

Answers (2)

AdamHurwitz
AdamHurwitz

Reputation: 10364

Google does offer a DrawerView via a widget that is fairly easy to implement in an app. Here is the Google library for it. This is how I implemented the DrawerView in this Sample Code. The CheeseSquare example by Google also implements the DrawerView nicely.

enter image description here

Upvotes: 1

Gabriele Mariotti
Gabriele Mariotti

Reputation: 363647

Not official. Google doesn't release it.

Here you can find a good library.

https://github.com/jfeinstein10/SlidingMenu

Upvotes: 0

Related Questions