From 25e2d2dca03f308f6db13f8fdadc1eef1bcd6bce Mon Sep 17 00:00:00 2001 From: Rockford Lhotka Date: Sat, 7 May 2016 10:41:56 -0500 Subject: [PATCH] #133 Add basic landing page --- src/MobileKidsIdApp/MobileKidsIdApp.sln | 2 ++ .../MobileKidsIdApp/MobileKidsIdApp/App.cs | 14 +------------- .../MobileKidsIdApp/LandingPage.xaml | 6 ++++++ .../MobileKidsIdApp/LandingPage.xaml.cs | 18 ++++++++++++++++++ .../MobileKidsIdApp/MobileKidsIdApp.csproj | 9 +++++++++ 5 files changed, 36 insertions(+), 13 deletions(-) create mode 100644 src/MobileKidsIdApp/MobileKidsIdApp/MobileKidsIdApp/LandingPage.xaml create mode 100644 src/MobileKidsIdApp/MobileKidsIdApp/MobileKidsIdApp/LandingPage.xaml.cs diff --git a/src/MobileKidsIdApp/MobileKidsIdApp.sln b/src/MobileKidsIdApp/MobileKidsIdApp.sln index 3499d86..2d9e031 100644 --- a/src/MobileKidsIdApp/MobileKidsIdApp.sln +++ b/src/MobileKidsIdApp/MobileKidsIdApp.sln @@ -256,6 +256,8 @@ Global {09E69250-4634-41F9-A918-13C02A7E4C11}.AppStore|x86.Build.0 = Release|x86 {09E69250-4634-41F9-A918-13C02A7E4C11}.AppStore|x86.Deploy.0 = Release|x86 {09E69250-4634-41F9-A918-13C02A7E4C11}.Debug|Any CPU.ActiveCfg = Debug|x86 + {09E69250-4634-41F9-A918-13C02A7E4C11}.Debug|Any CPU.Build.0 = Debug|x86 + {09E69250-4634-41F9-A918-13C02A7E4C11}.Debug|Any CPU.Deploy.0 = Debug|x86 {09E69250-4634-41F9-A918-13C02A7E4C11}.Debug|ARM.ActiveCfg = Debug|ARM {09E69250-4634-41F9-A918-13C02A7E4C11}.Debug|ARM.Build.0 = Debug|ARM {09E69250-4634-41F9-A918-13C02A7E4C11}.Debug|ARM.Deploy.0 = Debug|ARM diff --git a/src/MobileKidsIdApp/MobileKidsIdApp/MobileKidsIdApp/App.cs b/src/MobileKidsIdApp/MobileKidsIdApp/MobileKidsIdApp/App.cs index 5a3c385..c598a86 100644 --- a/src/MobileKidsIdApp/MobileKidsIdApp/MobileKidsIdApp/App.cs +++ b/src/MobileKidsIdApp/MobileKidsIdApp/MobileKidsIdApp/App.cs @@ -12,19 +12,7 @@ public class App : Application public App() { // The root page of your application - MainPage = new ContentPage - { - Content = new StackLayout - { - VerticalOptions = LayoutOptions.Center, - Children = { - new Label { - XAlign = TextAlignment.Center, - Text = "Welcome to Xamarin Forms!" - } - } - } - }; + MainPage = new LandingPage(); } protected override void OnStart() diff --git a/src/MobileKidsIdApp/MobileKidsIdApp/MobileKidsIdApp/LandingPage.xaml b/src/MobileKidsIdApp/MobileKidsIdApp/MobileKidsIdApp/LandingPage.xaml new file mode 100644 index 0000000..3330e50 --- /dev/null +++ b/src/MobileKidsIdApp/MobileKidsIdApp/MobileKidsIdApp/LandingPage.xaml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/src/MobileKidsIdApp/MobileKidsIdApp/MobileKidsIdApp/LandingPage.xaml.cs b/src/MobileKidsIdApp/MobileKidsIdApp/MobileKidsIdApp/LandingPage.xaml.cs new file mode 100644 index 0000000..59b9579 --- /dev/null +++ b/src/MobileKidsIdApp/MobileKidsIdApp/MobileKidsIdApp/LandingPage.xaml.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +using Xamarin.Forms; + +namespace MobileKidsIdApp +{ + public partial class LandingPage : ContentPage + { + public LandingPage() + { + InitializeComponent(); + } + } +} diff --git a/src/MobileKidsIdApp/MobileKidsIdApp/MobileKidsIdApp/MobileKidsIdApp.csproj b/src/MobileKidsIdApp/MobileKidsIdApp/MobileKidsIdApp/MobileKidsIdApp.csproj index c8e63ab..395b45b 100644 --- a/src/MobileKidsIdApp/MobileKidsIdApp/MobileKidsIdApp/MobileKidsIdApp.csproj +++ b/src/MobileKidsIdApp/MobileKidsIdApp/MobileKidsIdApp/MobileKidsIdApp.csproj @@ -36,6 +36,9 @@ + + LandingPage.xaml + @@ -56,6 +59,12 @@ True + + + MSBuild:UpdateDesignTimeXaml + Designer + +