diff --git a/CrossPlatformModules.csproj b/CrossPlatformModules.csproj index 0b2f72531..2e9ef179a 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 @@ -71,6 +71,14 @@ + + + main-page.xml + + + + + list-picker.xml @@ -391,6 +399,16 @@ border.d.ts + + action-bar.d.ts + + + action-bar.d.ts + + + + action-bar.d.ts + repeater.d.ts @@ -657,6 +675,19 @@ + + + + Designer + + + Designer + + + Designer + + + @@ -1600,6 +1631,7 @@ PreserveNewest + @@ -1623,6 +1655,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..033cf41b2 --- /dev/null +++ b/apps/action-bar-demo/main-page.xml @@ -0,0 +1,11 @@ + + + + +