From bfaeb3c8a90ffe2b07b36ba2ca6b78b5b4c59733 Mon Sep 17 00:00:00 2001 From: Nedyalko Nikolov Date: Wed, 16 Sep 2015 11:27:42 +0300 Subject: [PATCH] Fix for #747 issue. --- CrossPlatformModules.csproj | 2 ++ .../ui/action-bar/ActionBar_NumberAsText.ts | 5 +++++ .../ui/action-bar/ActionBar_NumberAsText.xml | 12 ++++++++++ .../ui/action-bar/action-bar-tests-common.ts | 22 +++++++++++++++++++ ui/action-bar/action-bar.android.ts | 2 +- ui/action-bar/action-bar.ios.ts | 4 ++-- 6 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 apps/tests/ui/action-bar/ActionBar_NumberAsText.ts create mode 100644 apps/tests/ui/action-bar/ActionBar_NumberAsText.xml diff --git a/CrossPlatformModules.csproj b/CrossPlatformModules.csproj index 9a47ba9ed..ad4f0f8ec 100644 --- a/CrossPlatformModules.csproj +++ b/CrossPlatformModules.csproj @@ -79,6 +79,7 @@ data-binding.xml + @@ -111,6 +112,7 @@ + Designer diff --git a/apps/tests/ui/action-bar/ActionBar_NumberAsText.ts b/apps/tests/ui/action-bar/ActionBar_NumberAsText.ts new file mode 100644 index 000000000..f47a44149 --- /dev/null +++ b/apps/tests/ui/action-bar/ActionBar_NumberAsText.ts @@ -0,0 +1,5 @@ +import frame = require("ui/frame"); + +export function buttonTap(args) { + frame.topmost().goBack(); +} \ No newline at end of file diff --git a/apps/tests/ui/action-bar/ActionBar_NumberAsText.xml b/apps/tests/ui/action-bar/ActionBar_NumberAsText.xml new file mode 100644 index 000000000..af3c357ab --- /dev/null +++ b/apps/tests/ui/action-bar/ActionBar_NumberAsText.xml @@ -0,0 +1,12 @@ + + + + + + + + + +