Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

layout issue on Samsung S8 #6

Open
liangfenxiaodao opened this issue Apr 10, 2018 · 3 comments
Open

layout issue on Samsung S8 #6

liangfenxiaodao opened this issue Apr 10, 2018 · 3 comments

Comments

@liangfenxiaodao
Copy link

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.

@spencercarli
Copy link
Owner

spencercarli commented Apr 13, 2018

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).

@liangfenxiaodao
Copy link
Author

Thank you for your reply. I've done a few spikes and finally decided to remove the splash-scheme.

@felipebluiz
Copy link

Try adding "-"

android:layout_marginTop="-24dp"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants