This commit is contained in:
zhangyuanzhen
2020-02-17 17:01:36 +08:00
parent 47b730c359
commit 048f59c062
8 changed files with 20 additions and 2 deletions

View File

@@ -29,6 +29,9 @@ public class WindowUtils {
return ( int ) ( dpValue * scale + 0.5f );
}
/**
* 根据手机的分辨率从 px(像素) 的单位 转成为 dp
*/