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,