Enable sliding drawer to handle wrap_content values for layout height
and width, and changes content layout accordingly.

Change-Id: I4b54e702de46af2bdf4ed316883560dd2f033951
Signed-off-by: Prasham <prash2488@gmail.com>