[NUI] Use padding & margin to meausre size in Layout (#1437) (#1448)
* [NUI] Use padding & margin to meausre size in Layout
Previously, padding of parent and margin of child are not concerned when measure child size.
For now, When child use MatchParent,
the size of child will be ParentSize - ParentPadding - childMargin.
And when child use WrapContent,
the size of child will be GrandchildSize + childPadding.
Also Weight will be use only ParentSize - ParentPadding - childMargin size for measuring.
* [NUI] Measure Padding and Margin before call API
To make sure there is no API change, measure Padding and Margin before call API.