title: Change Splash Screen Color Programmatically
body: <p>I use following the way to change splash screen color programmatically, but DrawableLayer's <code>FindDrawableLayerById</code> returns a null value.</p>
  
  <pre><code>protected override void OnCreate(Bundle bundleSavedInstanceState)
              {
                  base.OnCreate(bundleSavedInstanceState);
  
                  LayerDrawable layerDrawable = (LayerDrawable)ContextCompat.GetDrawable(this, Resource.Drawable.XMLFileSplashScreen);
  
                  GradientDrawable gradientDrawable = (GradientDrawable)layerDrawable.FindDrawableByLayerId(Resource.Id.itemSplashScreenColor);
  
                  gradientDrawable.SetColor(Resource.Color.Blue);
              }
  </code></pre>