Skip to content

Commit

Permalink
#133 Add basic landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
rockfordlhotka committed May 7, 2016
1 parent 882b2a3 commit 25e2d2d
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 13 deletions.
2 changes: 2 additions & 0 deletions src/MobileKidsIdApp/MobileKidsIdApp.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 1 addition & 13 deletions src/MobileKidsIdApp/MobileKidsIdApp/MobileKidsIdApp/App.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="MobileKidsIdApp.LandingPage">
<Label Text="MobileIdKidsApp landing page" VerticalOptions="Center" HorizontalOptions="Center" />
</ContentPage>
Original file line number Diff line number Diff line change
@@ -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();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
</PropertyGroup>
<ItemGroup>
<Compile Include="App.cs" />
<Compile Include="LandingPage.xaml.cs">
<DependentUpon>LandingPage.xaml</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
Expand All @@ -56,6 +59,12 @@
<Private>True</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="LandingPage.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
<Import Project="..\..\packages\Xamarin.Forms.2.2.0.31\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets" Condition="Exists('..\..\packages\Xamarin.Forms.2.2.0.31\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
Expand Down

0 comments on commit 25e2d2d

Please sign in to comment.