mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
22 lines
787 B
XML
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> |