Here is a sample application displaying how to code up a sliding drawer. It's pretty simple, and I don't think it needs more explanation.
<SlidingDrawer android:id="@+id/slidingDrawer1"
android:layout_width="fill_parent" android:layout_height="fill_parent"
android:topOffset="50dip" android:handle="@+id/handle"
android:content="@+id/content">
The sample project sets up a Sliding Drawer at the bottom of the screen. You can change it to appear at place of the screen. You just need to change/adjust some properties of the SlidingDrawer.
- The orientation property can be set to either "horizontal" and "vertical"
- There are properties like "topOffset", "bottonOffset", "rightOffset" and "leftOffset" with which you can position your drawer anywhere.
- With a few more changes, you can attach backgrounds/images to the whole SlidingDrawer. For example, I have added a color background to the content of the Sliding Drawer.