I\'m working on a project that requires a button to only be pressed once a translucent screen has been slid up. This allows for access to the main button (Press Me, in the pictu
I have created something like you are trying to do. Sorry I can't post the code since it's part of the company I work for. However here is what I did.
I copied the SlidingDrawer.java source to my project and made sure it was first working as expected. I than started modifying it to slide from the top and not the bottom. Took me a little time but it was well worth the learning experience.
Good luck!
I have try this demo for My requirement and it helps me a lot: Android-Slider Demo
Just Try it for your purpose and it will surly help you.
Enjoy. :)