mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
Update action-item-position page
This commit is contained in:
@ -2,15 +2,14 @@
|
|||||||
xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="navigatingTo">
|
xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="navigatingTo">
|
||||||
<Page.actionBar>
|
<Page.actionBar>
|
||||||
<ActionBar>
|
<ActionBar>
|
||||||
<NavigationButton text="Go Back" android.systemIcon="ic_menu_back"></NavigationButton>
|
<ActionItem ios.position="right" tap="{{ change }}">
|
||||||
<ActionItem ios.position="right" >
|
<Button text="{{ text }}" backgroundColor="red" />
|
||||||
<Button text="{{ text }}" backgroundColor="red" tap="change"/>
|
|
||||||
</ActionItem>
|
</ActionItem>
|
||||||
</ActionBar>
|
</ActionBar>
|
||||||
</Page.actionBar>
|
</Page.actionBar>
|
||||||
<StackLayout>
|
<StackLayout>
|
||||||
<Label text="Tap to change the text in the actionbar" class="title"/>
|
<Label text="Tap to change the text in the actionbar" class="title"/>
|
||||||
<Button text="Tap" tap="{{ onTap }}" />
|
<Button text="Tap" tap="{{ onTap }}" />
|
||||||
<Label text="{{ text }}"/>
|
<Label text="{{ text }}"/>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</Page>
|
</Page>
|
Reference in New Issue
Block a user