• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps create a slide panel with xml that stops in a certain point?

dredd2013

Lurker
I wan't to create a slide panel that slides from the bottom of the screen. That slide panel stops in a certain point on screen. When I'm stopping to move the slide panel the position of the panel will be fixed in place until I will touch the panel again and drag it to the bottom of the edge of the screen to it's start position.
 
You won't be able to do that entirely in XML. You will need to extend one of the ViewLayout classes to implement that functionality, then in your XML, put your custom class.
 
Back
Top Bottom