Forum Xamarin.Forms


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Xamarin.Forms.1.5.1 Released issues

After upgrade xamarin forms 1.5.1 version getting following issues :

  • Getting error to create splash screen. In earlier version following theme working good.
But now  null reference exception occurs.

After set parent = Theme.AppCompat then also problem not resolved.
  • Another issue is unable to create "values-21" folder in resource directory. Shows following error msg :
    Invalid resource directory name: "res values-21".

    Thank you



  • LGMaestrelliLGMaestrelli BRMember ✭✭✭
    edited October 2015

    The resource's folder should be "values-v21" and not "values-21".

  • UddhaoPachrneUddhaoPachrne INMember ✭✭

    @LGMaestrelli thanks, did simple mistake.

    Somebody konw how to apply splash screen theme using App Compat ??
  • UddhaoPachrneUddhaoPachrne INMember ✭✭

    I Fixed splash screen issue for App Compat. In SplashScreen activity when we write NoHistory = true then no need to write Finish() in earlier version but now need to write both in splash screen activity like this :

    [Activity(Label = " test ", Icon = "@drawable/AppIcon", MainLauncher = true, Theme = "@style/SplashScreenTheme", NoHistory = true]

    public class SplashActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
        protected override void OnCreate(Bundle bundle)
            Finish(); // Dont know why need this method  when already use NoHistory = true

    But after use Finish(), my problem resolved.

Sign In or Register to comment.