protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); Token oToken = Token.GetInstance(); if (!string.IsNullOrWhiteSpace(oToken.accessTokenApi)) { StartActivity(typeof(OwnerProfileActivity)); } //Show Splash Screen var config = new EasySplashScreen(this) .WithFullScreen() .WithTargetActivity(Java.Lang.Class.FromType(typeof(MainActivity))) .WithSplashTimeOut(5000)// 5 sec .WithBackgroundColor(Color.ParseColor("#F2E2CE")) .WithLogo(Resource.Drawable.splashScreen); //Create View View oView = config.Create(); //Set Content View SetContentView(oView); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); // Set our view from the "main" layout resource SetContentView(Resource.Layout.Main); //Show Splash var config = new EasySplashScreen(this) .WithFullScreen() .WithTargetActivity(Java.Lang.Class.FromType(typeof(WelcomeActivity))) .WithSplashTimeOut(5000) // 5 sec .WithBackgroundColor(Color.ParseColor("#72bcd4")) .WithLogo(Resource.Drawable.S_Park_Symbol) .WithAfterLogoText("\t \t \t \t \t makes parking \n \t \t the ultimate experiences!!") .WithFooterText("© 2018 CIMSOLUTIONS"); //Set Text Color config.AfterLogoTextView.SetTextColor(Color.White); config.FooterTextView.SetTextColor(Color.White); config.AfterLogoTextView.SetTextSize(Android.Util.ComplexUnitType.Px, 31); //Create View View view = config.Create(); //Set Content View SetContentView(view); }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); var config = new EasySplashScreen(this); config.WithLogo(Resource.Drawable.Icon_Transparent); config.WithTargetActivity(Java.Lang.Class.FromType(typeof(MainActivity))); config.WithBackgroundColor(Color.ParseColor("#141212")); config.WithSplashTimeOut( #if DEBUG 1000 #else 2500 #endif ); config.WithBeforeLogoText("Welcome To Neko Viewer"); config.WithFooterText("Made By: Jay and Nobbele"); //Text Color config.Logo.ScaleX = 0.5f; config.Logo.ScaleY = 0.5f; config.BeforeLogoTextView.SetTextColor(Color.White); config.FooterTextView.SetTextColor(Color.White); //Create View View view = config.Create(); //Set Content View SetContentView(view); }
/// <summary> /// Show the Splash Screen /// </summary> public void ShowSplashScreen() { var Config = new EasySplashScreen(this) .WithFullScreen() .WithTargetActivity(Java.Lang.Class.FromType(typeof(TargetActivity))) .WithSplashTimeOut(500) .WithBackgroundColor(Color.ParseColor("#1A2335")) .WithLogo(Resource.Drawable.logopactia); Android.Views.View view = Config.Create(); SetContentView(view); }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); this.RequestedOrientation = ScreenOrientation.Portrait; var splash = new EasySplashScreen(this) .WithFullScreen() .WithTargetActivity(Java.Lang.Class.FromType(typeof(LoginActivity))) .WithSplashTimeOut(2000) .WithBackgroundColor(Color.ParseColor("#99ffcc")) .WithBackgroundResource(Resource.Drawable.refrigeratorSplash) .WithFooterText("©2019,4Infinity"); SetContentView(splash.Create()); }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); // Create your application here var config = new EasySplashScreen(this) .WithFullScreen() .WithTargetActivity(Java.Lang.Class.FromType(typeof(List_News_activity))) .WithSplashTimeOut(3000) .WithBackgroundColor(Color.ParseColor("#ffffff")) .WithLogo(Resource.Drawable.logo); View splash = config.Create(); SetContentView(splash); }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SubConfDb(); var config = new EasySplashScreen(this) .WithFullScreen() .WithBackgroundColor(Android.Graphics.Color.White) .WithTargetActivity(Java.Lang.Class.FromType(typeof(InicioActivity))) .WithSplashTimeOut(1000) .WithLogo(Resource.Drawable.Logo) .WithFooterText(String.Format("Prosisco Copyright {0}", DateTime.Now.Year)); View view = config.Create(); SetContentView(view); }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); //Splash screen config var config = new EasySplashScreen(this) .WithFullScreen() .WithLogo(Resource.Drawable.logo) .WithTargetActivity(Java.Lang.Class.FromType(typeof(SignInUpActivity))) .WithBackgroundColor(Color.ParseColor("#074E72")) .WithHeaderText("Hello!!!") .WithFooterText("Copyright 2019") .WithSplashTimeOut(5000); //Create view from config View view = config.Create(); SetContentView(view); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); // Show Splash Screen: DESCARGAR NUGET "EasySplashScreen v.1" var config = new EasySplashScreen(this) .WithFullScreen() .WithTargetActivity(Java.Lang.Class.FromType(typeof(Panel))) .WithSplashTimeOut(3000) // 3 segundos .WithBackgroundColor(Color.White) // Fondo de Pantalla .WithLogo(Resource.Drawable.logo_small) .WithFooterText("2018 © Copyright | Enfermed"); // Set Color config.FooterTextView.SetTextColor(Color.ParseColor("#00b00f")); // Create View View view = config.Create(); SetContentView(view); }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); //Show splash screen var config = new EasySplashScreen(this) .WithFullScreen() .WithTargetActivity(Java.Lang.Class.FromType(typeof(TargetActivity))) .WithSplashTimeOut(5000) //.WithBackgroundResource(android.R.color.holo_red_light) .WithLogo(Resource.Drawable.Logo) .WithHeaderText("Wellcome to Simple Payment App") .WithFooterText("copyright st.d.i 2018"); //Set Color for text //config.getHeaderTextView().setTextColor(Color.White); //config.getFooterTextView().setTextColor(Color.White); //Create View View view = config.Create(); SetContentView(view); }