AndroidAutoSize icon indicating copy to clipboard operation
AndroidAutoSize copied to clipboard

🔥 A low-cost Android screen adaptation solution (今日头条屏幕适配方案终极版,一个极低成本的 Android 屏幕适配方案).

Results 124 AndroidAutoSize issues
Sort by recently updated
recently updated
newest added

### Environment - [ ] Autosize Version: - [ ] Target Android Version: - [ ] Device Model: - [x] Device Resolution: - [ ] Design Size On AndroidManifest: ###...

版本:1.2.1 机型:模拟器,真机多个设备都会闪退 自己的页面正常,使用谷歌Blockly控件显示出来就闪退,Blockly的官方文档https://github.com/google/blockly-android Blockly创建了很多自定义view,展示的时候会闪退 我是通过下载blockly后导入到我model中,项目一直正常的,引入implementation 'me.jessyan:autosize:1.2.1'运行就有问题,不引入就正常 华为平板启动带Blockly的activity,只要点击blockly的toolbox,展示RecyclerView的时候就闪退了 ![image](https://user-images.githubusercontent.com/20967855/117432542-125f8000-af5d-11eb-9b47-43f54909c993.png) ![image](https://user-images.githubusercontent.com/20967855/117432586-1e4b4200-af5d-11eb-9be6-3e7f9599d93d.png) ![image](https://user-images.githubusercontent.com/20967855/117432605-24412300-af5d-11eb-8d9a-45effd1fd375.png) ![Q{J5PJ_FXG4QF6U8$%J@IHH](https://user-images.githubusercontent.com/20967855/117433395-03c59880-af5e-11eb-83df-a5d06dc38f6d.png) ```

情况是这样,我司的app长期驻留在后台,界面上只有悬浮窗,然后点开悬浮窗可能会启动一个横屏或者竖屏的activity。 现在问题在于,我的悬浮球和activity都有异常变大的情况,框架的原理已经很了解了,我觉得从逻辑上也没什么问题,我也没有做错什么,但是很明显的看得到出现异常变大的情况时候,变大的基本上就是我基于短边做360dp的适配时候,被框架设置成了长边总共为360dp。 异常变大是偶然现象,复现条件目前不清楚 所以总结有两个问题: 1:能不能不以Activity作为最基本的单位,有很多在后台的app使用悬浮球,界面上没有自己的Activity 2:能不能直接基于屏幕的长边或短边做适配,而不是宽和高?这样对于横竖屏切换较多的app更为方便。实际上很多时候我不管选择宽还是选择高来作为BaseOn,我选择的其实就是屏幕短的那条边

* 有什么问题可以直接进 [ ![QQ-Group](https://img.shields.io/badge/QQ%E7%BE%A4-455850365%20%7C%20301733278-orange.svg?style=flat-square) ](https://shang.qq.com/wpa/qunwpa?idkey=7e59e59145e6c7c68932ace10f52790636451f01d1ecadb6a652b1df234df753) 咨询 **如果您对 **AndroidAutoSize** 和 **JessYan** 有什么好的建议,都可以在下面留言以及讨论**

enhancement

jcenter停止维护,近期有时间进行迁移计划吗?

公司APP要改TV 我本来想着 注释调APP里配置的设置和清单文件的东西就行 结果发现尺寸各种变形 再发现aar是通过provider初始化的

用这个方法没用,updateConfiguration也过时了 ` @Override public Resources getResources() { Resources resources = super.getResources(); if (resources != null) { Configuration configuration = resources.getConfiguration(); if (configuration != null && configuration.fontScale != 1.0f) { configuration.fontScale...

`05-25 19:43:13.714 W/PackageManager( 2155): Code path for xxx changing from /system/priv-app/xxx to /data/app/xxx 05-25 19:43:13.714 W/PackageManager( 2155): Resource path for xxx changing from /system/priv-app/xxx to /data/app/xxx 05-25 19:43:14.314 E/AndroidRuntime( 7082):...

### Environment - [x] Autosize Version: - [x] Target Android Version: - [x] Device Model: - [x] Device Resolution: - [x] Design Size On AndroidManifest: ### Bug Description: ### Log:...

请问这个360*640是如何计算的?比如我现在需要适配1280*800,240dpi的TV端,如何设置?