split view layout & add api