This is an example of splitcontainer demo from UI5 SDK(SAPUI5 Explored)! Where in i want to change my xml view to equivalent js view..plz help !
<mvc:View
controllerName="sap.ui.unified.sample.SplitContainer.Controller"
xmlns:u="sap.ui.unified"
xmlns:mvc="sap.ui.core.mvc"
xmlns="sap.m"
class="fullHeight">
<u:SplitContainer
id="mySplitContainer"
showSecondaryContent="true">
<u:secondaryContent>
<Text text="Hello World!" />
</u:secondaryContent>
<u:content>
<Button text ="Toggle Secondary Content" press="handleToggleSecondaryContent" />
<Button text="Switch SplitContainer Orientation" press="handleSwitchOrientation"/>
</u:content>
</u:SplitContainer>
</mvc:View>