How can I "slide up" a view on android from the bottom of a screen?
- by Jakub Arnold
I'm trying to make a really simple slide up list view, which is displayed when a user clicks on a button at the bottom of the screen. Here's how it should look:
And a complete implementation in HTML/JS http://jsbin.com/utAQOVA/1/edit
I've tried to use RelativeLayout to position the list just below the button, and put that whole thing into a wrapper and then animate that up/down (same as in the JSBin above).
The problem is that the bottom part which isn't visible in the beginning is somehow clipped, even if I slide it up. Evern if I initially show a portion of the list as the screenshow below shows, the bottom part gets clipped when it moves up and only the part that was initially visible is displayed.
What would be a proper approach to do this kind of animation?
Here's a relevant portion of the layout