Files
NativeScript/e2e/nested-frame-navigation/app/home/home-page.xml

28 lines
1.7 KiB
XML

<Page xmlns="http://schemas.nativescript.org/tns.xsd" class="page">
<ActionBar class="action-bar" height="5%">
<Label class="action-bar-title" text="Home" />
</ActionBar>
<GridLayout rows="auto">
<StackLayout id="home-page" borderColor="yellowgreen" borderWidth="1" borderRadius="5" padding="2">
<Button text="Layout w/ frame" tap="onNavigateToLayoutFrame" />
<Button text="Layout w/ multi frame" tap="onNavigateToLayoutMultiFrame" />
<Button text="Page w/ frame" tap="onNavigateToPageFrame" />
<Button text="Page w/ multi frame" tap="onNavigateToPageMultiFrame" />
<Button text="Page w/ tabview (top)" tap="onNavigateToTabViewTopPage" />
<Button text="Page w/ tabview (bottom)" tap="onNavigateToTabViewBottomPage" />
<Button text="Root tabview (top)" tap="onNavigateToTabViewTopRoot" />
<Button text="Root tabview (bottom)" tap="onNavigateToTabViewBottomRoot" />
<Button text="Page w/ bottom navigation" tap="onNavigateToBottomNavigationPage" />
<Button text="Root bottom navigation" tap="onNavigateToBottomNavigationRoot" />
<Button text="Page w/ tabs (top)" tap="onNavigateToTabsTopPage" />
<Button text="Page w/ tabs (bottom)" tap="onNavigateToTabsBottomPage" />
<Button text="Root tabs (top)" tap="onNavigateToTabsTopRoot" />
<Button text="Root tabs (bottom)" tap="onNavigateToTabsBottomRoot" />
<Button text="Some page on root" automationText="somePageOnRoot" tap="onNavigateToSomePage" />
<Button text="Frame to NestedFrame (non-default transition)" tap="onFrameToNestedFrame" />
</StackLayout>
</GridLayout>
</Page>