-
Notifications
You must be signed in to change notification settings - Fork 2k
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
关于平板适配问题 #179
Comments
|
在第一个activity也不行。还是,直接clone,把contentprovider干掉,自己控制init。 |
您好,我现在也是遇到这个问题,AutoSizeConfig.getInstance().stop(activity)没有任何效果,请问最后你是怎么解决的? |
1、如果用了这个框架,什么都不做的话,在平板上会放大很多
2、有些应用也不必专门为平板做一套UI,取消autoSize适配,默认的效果也不错。
3、实现onAdaptListener,在onAdaptBefore是在适配之前调用,这里取消适配应该是全局有效。
判断是否是平板的代码,感觉用屏幕比例判断要好一些,现在手机都出到7.x寸了
然而,AutoSizeConfig.getInstance().stop(activity)没有任何效果
放到启动页activity 里调用,按理说后面的界面都会取消适配的,然而还是无效。
The text was updated successfully, but these errors were encountered: