
I have a ViewGroup object for which I toggle its visibility value between “gone” and “visible” at the press of a “down” and “up” button respectively. When the ViewGroup object comes into or out of view I want it to look like it is being dropped/slid down and raised/slid up (as in the picture above). Anyone have any ideas or leads as to how this can be achieved?
(Extra note: The ViewGroup object that is coming into and out of view contains Buttons etc that need to be interacted with.)
You would use a SlidingDrawer:
http://developer.android.com/reference/android/widget/SlidingDrawer.html
Simple as that. The Handle is your button. You’ll have to play with orientation and sizes to get in where you want on the screen.