Open start141 opened 1 month ago
screenWidthDp和screenHeightDp的大小是会随着横竖屏切换时来回变化的,而阅读AndroidAutoSize源码发现: 1、autoConvertDensity好像没有在横竖屏切换onConfigurationChanged时更新screenWidthDp和screenHeightDp。 2、cancelAdapt时好像也没有根据横竖屏设置不同的screenWidthDp和screenHeightDp值。(使用的是固定的InitScreenWidthDp、InitScreenHeightDp)
Environment
Bug Description:
screenWidthDp和screenHeightDp的大小是会随着横竖屏切换时来回变化的,而阅读AndroidAutoSize源码发现: 1、autoConvertDensity好像没有在横竖屏切换onConfigurationChanged时更新screenWidthDp和screenHeightDp。 2、cancelAdapt时好像也没有根据横竖屏设置不同的screenWidthDp和screenHeightDp值。(使用的是固定的InitScreenWidthDp、InitScreenHeightDp)