Update action-item-position page

This commit is contained in:
SvetoslavTsenov
2016-07-22 15:15:20 +03:00
parent a4743713d7
commit e286e103eb

View File

@ -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>