Files
NativeScript/apps/template-tab-navigation/main-page.xml
2015-11-09 14:20:01 +02:00

22 lines
779 B
XML

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