We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用dp分割线太粗了,希望可以使用px作为单位
The text was updated successfully, but these errors were encountered:
嗯,用dp的话是可以支持float类型的,可以使用比如:0.5dp、0.3dp等,在不同分辨率的屏幕上渲染时系统会根据dp和px的转化系数,自动选择最相近的整数px值,会有相对一致的体验。假如用px的话,可能就不能保证这种适配性了。假如你想用1px的话,你可以用0.5dp或者0.4dp来代替,可能会有相同的效果
Sorry, something went wrong.
似乎不行,使用LinearLayoutManager的时候,小于1dp,比如0.3dp,分割线就直接不显示了。
No branches or pull requests
使用dp分割线太粗了,希望可以使用px作为单位
The text was updated successfully, but these errors were encountered: