Remove max-length example from list-view folder. Move images from list-view folder to resources/images

This commit is contained in:
SvetoslavTsenov
2017-06-05 15:45:41 +03:00
parent 109f57476d
commit 855caf3e43
5 changed files with 2 additions and 17 deletions

View File

@@ -8,7 +8,7 @@ export function navigatingTo(args: EventData) {
export class ImagesTemplateViewModel extends Observable { export class ImagesTemplateViewModel extends Observable {
public items: Array<string> = ["res://icon", null, "~/ui-tests-app/list-view/no-image.png", null, "~/ui-tests-app/list-view/no-image.png", null, "res://icon", null]; public items: Array<string> = ["res://icon", null, "~/ui-tests-app/resources/images/no-image.png", null, "~/ui-tests-app/resources/images/git no-image.png", null, "res://icon", null];
constructor() { constructor() {
super(); super();

View File

@@ -1,14 +0,0 @@
<Page loaded="pageLoaded">
<Page.actionBar>
<ActionBar title="maxLength" />
</Page.actionBar>
<StackLayout>
<TextField id="maxLenghtFromCodeBehindWithText" hint="max lenght and text from code behind" maxLength="3" />
<TextField id="maxLenghtFromCodeBehind" hint="set only max length from code behind" />
<TextField id="inXml" text="in xml" hint="in xml" maxLength="3" />
<TextField id="useInput" hint="user input" maxLength="3" />
<TextField id="useInput" hint="user input" maxLength="3" secure="true" />
<Button tap="setText" text="Revert to initial state" />
</StackLayout>
</Page>

View File

Before

Width:  |  Height:  |  Size: 990 B

After

Width:  |  Height:  |  Size: 990 B

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -7,8 +7,7 @@
<TextField id="maxLenghtFromCodeBehind" hint="set only max length from code behind" /> <TextField id="maxLenghtFromCodeBehind" hint="set only max length from code behind" />
<TextField id="inXml" text="in xml" hint="in xml" maxLength="3" /> <TextField id="inXml" text="in xml" hint="in xml" maxLength="3" />
<TextField id="useInput" hint="user input" maxLength="3" /> <TextField id="useInput" hint="user input" maxLength="3" />
<TextField id="useInput" hint="user input" maxLength="3" secure="true" /> <TextField id="useInput" hint="user input" maxLength="3" secure="true" />
<Button tap="setText" text="Revert to initial state" /> <Button tap="setText" text="Revert to initial state" />
</StackLayout> </StackLayout>
</Page> </Page>