Set proper layoutparams to view before returning from obtainView().
Merge pull request #49 from smanikandan14/master

Set proper layoutparams to view before returning from obtainView().