Files
NativeScript/e2e/modal-navigation/app/home/home-page.xml
Svetoslav e53bdd4f47 tests: include e2e test for "Android Back Btn Events" (#6269)
* tests: include e2e test for "Android Back Btn Events"
2018-09-17 15:37:38 +03:00

29 lines
1.7 KiB
XML

<Page xmlns="http://schemas.nativescript.org/tns.xsd" class="page"
navigatingTo="onNavigatingTo"
navigatingFrom="onNavigatingFrom"
navigatedTo="onNavigatedTo"
navigatedFrom="onNavigatedFrom">
<ActionBar class="action-bar" id="action-bar-home-page" height="5%">
<Label class="action-bar-title" text="Home"></Label>
</ActionBar>
<GridLayout rows="auto" columns="auto, *">
<StackLayout id="home-page" row="0" col="0" borderColor="yellowgreen" borderWidth="1" borderRadius="5" padding="2">
<TextView text="Reset root" />
<Button text="Reset Frame Root View" tap="onFrameRootViewReset" textAlignment="left" />
<Button text="Reset Tab Root View" tap="onTabRootViewReset" textAlignment="left" />
<Button text="Reset Layout Root View" tap="onLayoutRootViewReset" textAlignment="left" />
</StackLayout>
<StackLayout id="home-page" row="0" col="1" borderColor="blue" borderWidth="1" borderRadius="5" marginLeft="2" padding="2">
<TextView text="Navigate to example" />
<Button text="Show Modal Without Page" tap="onModalNoPage" textAlignment="left" />
<Button text="Show Modal Page With Frame" tap="onModalFrame" textAlignment="left" />
<Button text="Show Modal Page" tap="onModalPage" textAlignment="left" />
<Button text="Show Modal Layout" tap="onModalLayout" textAlignment="left" />
<Button text="Show Modal TabView" tap="onModalTabView" textAlignment="left" />
<Button text="Android Back Btn Events" tap="onAndroidBackEvents" textAlignment="left" />
</StackLayout>
</GridLayout>
</Page>