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

适配最小宽度的问题 #12

Closed
liguangze opened this issue Jul 22, 2019 · 1 comment
Closed

适配最小宽度的问题 #12

liguangze opened this issue Jul 22, 2019 · 1 comment

Comments

@liguangze
Copy link

liguangze commented Jul 22, 2019

屏幕最小宽度的,设计图的基准的屏幕最小宽度是怎么计算的,demo中为什么是360,
假如UI用的基准尺寸是750*1334,那么我的smallestWidth是多少,也是360吗,还是每个手机都不一样,那我应该用smallestWidth的作为基准

@liguangze
Copy link
Author

这个要自己计算吗,现在设计的基准尺寸是7501334,我的手机打印的最小宽度是360,我只要把你的demo中的dimens拷进去,在生成相应的dimens文件就可以了吗,然后根据标注写了吗,但你你的demo是1280720的,应该都一样吧,需要改什么地方吗

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

1 participant