mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
21 lines
908 B
XML
21 lines
908 B
XML
<Page loaded="itemLoaded" unloaded="itemUnloaded" tag="page">
|
|
<TabView loaded="itemLoaded" unloaded="itemUnloaded" tag="TabView">
|
|
<TabView.items>
|
|
<TabViewItem title="RED">
|
|
<TabViewItem.view>
|
|
<GridLayout backgroundColor="red" margin="50" tap="itemTap" tag="red" loaded="itemLoaded" unloaded="itemUnloaded"/>
|
|
</TabViewItem.view>
|
|
</TabViewItem>
|
|
<TabViewItem title="GREEN">
|
|
<TabViewItem.view>
|
|
<GridLayout backgroundColor="green" margin="50" tap="itemTap" tag="green" loaded="itemLoaded" unloaded="itemUnloaded"/>
|
|
</TabViewItem.view>
|
|
</TabViewItem>
|
|
<TabViewItem title="BLUE">
|
|
<TabViewItem.view>
|
|
<GridLayout backgroundColor="blue" margin="50" tap="itemTap" tag="blue" loaded="itemLoaded" unloaded="itemUnloaded"/>
|
|
</TabViewItem.view>
|
|
</TabViewItem>
|
|
</TabView.items>
|
|
</TabView>
|
|
</Page> |