Update switch test page.

https://github.com/NativeScript/NativeScript/issues/642
This commit is contained in:
Vasil Chimev
2015-10-30 18:39:34 +02:00
parent e56d90b060
commit 8279aab62f
2 changed files with 5 additions and 3 deletions

View File

@@ -81,7 +81,8 @@ examples.set("i61", "pages/i61");
examples.set("i73", "pages/i73");
examples.set("i86", "pages/i86");
examples.set("listview_binding", "pages/listview_binding");
examples.set("switchandprogress", "pages/switchandprogress");
examples.set("switch", "pages/switchandprogress");
examples.set("textfield", "pages/textfield");
examples.set("webview", "web-view/webview");

View File

@@ -1,6 +1,7 @@
<Page>
<StackLayout>
<Progress value="45" color="red" backgroundColor="green" />
<Switch color="red" backgroundColor="green" />
<Progress value="42" color="red" backgroundColor="green" height="10" width="300" />
<Switch checked="true" color="red" backgroundColor="green" height="30" width="52" ios:borderWidth="2" ios:borderColor="blue" ios:borderRadius="15"
verticalAlignment="center" horizontalAlignment="center" />
</StackLayout>
</Page>