summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls/App.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Controls/App.cs')
-rw-r--r--Xamarin.Forms.Controls/App.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls/App.cs b/Xamarin.Forms.Controls/App.cs
index c6480040..3af36ee3 100644
--- a/Xamarin.Forms.Controls/App.cs
+++ b/Xamarin.Forms.Controls/App.cs
@@ -8,6 +8,7 @@ using Xamarin.Forms.PlatformConfiguration.WindowsSpecific;
namespace Xamarin.Forms.Controls
{
+
public class App : Application
{
public const string AppName = "XamarinFormsControls";
@@ -31,6 +32,18 @@ namespace Xamarin.Forms.Controls
Master = new ContentPage { Title = "Master", BackgroundColor = Color.Red },
Detail = CoreGallery.GetMainPage()
};
+
+ //// Uncomment to verify that there is no gray screen displayed between the blue splash and red MasterDetailPage.
+ //MainPage = new Bugzilla44596SplashPage(() =>
+ //{
+ // var newTabbedPage = new TabbedPage();
+ // newTabbedPage.Children.Add(new ContentPage { BackgroundColor = Color.Red, Content = new Label { Text = "yay" } });
+ // MainPage = new MasterDetailPage
+ // {
+ // Master = new ContentPage { Title = "Master", BackgroundColor = Color.Red },
+ // Detail = newTabbedPage
+ // };
+ //});
}
protected override void OnAppLinkRequestReceived(Uri uri)