Showing
1 changed file
with
1 additions
and
1 deletions
@@ -82,7 +82,7 @@ ScreenUtil.init(context, designSize: Size(750, 1334), allowFontScaling: true); | @@ -82,7 +82,7 @@ ScreenUtil.init(context, designSize: Size(750, 1334), allowFontScaling: true); | ||
82 | ScreenUtil.screenWidth (sdk>=2.6 : 1.sw) //设备宽度 | 82 | ScreenUtil.screenWidth (sdk>=2.6 : 1.sw) //设备宽度 |
83 | ScreenUtil.screenHeight (sdk>=2.6 : 1.sh) //设备高度 | 83 | ScreenUtil.screenHeight (sdk>=2.6 : 1.sh) //设备高度 |
84 | ScreenUtil.bottomBarHeight //底部安全区距离,适用于全面屏下面有按键的 | 84 | ScreenUtil.bottomBarHeight //底部安全区距离,适用于全面屏下面有按键的 |
85 | - ScreenUtil.statusBarHeight //状态栏高度 刘海屏会更高 单位px | 85 | + ScreenUtil.statusBarHeight //状态栏高度 刘海屏会更高 单位dp |
86 | ScreenUtil.textScaleFactor //系统字体缩放比例 | 86 | ScreenUtil.textScaleFactor //系统字体缩放比例 |
87 | 87 | ||
88 | ScreenUtil().scaleWidth // 实际宽度的dp与设计稿px的比例 | 88 | ScreenUtil().scaleWidth // 实际宽度的dp与设计稿px的比例 |
-
Please register or login to post a comment