Files
NativeScript/apps/ui-tests-app/layouts/absolute.xml
2015-06-25 11:46:47 +03:00

15 lines
1.1 KiB
XML

<Page loaded="onLoaded">
<AbsoluteLayout>
<!-- View Properties -->
<Button text="wh" tap="{{ onWidthHeight }}" id="widthHeight" style="background-color: lightblue;" />
<Button text="n" tap="{{ onMinWidthMinHeight }}" left="150" id="minWidthMinHeight" style="background-color: lightblue;" />
<Button text="m" tap="{{ onMargins }}" top="100" id="margins" style="background-color: lightblue;" />
<Button text="a" tap="{{ onAlignments }}" left="150" top="100" id="alignments" style="background-color: lightblue;" />
<Button text="c" tap="{{ onCollapse }}" top="200" id="collapse" style="background-color: lightblue;" />
<Button text="v" tap="{{ onVisibile }}" left="150" top="200" id="visible" style="background-color: lightblue;" />
<!-- Layout Properties -->
<Button text="p" tap="{{ onPaddings }}" top="300" id="paddings" style="background-color: lightgray;" />
<Button text="all" tap="{{ onAllProperties }}" left="150" top="300" id="allProperties" style="background-color: aquamarine;" />
<Button text="s" tap="onSetLeftSetTop" top="400" id="setLeftSetTop" style="background-color: lightgreen;" />
</AbsoluteLayout>
</Page>