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

夜神模拟器的小问题 #267

Closed
Android-xiaoxian opened this issue Jan 19, 2020 · 2 comments
Closed

夜神模拟器的小问题 #267

Android-xiaoxian opened this issue Jan 19, 2020 · 2 comments

Comments

@Android-xiaoxian
Copy link

Android-xiaoxian commented Jan 19, 2020

implementation 'me.jessyan:autosize:1.1.2'
在小米9手机 上正常适配,夜神模拟器不知道怎么回事就不能适配了,适配日志也打印了的
其他手机暂时没有试过,希望只是模拟器的问题
01-20 10:44:30.186 5928-5928/com.xxx.xxxD/AndroidAutoSize: com.xxx.xxx.activity.TransitionActivity used the global configuration. 01-20 10:44:30.186 5928-5928/com.xxx.xxxD/AndroidAutoSize: The com.xxx.xxx.activity.TransitionActivity has been adapted! TransitionActivity Info: isBaseOnWidth = true, designWidthInDp = 375.000000, designWidthInSubunits = 375.000000, targetDensity = 2.880000, targetScaledDensity = 3.312000, targetDensityDpi = 460, targetXdpi = 2.880000

@JessYanCoding
Copy link
Owner

#13 (comment)

@Android-xiaoxian
Copy link
Author

不好意思,我是重写了BaseActivity和BaseApplication的getResource方法导致适配失败,实在是抱歉,没看你的提醒

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants