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

react native 的默认布局单位不是dp咩? #2

Open
5468sun opened this issue Jan 11, 2018 · 1 comment
Open

react native 的默认布局单位不是dp咩? #2

5468sun opened this issue Jan 11, 2018 · 1 comment

Comments

@5468sun
Copy link

5468sun commented Jan 11, 2018

react native 的默认布局单位不是dp咩?

@TerranTian
Copy link
Owner

嗯,不过设计师用的是px,使用rn_resolution方案,能直接用美术提供的坐标与尺寸,保证实现的效果,中间不存在换算。

这种方案可以一套资源适配所有分辨率。

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

2 participants