|
1 | 1 | <Page xmlns:Card="nativescript-cardview"> |
2 | 2 | <ActionBar title="NativeScript Mobile App, yay!"> |
3 | | - <ActionItem ios.position="right" [nsRouterLink]="['/about']"> |
4 | | - <Button class="ion-icon" text="{{ '\uf41a' }}"></Button> |
| 3 | + <ActionItem ios.position="right"> |
| 4 | + <Button class="ion-icon" [nsRouterLink]="['/about']" text="{{ '\uf41a' }}" pageTransition="flip"></Button> |
5 | 5 | </ActionItem> |
6 | 6 | </ActionBar> |
7 | 7 | <scroll-view> |
8 | 8 | <GridLayout rows="auto, *"> |
9 | 9 | <SearchBar row="0" hint="Search hint" [text]="Search"></SearchBar> |
10 | 10 | <StackLayout row="1"> |
11 | | - <Card:CardView class="cardStyle" margin="10" elevation="40" radius="5"> |
12 | | - <grid-layout rows="300, auto, auto" columns="*, *, *"> |
13 | | - <image src="http://ionicframework.com/img/home/cta-iphone-2.png" stretch="aspectFill" colSpan="3" row="0" /> |
14 | | - <label text="NativeScript Mobile App" class="info" textWrap="true" row="1" colSpan="3" /> |
15 | | - <button text="Favorite" tap="goAway" row="3" col="0" /> |
16 | | - <button text="Listen" row="3" col="1" /> |
17 | | - <button text="Share" row="3" col="2" /> |
| 11 | + <Card:CardView class="cardStyle" radius="10" elevation="50" margin="20"> |
| 12 | + <grid-layout rows="*, *, *" columns="*, *, *"> |
| 13 | + <Image src="http://ionicframework.com/img/home/cta-iphone-2.png" margin="20" stretch="aspectFill" colSpan="3" row="0"></Image> |
| 14 | + <TextView class="description" editable="false" text="The most popular template to create web (Ionic) and native (NativeScript) mobile apps!" textWrap="true" row="1" colSpan="3"></TextView> |
| 15 | + <Button text="Favorite" tap="goAway" row="3" col="0"></Button> |
| 16 | + <Button text="Listen" row="3" col="1"></Button> |
| 17 | + <Button text="Share" row="3" col="2"></Button> |
18 | 18 | </grid-layout> |
19 | 19 | </Card:CardView> |
20 | | - <Card:CardView class="cardStyle" margin="10" elevation="40" radius="5"> |
21 | | - <grid-layout rows="200, auto, auto" columns="auto, auto, *"> |
22 | | - <image src="http://ionicframework.com/img/home/cta-iphone-2.png" stretch="aspectFill" colSpan="3" row="0" /> |
23 | | - <label text="NativeScript Mobile App" class="info" textWrap="true" row="1" colSpan="3" /> |
24 | | - <TextView text="I'm batman!" returnKeyType="send" [editable]="false" class="input input-border" class="info" textWrap="true" row="2" colSpan="3"></TextView> |
25 | | - <button text="Favorite" tap="goAway" row="3" col="0" /> |
26 | | - <button text="Listen" row="3" col="1" /> |
27 | | - <button text="Share" row="3" col="2" /> |
28 | | - </grid-layout> |
29 | | - </Card:CardView> |
30 | | - <Card:CardView class="cardStyle" margin="10" elevation="40" radius="5"> |
31 | | - <grid-layout rows="200, auto, auto" columns="auto, auto, *"> |
32 | | - <image src="http://ionicframework.com/img/home/cta-iphone-2.png" stretch="aspectFill" colSpan="3" row="0" /> |
33 | | - <label text="NativeScript Mobile App" class="info" textWrap="true" row="1" colSpan="3" /> |
34 | | - <TextView text="I'm batman!" returnKeyType="send" [editable]="false" class="input input-border" class="info" textWrap="true" row="2" colSpan="3"></TextView> |
35 | | - <button text="Favorite" tap="goAway" row="3" col="0" /> |
36 | | - <button text="Listen" row="3" col="1" /> |
37 | | - <button text="Share" row="3" col="2" /> |
| 20 | + <Card:CardView class="cardStyle" margin="20" elevation="40" radius="5"> |
| 21 | + <grid-layout rows="*, *, *" columns="*, *, *"> |
| 22 | + <Image src="https://upload.wikimedia.org/wikipedia/en/1/17/Batman-BenAffleck.jpg" stretch="aspectFill" colSpan="3" row="0" /> |
| 23 | + <Label class="description" text="I'm batman!" textWrap="true" row="1" colSpan="3"></Label> |
| 24 | + <Button text="Favorite" tap="goAway" row="2" col="0" /> |
| 25 | + <Button text="Listen" row="2" col="1" /> |
| 26 | + <Button text="Share" row="2" col="2" /> |
38 | 27 | </grid-layout> |
39 | 28 | </Card:CardView> |
40 | 29 | </StackLayout> |
|
0 commit comments