Possible Duplicate:
Android: can height of SlidingDrawer be set with wrap_content?
Is there a way to change the size of a sliding drawer when it opens ? And is there a way to place it in the top, or in the left, because the default option are bottom for the vertical orientation and right to the horizontal orientation.
This answer about overriding
SlidingDrawer#onMeasureto enablewrap_contentforSlidingDrawerseems like a winner.Edit – Or, you can set the height exactly in with something like
layout_height="200dp".Your other question was already answered in the negative.