views:

146

answers:

1

I'm trying to create a sliding drawer in code, but I don't understand what to do for the AttributeSet part of the constructor.

What do I need to do for that?

Also, how do I define in code where the slider is going to show up?

Thanks,

+1  A: 

It looks like SlidingDrawer cannot be created directly in Java code. You will need to define it in an XML layout and inflate that layout.

Sorry!

CommonsWare
Alright thanks for the response
Alex