Use a layout for a handle that defines two buttons.
In the example in the Android Documentation for SlidingDrawer, replace the ImageView for LinearLayout or RelativeLayout, then place your buttons inside this layout, and assign this layout as a view for the SlidingDrawer descriptor, as described in the documentation.
Jodes source share