I'm using React Native for building my android application and I've followed this tutorial to set up my splash screen. Here is the result. My main problem is that the status bar color changes to black, I can't solve this by having <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
in my styles.xml
file, and <color name="blue">#009CD7</color>
, <color name="colorPrimaryDark">#009CD7</color>
in my colors.xml
file.
Bonus question: how to center the image without hardcoding a margin so that it stays in the center regardless of the device the app is running on?