mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Resource prefix v.01
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
<Page>
|
||||
<StackLayout>
|
||||
<Button horizontalAlignment="left" verticalAlignment="top" margin="10 0 10 20" text="top, left" />
|
||||
<Button horizontalAlignment="center" verticalAlignment="center" text="center, center" />
|
||||
<Button horizontalAlignment="right" verticalAlignment="bottom" margin="0 30" text="bottom, right" />
|
||||
<Button horizontalAlignment="stretch" verticalAlignment="stretch" margin="20" text="stretch, stretch" />
|
||||
<Label text="resource:" />
|
||||
<Image url="res://icon" stretch="none" horizontalAlignment="left"/>
|
||||
|
||||
<Label text="url:" />
|
||||
<Image url="http://www.google.com/images/errors/logo_sm_2.png" stretch="none" horizontalAlignment="left"/>
|
||||
|
||||
<Label text="app file:" />
|
||||
<Image url="~/app/logo.png" stretch="none" horizontalAlignment="left" />
|
||||
</StackLayout>
|
||||
</Page>
|
||||
</Page>
|
||||
|
||||
Reference in New Issue
Block a user