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">
|
||||
<Page.actionBar>
|
||||
<ActionBar>
|
||||
<NavigationButton text="Go Back" android.systemIcon="ic_menu_back"></NavigationButton>
|
||||
<ActionItem ios.position="right" >
|
||||
<Button text="{{ text }}" backgroundColor="red" tap="change"/>
|
||||
<ActionItem ios.position="right" tap="{{ change }}">
|
||||
<Button text="{{ text }}" backgroundColor="red" />
|
||||
</ActionItem>
|
||||
</ActionBar>
|
||||
</Page.actionBar>
|
||||
<StackLayout>
|
||||
<Label text="Tap to change the text in the actionbar" class="title"/>
|
||||
<Button text="Tap" tap="{{ onTap }}" />
|
||||
<Label text="{{ text }}"/>
|
||||
<Label text="{{ text }}"/>
|
||||
</StackLayout>
|
||||
</Page>
|
Reference in New Issue
Block a user