How to make several buttons on the drawer handles?

I want a sliding drawer with two buttons on the handle, not related to the possibility of sliding the drawer. As shown below.

{aOOOb}

where {000} is the handle and a and b are the buttons

thanks

+4
source share
1 answer

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.

-1
source

All Articles