TIMOB-15314-set the layout params to borderview if view has border

If the parent is border view, set the layout params to the border view.

https://jira.appcelerator.org/browse/TIMOB-15314