Skip to content

Commit c127815

Browse files
committed
V3
1 parent e975108 commit c127815

File tree

11 files changed

+6092
-4622
lines changed

11 files changed

+6092
-4622
lines changed

demo/app/main-page.xml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
1-
<Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded" class="page"
2-
xmlns:ui="nativescript-image-zoom">
3-
<GridLayout rows="auto,*,auto,auto,auto" class="p-20">
4-
<Label text="Zoom" class="t-20 text-center c-black" textWrap="true"/>
5-
<ui:ImageZoom height="100%" stretch="fill" borderWidth="2" borderColor="red" borderRadius="50" id="image" row="1" src="~/images/148080.jpg" ></ui:ImageZoom>
6-
<Button row="2" text="Remote Source" tap="loadRemoteSrc"/>
7-
<Button row="3" text="Local Resource" tap="loadResource"/>
8-
<Button row="4" text="Load ImageSource" tap="loadImgSrc"/>
9-
</GridLayout>
1+
<Page
2+
xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded" class="page"
3+
xmlns:ui="nativescript-image-zoom"
4+
xmlns:Card="nativescript-cardview"
5+
>
6+
<GridLayout rows="auto,*,auto,auto,auto" class="p-20">
7+
<Label text="Zoom" class="t-20 text-center c-black" textWrap="true"/>
8+
<GridLayout row="1">
9+
<Card:CardView margin="10" radius="20" elevation="40">
10+
<ui:ImageZoom borderRadius="20" stretch="fill" height="100%" width="100%" id="image" src="~/images/148080.jpg"/>
11+
</Card:CardView>
12+
</GridLayout>
13+
<Button row="2" text="Remote Source" tap="loadRemoteSrc"/>
14+
<Button row="3" text="Local Resource" tap="loadResource"/>
15+
<Button row="4" text="Load ImageSource" tap="loadImgSrc"/>
16+
</GridLayout>
1017
</Page>

0 commit comments

Comments
 (0)