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

屏幕适配的方法去掉了吗? #1273

Closed
clbDream opened this issue Jul 5, 2020 · 5 comments
Closed

屏幕适配的方法去掉了吗? #1273

clbDream opened this issue Jul 5, 2020 · 5 comments
Assignees
Labels

Comments

@clbDream
Copy link

clbDream commented Jul 5, 2020

adaptWidth : 适配宽度
adaptHeight: 适配高度
closeAdapt : 关闭适配(pt 等同于 dp)
pt2Px : pt 转 px
px2Pt : px 转 pt

屏幕适配的这个方法去掉了吗?我是用的 implementation 'com.blankj:utilcodex:1.29.0,找不到这些方法了

@Blankj
Copy link
Owner

Blankj commented Jul 7, 2020

没去掉啊,可以查看 #758

@clbDream
Copy link
Author

clbDream commented Jul 7, 2020

image
我使用适配宽度的方法,但是好像没效果啊
image

@Blankj
Copy link
Owner

Blankj commented Sep 1, 2020

布局里写得 pt 吗

@clbDream
Copy link
Author

clbDream commented Sep 2, 2020

必须使用PT吗

@Blankj
Copy link
Owner

Blankj commented Sep 2, 2020

仔细地好好看下文章吧,#758

@Blankj Blankj closed this as completed Sep 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants