Files
NativeScript/apps/pickers-demo/main-page.xml
2015-03-17 14:23:15 +02:00

9 lines
481 B
XML

<Page loaded="onPageLoaded">
<StackLayout id="stack">
<Button id="button" text="GO!" height="50" width="100" tap="onTap"/>
<Label id="label" text="{{ selectedIndex }}" height="50" width="100" />
<ListPicker id="listPicker" selectedIndex="{{ selectedIndex }}" items="{{ items }}"/>
<DatePicker id="datePicker" day="{{ day }}" month="{{ month }}" year="{{ year }}"/>
<TimePicker id="timePicker" hour="{{ hour }}" minute="{{ minute }}"/>
</StackLayout>
</Page>