[opt 3.0]

[Change]
[1、修复缺失依赖]

Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
donghongyu
2022-12-26 18:54:14 +08:00
parent 908b307d90
commit f22efbb23d
2 changed files with 3 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ public class ScreenHelper {
*/
public static void setScreenConfig(Context context) {
AutoSizeConfig.getInstance()
.setBaseOnWidth(false)
.setBaseOnWidth(true)
.setCustomFragment(true)
.setDesignWidthInDp(2560)
.setDesignHeightInDp(1600)