mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
29 lines
1.1 KiB
XML
29 lines
1.1 KiB
XML
<Page
|
|
navigatingTo="onNavigatingTo"
|
|
xmlns="http://schemas.nativescript.org/tns.xsd">
|
|
|
|
<ActionBar class="action-bar">
|
|
<!--
|
|
Use the NavigationButton as a side-drawer button in Android
|
|
because ActionItems are shown on the right side of the ActionBar
|
|
-->
|
|
<NavigationButton ios:visibility="collapsed" icon="res://menu" tap="onDrawerButtonTap"></NavigationButton>
|
|
<!--
|
|
Use the ActionItem for IOS with position set to left. Using the
|
|
NavigationButton as a side-drawer button in iOS is not possible,
|
|
because its function is to always navigate back in the application.
|
|
-->
|
|
<ActionItem icon="res://navigation/menu"
|
|
android:visibility="collapsed"
|
|
tap="onDrawerButtonTap"
|
|
ios.position="left">
|
|
</ActionItem>
|
|
<Label class="action-bar-title" text="Settings"></Label>
|
|
</ActionBar>
|
|
|
|
<GridLayout class="page-content">
|
|
<Label class="page-icon fa" text=""></Label>
|
|
<Label class="page-placeholder" text="<!-- Page content goes here -->"></Label>
|
|
</GridLayout>
|
|
</Page>
|