Update the xmlns of the target apps

This commit is contained in:
Erjan Gavalji
2015-11-09 14:20:01 +02:00
parent ed489585ec
commit e5741b0eb1
33 changed files with 40 additions and 40 deletions

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" loaded="pageLoaded" id="mainPage"> <Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded" id="mainPage">
<StackLayout orientation="vertical"> <StackLayout orientation="vertical">
<StackLayout orientation="vertical" backgroundColor="LightGray" paddingTop="5" paddingBottom="5"> <StackLayout orientation="vertical" backgroundColor="LightGray" paddingTop="5" paddingBottom="5">

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" loaded="onPageLoaded"> <Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="onPageLoaded">
<StackLayout id="stackLayout"> <StackLayout id="stackLayout">
<Button text="Get Connection Type" tap="onGetConnectionType" style.fontSize="30" horizontalAlignment="stretch" textAlignment="center"/> <Button text="Get Connection Type" tap="onGetConnectionType" style.fontSize="30" horizontalAlignment="stretch" textAlignment="center"/>
<Button text="Start Monitoring" tap="onStartMonitoring" style.fontSize="30" horizontalAlignment="stretch" textAlignment="center"/> <Button text="Start Monitoring" tap="onStartMonitoring" style.fontSize="30" horizontalAlignment="stretch" textAlignment="center"/>

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" navigatedTo="pageNavigatedTo"> <Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatedTo="pageNavigatedTo">
<GridLayout rows="*, auto"> <GridLayout rows="*, auto">
<ScrollView> <ScrollView>
<StackLayout> <StackLayout>

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" loaded="pageLoaded"> <Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded">
<TabView> <TabView>
<TabView.items> <TabView.items>
<TabViewItem title="List"> <TabViewItem title="List">

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" navigatedTo="pageNavigatedTo"> <Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatedTo="pageNavigatedTo">
<GridLayout rows="*, auto"> <GridLayout rows="*, auto">
<ScrollView> <ScrollView>
<StackLayout> <StackLayout>

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" loaded="pageLoaded"> <Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded">
<TabView> <TabView>
<TabView.items> <TabView.items>
<TabViewItem title="List"> <TabViewItem title="List">

View File

@ -1,3 +1,3 @@
<Page xmlns="http://www.nativescript.org/tns.xsd"> <Page xmlns="http://schemas.nativescript.org/tns.xsd">
<Label text="Another page"/> <Label text="Another page"/>
</Page> </Page>

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" navigatedTo="onNavigatedTo"> <Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatedTo="onNavigatedTo">
<StackLayout> <StackLayout>
<TextField text="1" loaded="onTextFieldLoaded"/> <TextField text="1" loaded="onTextFieldLoaded"/>
<Button text="Bind" tap="onBind"/> <Button text="Bind" tap="onBind"/>

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" <Page xmlns="http://schemas.nativescript.org/tns.xsd"
shownModally="onShownModally" shownModally="onShownModally"
navigatingTo="onNavigatingTo" navigatingTo="onNavigatingTo"
loaded="onLoaded" loaded="onLoaded"

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" id="_mainPage" backgroundColor="Red" <Page xmlns="http://schemas.nativescript.org/tns.xsd" id="_mainPage" backgroundColor="Red"
navigatingTo="onNavigatingTo" navigatingTo="onNavigatingTo"
loaded="onLoaded" loaded="onLoaded"
navigatedTo="onNavigatedTo" navigatedTo="onNavigatedTo"

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" loaded="onPageLoaded" unloaded="onPageUnloaded"> <Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="onPageLoaded" unloaded="onPageUnloaded">
<StackLayout> <StackLayout>
<Label id="batteryLabel" text="Battery" style.fontSize="30" horizontalAlignment="stretch" textAlignment="center"/> <Label id="batteryLabel" text="Battery" style.fontSize="30" horizontalAlignment="stretch" textAlignment="center"/>
</StackLayout> </StackLayout>

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" loaded="onPageLoaded" unloaded="onPageUnloaded" navigatedTo="pageNavigatedTo"> <Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="onPageLoaded" unloaded="onPageUnloaded" navigatedTo="pageNavigatedTo">
<GridLayout> <GridLayout>
<TextView text="{{ orientation }}" /> <TextView text="{{ orientation }}" />
</GridLayout> </GridLayout>

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd"> <Page xmlns="http://schemas.nativescript.org/tns.xsd">
<StackLayout> <StackLayout>
<Placeholder creatingView="creatingView" width="200" height="200" backgroundColor="red"/> <Placeholder creatingView="creatingView" width="200" height="200" backgroundColor="red"/>
</StackLayout> </StackLayout>

View File

@ -1,3 +1,3 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" > <Page xmlns="http://schemas.nativescript.org/tns.xsd" >
<!-- UI Decalration --> <!-- UI Decalration -->
</Page> </Page>

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" loaded="pageLoaded"> <Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded">
<StackLayout> <StackLayout>
<Label text="Tap the button" class="title"/> <Label text="Tap the button" class="title"/>
<Button text="TAP" tap="{{ tapAction }}" /> <Button text="TAP" tap="{{ tapAction }}" />

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" <Page xmlns="http://schemas.nativescript.org/tns.xsd"
xmlns:app="." xmlns:app="."
navigatedTo="pageNavigatedTo"> navigatedTo="pageNavigatedTo">
<app:details-view /> <app:details-view />

View File

@ -1,4 +1,4 @@
<StackLayout xmlns="http://www.nativescript.org/tns.xsd"> <StackLayout xmlns="http://schemas.nativescript.org/tns.xsd">
<Label text="{{ title }}" class="detail-title"/> <Label text="{{ title }}" class="detail-title"/>
<Label text="{{ info }}" class="info" textWrap="true"/> <Label text="{{ info }}" class="info" textWrap="true"/>
</StackLayout> </StackLayout>

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" <Page xmlns="http://schemas.nativescript.org/tns.xsd"
xmlns:app="." xmlns:app="."
loaded="pageLoaded"> loaded="pageLoaded">
<GridLayout rows="auto, *" columns="300, *"> <GridLayout rows="auto, *" columns="300, *">

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" <Page xmlns="http://schemas.nativescript.org/tns.xsd"
loaded="pageLoaded"> loaded="pageLoaded">
<GridLayout rows="auto, *"> <GridLayout rows="auto, *">
<Label text="Items Page" class="title" /> <Label text="Items Page" class="title" />

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" loaded="pageLoaded"> <Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded">
<StackLayout class="content"> <StackLayout class="content">
<!-- Profile sttings --> <!-- Profile sttings -->
<Label class="header" text="Profile"/> <Label class="header" text="Profile"/>

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" loaded="pageLoaded"> <Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded">
<TabView> <TabView>
<TabView.items> <TabView.items>
<TabViewItem title="First"> <TabViewItem title="First">

View File

@ -1,3 +1,3 @@
<Page xmlns="http://www.nativescript.org/tns.xsd"> <Page xmlns="http://schemas.nativescript.org/tns.xsd">
<Button text="Back" tap="buttonTap"/> <Button text="Back" tap="buttonTap"/>
</Page> </Page>

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" <Page xmlns="http://schemas.nativescript.org/tns.xsd"
xmlns:g="components/grid-view/grid-view" xmlns:g="components/grid-view/grid-view"
loaded="pageLoaded"> loaded="pageLoaded">
<StackLayout id="upperStack"> <StackLayout id="upperStack">

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" loaded="pageLoaded"> <Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded">
<StackLayout> <StackLayout>
<StackLayout> <StackLayout>
<Label id="testLabel" text="{{ testProperty }}" /> <Label id="testLabel" text="{{ testProperty }}" />

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" loaded="pageLoaded"> <Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded">
<Repeater id="repeater" items="{{ items }}"> <Repeater id="repeater" items="{{ items }}">
<Repeater.itemTemplate> <Repeater.itemTemplate>
<GridLayout width="94" height="94" > <GridLayout width="94" height="94" >

View File

@ -1,4 +1,4 @@
<inherited:InheritedPage xmlns="http://www.nativescript.org/tns.xsd" <inherited:InheritedPage xmlns="http://schemas.nativescript.org/tns.xsd"
xmlns:inherited="xml-declaration/inherited-base-page" loaded="pageLoaded"> xmlns:inherited="xml-declaration/inherited-base-page" loaded="pageLoaded">
<Label text="Inherited" /> <Label text="Inherited" />
</inherited:InheritedPage> </inherited:InheritedPage>

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" loaded="MyPageLoaded" <Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="MyPageLoaded"
xmlns:customControls="xml-declaration/mymodule" xmlns:customControls="xml-declaration/mymodule"
xmlns:customControls2="xml-declaration/mymodulewithxml"> xmlns:customControls2="xml-declaration/mymodulewithxml">
<TabView> <TabView>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!--SCHEMA VERSION: 1.4.0-2015.9.25.1--> <!--SCHEMA VERSION: 1.4.0-2015.9.25.1-->
<xs:schema id="tns" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.nativescript.org/tns.xsd" xmlns="http://www.nativescript.org/tns.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:schema id="tns" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://schemas.nativescript.org/tns.xsd" xmlns="http://schemas.nativescript.org/tns.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:attributeGroup name="actionBarAttributes"> <xs:attributeGroup name="actionBarAttributes">
<xs:attribute name="title" type="StringValidator"/> <xs:attribute name="title" type="StringValidator"/>
<xs:attribute name="navigationButton" type="StringValidator"/> <xs:attribute name="navigationButton" type="StringValidator"/>

View File

@ -604,7 +604,7 @@ export function test_parse_ShouldParseCustomComponentWithoutXmlInListViewTemplat
} }
export function test_parse_ShouldParseNestedListViewInListViewTemplate() { export function test_parse_ShouldParseNestedListViewInListViewTemplate() {
var p = <Page>builder.parse('<Page xmlns="http://www.nativescript.org/tns.xsd"><ListView items="{{ items }}" itemLoading="{{ itemLoading }}"><ListView.itemTemplate><ListView items="{{ subItems }}" /></ListView.itemTemplate></ListView></Page>'); var p = <Page>builder.parse('<Page xmlns="http://schemas.nativescript.org/tns.xsd"><ListView items="{{ items }}" itemLoading="{{ itemLoading }}"><ListView.itemTemplate><ListView items="{{ subItems }}" /></ListView.itemTemplate></ListView></Page>');
function testAction(views: Array<viewModule.View>) { function testAction(views: Array<viewModule.View>) {
var ctrl; var ctrl;
@ -632,7 +632,7 @@ export function test_parse_ShouldParseNestedListViewInListViewTemplate() {
} }
export function test_parse_ShouldEvaluateEventBindingExpressionInListViewTemplate() { export function test_parse_ShouldEvaluateEventBindingExpressionInListViewTemplate() {
var p = <Page>builder.parse('<Page xmlns="http://www.nativescript.org/tns.xsd"><ListView items="{{ items }}" itemLoading="{{ itemLoading }}"><ListView.itemTemplate><SegmentedBar items="{{ $parents[\'ListView\'].items }}" selectedIndexChanged="{{ $parents[\'ListView\'].changed }}" /></ListView.itemTemplate></ListView></Page>'); var p = <Page>builder.parse('<Page xmlns="http://schemas.nativescript.org/tns.xsd"><ListView items="{{ items }}" itemLoading="{{ itemLoading }}"><ListView.itemTemplate><SegmentedBar items="{{ $parents[\'ListView\'].items }}" selectedIndexChanged="{{ $parents[\'ListView\'].changed }}" /></ListView.itemTemplate></ListView></Page>');
function testAction(views: Array<viewModule.View>) { function testAction(views: Array<viewModule.View>) {
var ctrl: segmentedBar.SegmentedBar; var ctrl: segmentedBar.SegmentedBar;
@ -670,7 +670,7 @@ export function test_parse_ShouldEvaluateEventBindingExpressionInListViewTemplat
export function test_parse_NestedRepeaters() { export function test_parse_NestedRepeaters() {
var pageXML = var pageXML =
"<Page xmlns='http://www.nativescript.org/tns.xsd'>" + "<Page xmlns='http://schemas.nativescript.org/tns.xsd'>" +
" <TabView>" + " <TabView>" +
" <TabView.items>" + " <TabView.items>" +
" <TabViewItem title='List'>" + " <TabViewItem title='List'>" +
@ -722,7 +722,7 @@ export function test_parse_NestedRepeaters() {
} }
export function test_parseSpansDirectlyOnLabel() { export function test_parseSpansDirectlyOnLabel() {
var p = <Page>builder.parse('<Page xmlns="http://www.nativescript.org/tns.xsd" navigatedTo="pageNavigated"><StackLayout><Label id="testLabel"><Span text="We are" fontSize="10"/><Span text="Awesome" fontAttributes="Bold"/></Label></StackLayout></Page>'); var p = <Page>builder.parse('<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatedTo="pageNavigated"><StackLayout><Label id="testLabel"><Span text="We are" fontSize="10"/><Span text="Awesome" fontAttributes="Bold"/></Label></StackLayout></Page>');
function testAction(views: Array<viewModule.View>) { function testAction(views: Array<viewModule.View>) {
var page = <Page>views[0]; var page = <Page>views[0];
var testLabel = <Label>page.getViewById("testLabel"); var testLabel = <Label>page.getViewById("testLabel");
@ -739,7 +739,7 @@ export function test_parseSpansDirectlyOnLabel() {
} }
export function test_parseSpansDirectlyOnButton() { export function test_parseSpansDirectlyOnButton() {
var p = <Page>builder.parse('<Page xmlns="http://www.nativescript.org/tns.xsd" navigatedTo="pageNavigated"><StackLayout><Button id="testButton"><Span text="We are" fontSize="10"/><Span text="Awesome" fontAttributes="Bold"/></Button></StackLayout></Page>'); var p = <Page>builder.parse('<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatedTo="pageNavigated"><StackLayout><Button id="testButton"><Span text="We are" fontSize="10"/><Span text="Awesome" fontAttributes="Bold"/></Button></StackLayout></Page>');
function testAction(views: Array<viewModule.View>) { function testAction(views: Array<viewModule.View>) {
var page = <Page>views[0]; var page = <Page>views[0];
var testButton = <Button>page.getViewById("testButton"); var testButton = <Button>page.getViewById("testButton");
@ -756,7 +756,7 @@ export function test_parseSpansDirectlyOnButton() {
} }
export function test_parseFormattedStringWithoutFormattedText() { export function test_parseFormattedStringWithoutFormattedText() {
var p = <Page>builder.parse('<Page xmlns="http://www.nativescript.org/tns.xsd" navigatedTo="pageNavigated"><StackLayout><Button id="testButton"><FormattedString><FormattedString.spans><Span text="author"/><Span text=" num_comments"/></FormattedString.spans></FormattedString></Button></StackLayout></Page>'); var p = <Page>builder.parse('<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatedTo="pageNavigated"><StackLayout><Button id="testButton"><FormattedString><FormattedString.spans><Span text="author"/><Span text=" num_comments"/></FormattedString.spans></FormattedString></Button></StackLayout></Page>');
function testAction(views: Array<viewModule.View>) { function testAction(views: Array<viewModule.View>) {
var page = <Page>views[0]; var page = <Page>views[0];
var testButton = <Button>page.getViewById("testButton"); var testButton = <Button>page.getViewById("testButton");
@ -773,7 +773,7 @@ export function test_parseFormattedStringWithoutFormattedText() {
} }
export function test_parseFormattedStringFullSyntax() { export function test_parseFormattedStringFullSyntax() {
var p = <Page>builder.parse('<Page xmlns="http://www.nativescript.org/tns.xsd" navigatedTo="pageNavigated"><StackLayout><Button id="testButton"><Button.formattedText><FormattedString><FormattedString.spans><Span text="author"/><Span text=" num_comments"/></FormattedString.spans></FormattedString></Button.formattedText></Button></StackLayout></Page>'); var p = <Page>builder.parse('<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatedTo="pageNavigated"><StackLayout><Button id="testButton"><Button.formattedText><FormattedString><FormattedString.spans><Span text="author"/><Span text=" num_comments"/></FormattedString.spans></FormattedString></Button.formattedText></Button></StackLayout></Page>');
function testAction(views: Array<viewModule.View>) { function testAction(views: Array<viewModule.View>) {
var page = <Page>views[0]; var page = <Page>views[0];
var testButton = <Button>page.getViewById("testButton"); var testButton = <Button>page.getViewById("testButton");
@ -790,7 +790,7 @@ export function test_parseFormattedStringFullSyntax() {
} }
export function test_parseSpansDirectlyToFormattedString() { export function test_parseSpansDirectlyToFormattedString() {
var p = <Page>builder.parse('<Page xmlns="http://www.nativescript.org/tns.xsd" navigatedTo="pageNavigated"><StackLayout><Button id="testButton"><FormattedString><Span text="author"/><Span text=" num_comments"/></FormattedString></Button></StackLayout></Page>'); var p = <Page>builder.parse('<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatedTo="pageNavigated"><StackLayout><Button id="testButton"><FormattedString><Span text="author"/><Span text=" num_comments"/></FormattedString></Button></StackLayout></Page>');
function testAction(views: Array<viewModule.View>) { function testAction(views: Array<viewModule.View>) {
var page = <Page>views[0]; var page = <Page>views[0];
var testButton = <Button>page.getViewById("testButton"); var testButton = <Button>page.getViewById("testButton");

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" loaded="pageLoaded" id="mainPage"> <Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded" id="mainPage">
<StackLayout orientation="vertical" backgroundColor="LightGray" paddingLeft="5" paddingRight="5"> <StackLayout orientation="vertical" backgroundColor="LightGray" paddingLeft="5" paddingRight="5">
<Label text="translateX" marginTop="5" /> <Label text="translateX" marginTop="5" />

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.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" text="username"/> <TextField hint="username" id="username" text="username"/>
<TextField hint="password" id="password" text="password" secure="true"/> <TextField hint="password" id="password" text="password" secure="true"/>

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" loaded="pageLoaded" backgroundColor="Red"> <Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded" backgroundColor="Red">
<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" />

View File

@ -1,4 +1,4 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" loaded="pageLoaded"> <Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded">
<StackLayout> <StackLayout>
<Label id="label" /> <Label id="label" />
<Button text="æøå" /> <Button text="æøå" />