Files
NativeScript/apps/template-tab-navigation/main-page.xml
2015-03-09 10:36:47 +02:00

22 lines
787 B
XML

<Page xmlns="http://www.nativescript.org/tns.xsd" loaded="pageLoaded">
<TabView>
<TabView.items>
<TabViewItem title="First">
<TabViewItem.view>
<StackLayout cssClass="tab-content">
<Label text="First View" cssClass="title"/>
<Label text="This is the content of the first tab." textWrap="true"/>
</StackLayout>
</TabViewItem.view>
</TabViewItem>
<TabViewItem title="Second">
<TabViewItem.view>
<StackLayout cssClass="tab-content">
<Label text="Second View" cssClass="title"/>
<Label text="This is the content of the second tab." textWrap="true"/>
</StackLayout>
</TabViewItem.view>
</TabViewItem>
</TabView.items>
</TabView>
</Page>