mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
Update modal-view pages
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
<Page xmlns="http://schemas.nativescript.org/tns.xsd" shownModally="onShownModally" loaded="onLoaded" unloaded="onUnloaded" backgroundColor="Red">
|
<Page xmlns="http://schemas.nativescript.org/tns.xsd" shownModally="onShownModally" loaded="onLoaded" unloaded="onUnloaded" backgroundColor="Red">
|
||||||
<StackLayout backgroundColor="PaleGreen">
|
<StackLayout backgroundColor="PaleGreen">
|
||||||
<TextField hint="username" id="username" automationText="username" text="username"/>
|
<TextField hint="username" id="username" text="username"/>
|
||||||
<TextField hint="password" id="password" automationText="password" text="password" secure="true"/>
|
<TextField hint="password" id="password" text="password" secure="true"/>
|
||||||
<Button text="Login" tap="onLoginButtonTap"/>
|
<Button text="Login" tap="onLoginButtonTap"/>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</Page>
|
</Page>
|
@ -2,6 +2,6 @@
|
|||||||
<StackLayout backgroundColor="PaleGreen">
|
<StackLayout backgroundColor="PaleGreen">
|
||||||
<Button text="Login (pop-up)" tap="onTap" />
|
<Button text="Login (pop-up)" tap="onTap" />
|
||||||
<Button text="Login (full-screen)" tap="onTap" />
|
<Button text="Login (full-screen)" tap="onTap" />
|
||||||
<Label id="label" automationText="label" text="Anonymous"/>
|
<Label id="label" text="Anonymous"/>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</Page>
|
</Page>
|
Reference in New Issue
Block a user