diff --git a/CrossPlatformModules.csproj b/CrossPlatformModules.csproj index 0b2f72531..7d201e7d8 100644 --- a/CrossPlatformModules.csproj +++ b/CrossPlatformModules.csproj @@ -3,7 +3,7 @@ 12.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - 1.4 + 1.5 {2313F1BF-1F2D-4F11-806A-87927FA6A7C0} {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} Library @@ -61,6 +61,21 @@ + + action-items-text.xml + + + center-view-stack.xml + + + center-view-segmented.xml + + + center-view.xml + + + data-binding.xml + details-page.xml @@ -69,8 +84,25 @@ main-page.xml + + + + + + + main-page.xml + + + navigation-button.xml + + + action-items-icon.xml + + + page-title-icon.xml + list-picker.xml @@ -156,6 +188,9 @@ + + + bindingContext_testPage.xml @@ -391,6 +426,16 @@ border.d.ts + + action-bar.d.ts + + + action-bar.d.ts + + + + action-bar.d.ts + repeater.d.ts @@ -657,6 +702,19 @@ + + + + Designer + + + Designer + + + Designer + + + @@ -1600,6 +1658,7 @@ PreserveNewest + @@ -1623,6 +1682,9 @@ + + PreserveNewest + diff --git a/apps/action-bar-demo/app.css b/apps/action-bar-demo/app.css new file mode 100644 index 000000000..99315f958 --- /dev/null +++ b/apps/action-bar-demo/app.css @@ -0,0 +1,13 @@ +Page { + background-color: white; +} + +ScrollView { + margin: 10; +} + +.title { + horizontal-align: center; + font-size: 24; + margin: 6 0; +} diff --git a/apps/action-bar-demo/app.ts b/apps/action-bar-demo/app.ts new file mode 100644 index 000000000..519a85d36 --- /dev/null +++ b/apps/action-bar-demo/app.ts @@ -0,0 +1,7 @@ +import application = require("application"); +application.mainModule = "main-page"; + +// Needed only for build infrastructure +application.cssFile = "app.css"; + +application.start(); diff --git a/apps/action-bar-demo/main-page.ts b/apps/action-bar-demo/main-page.ts new file mode 100644 index 000000000..effdd9a66 --- /dev/null +++ b/apps/action-bar-demo/main-page.ts @@ -0,0 +1,9 @@ +import observable = require("data/observable"); +import frame = require("ui/frame"); + +export function itemTap(args: observable.EventData) { + frame.topmost().navigate({ + moduleName: "pages/" + args.object.get("tag"), + }); +} + diff --git a/apps/action-bar-demo/main-page.xml b/apps/action-bar-demo/main-page.xml new file mode 100644 index 000000000..a4600175b --- /dev/null +++ b/apps/action-bar-demo/main-page.xml @@ -0,0 +1,15 @@ + + + + +