mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
* Init steps * Implement logic for auto-complete for all test pages * Init steps * Implement logic for auto-complete for all test pages * Expose TestPageMainViewModel * Merge * Improve check if example is already loaded in collection * Reorder tests * Fix tslint * Include csslv * Include new image source
20 lines
780 B
XML
20 lines
780 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<Page loaded="pageLoaded">
|
|
<GridLayout rows="auto, *">
|
|
<StackLayout id="parentLayout">
|
|
<TextView automationText="tv" id="textView" text="{{ exampleName }}" />
|
|
<Button automationText="Run" id="btnRun" text="Run" tap="{{ loadExmaple }}" />
|
|
</StackLayout>
|
|
<ScrollView row="1">
|
|
<WrapLayout id="wrapLayoutWithExamples"/>
|
|
</ScrollView>
|
|
<ListView items="{{ allExamples }}" row="1" itemTap="{{ loadExampleFromListView }}" id="allExamplesListView">
|
|
<ListView.itemTemplate>
|
|
<GridLayout columns="*,*">
|
|
<Label text="{{ name }}" />
|
|
<Label text="{{ path }}" col="1"/>
|
|
</GridLayout>
|
|
</ListView.itemTemplate>
|
|
</ListView>
|
|
</GridLayout>
|
|
</Page> |