[view] fix layout not compatible with 2.3
Merge pull request #86 from formapro/fix-layout-not-compatible-with-23

[view] fix layout not compatible with 2.3