mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Update switch test page.
https://github.com/NativeScript/NativeScript/issues/642
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user