react-native-splash-screen-demo
react-native-splash-screen-demo copied to clipboard
layout issue on Samsung S8
This demo works fine on Nexus and Huawei, but has a slight layout issue on Samsung S8.
when SplashActivity starts MainActivity, I can see the logo moved down a little bit, but clearly.
Interesting. The S8 must not have a standard status bar height. You would need to modify this to make it work correctly.
I'm not sure how you would/if you can conditionally change that (not too familiar with Android).
Thank you for your reply. I've done a few spikes and finally decided to remove the splash-scheme.
Try adding "-"
android:layout_marginTop="-24dp"