When I try to set a Theme like this:
<style name="Theme.Splash" parent="android:Theme">
<item name="android:windowBackground">@drawable/splash</item>
<item name="android:windowNoTitle">true</item>
</style>
I get the following exception in my main Activity at LoadApplication(new App());:
[MonoDroid] UNHANDLED EXCEPTION:
[MonoDroid] System.NullReferenceException: Object reference not set to an instance of an object
[MonoDroid] at Xamarin.Forms.Platform.Android.Platform.UpdateActionBarBackgroundColor () <IL 0x00010, 0x00085>
[MonoDroid] at Xamarin.Forms.Platform.Android.Platform.set_CurrentNavigationPage (Xamarin.Forms.NavigationPage) <IL 0x000f2, 0x0057f>
[MonoDroid] at Xamarin.Forms.Platform.Android.Platform.UpdateActionBar () <IL 0x0006a, 0x0023f>
[MonoDroid] at Xamarin.Forms.Platform.Android.Platform.SetPage (Xamarin.Forms.Page) <IL 0x000c0, 0x003df>
[MonoDroid] at Xamarin.Forms.Platform.Android.FormsApplicationActivity.InternalSetPage (Xamarin.Forms.Page) <IL 0x000be, 0x003d7>
[MonoDroid] at Xamarin.Forms.Platform.Android.FormsApplicationActivity.SetMainPage () <IL 0x0000c, 0x0004b>
[MonoDroid] at Xamarin.Forms.Platform.Android.FormsApplicationActivity.LoadApplication (Xamarin.Forms.Application) <IL 0x0002e, 0x0014b>
[MonoDroid] at Project.Android.MainActivity.OnCreate (Android.OS.Bundle) [0x00036] in e:\Eigene Datein\Development\Apps\Project\Android\MainActivity.cs:34
[MonoDroid] at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (intptr,intptr,intptr) [0x00011] in /Users/builder/data/lanes/1353/86274adf/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.App.Activity.cs:2380
[MonoDroid] at (wrapper dynamic-method) object.165b91f2-2116-4c6b-87e4-833b72fcb287 (intptr,intptr,intptr) <IL 0x00017, 0x0001f>
[mono]
[mono] Unhandled Exception:
[mono] System.NullReferenceException: Object reference not set to an instance of an object
[mono] at Xamarin.Forms.Platform.Android.Platform.UpdateActionBarBackgroundColor () [0x00000] in <filename unknown>:0
[mono] at Xamarin.Forms.Platform.Android.Platform.set_CurrentNavigationPage (Xamarin.Forms.NavigationPage value) [0x00000] in <filename unknown>:0
[mono] at Xamarin.Forms.Platform.Android.Platform.UpdateActionBar () [0x00000] in <filename unknown>:0
[mono] at Xamarin.Forms.Platform.Android.Platform.SetPage (Xamarin.Forms.Page newRoot) [0x00000] in <filename unknown>:0
[mono] at Xamarin.Forms.Platform.Android.FormsApplicationActivity.InternalSetPage (Xamarin.Forms.Page page) [0x00000] in <filename unknown>:0
[mono] at Xamarin.Forms.Platform.Android.FormsApplicationActivity.SetMainPage () [0x00000] in <filename unknown>:0
[mono] at Xamarin.Forms.Platform.Android.FormsApplicationActivity.LoadApplication (Xamarin.Forms.Application application) [0x00000] in <filename unknown>:0
[mono] at Project.Android.MainActivity.OnCreate (Android.OS.Bundle savedInstanceState) [0x00036] in e:\Eigene Datein\Development\Apps\Project\Android\MainActivity.cs:34
[mono] at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (IntPtr jnienv, IntPtr native__this, IntPtr native_savedInstanceState) [0x00011] in /Users/builder/data/lanes/1353/86274adf/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.App.Activity.cs:2380
[mono] at (wrapper dynamic-method) object:165b91f2-2116-4c6b-87e4-833b72fcb287 (intptr,intptr,intptr)
[mono-rt] [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
[mono-rt] at Xamarin.Forms.Platform.Android.Platform.UpdateActionBarBackgroundColor () [0x00000] in <filename unknown>:0
[mono-rt] at Xamarin.Forms.Platform.Android.Platform.set_CurrentNavigationPage (Xamarin.Forms.NavigationPage value) [0x00000] in <filename unknown>:0
[mono-rt] at Xamarin.Forms.Platform.Android.Platform.UpdateActionBar () [0x00000] in <filename unknown>:0
[mono-rt] at Xamarin.Forms.Platform.Android.Platform.SetPage (Xamarin.Forms.Page newRoot) [0x00000] in <filename unknown>:0
[mono-rt] at Xamarin.Forms.Platform.Android.FormsApplicationActivity.InternalSetPage (Xamarin.Forms.Page page) [0x00000] in <filename unknown>:0
[mono-rt] at Xamarin.Forms.Platform.Android.FormsApplicationActivity.SetMainPage () [0x00000] in <filename unknown>:0
[mono-rt] at Xamarin.Forms.Platform.Android.FormsApplicationActivity.LoadApplication (Xamarin.Forms.Application application) [0x00000] in <filename unknown>:0
[mono-rt] at Project.Android.MainActivity.OnCreate (Android.OS.Bundle savedInstanceState) [0x00036] in e:\Eigene Datein\Development\Apps\Project\Android\MainActivity.cs:34
[mono-rt] at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (IntPtr jnienv, IntPtr native__this, IntPtr native_savedInstanceState) [0x00011] in /Users/builder/data/lanes/1353/86274adf/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.App.Activity.cs:2380
[mono-rt] at (wrapper dynamic-method) object:165b91f2-2116-4c6b-87e4-833b72fcb287 (intptr,intptr,intptr)
Tested on emulator Android 4.1.1 with newest Xamarin.Forms.