Giter Club home page Giter Club logo

Comments (6)

JessYanCoding avatar JessYanCoding commented on August 17, 2024

不要提无效 Issues,手机截图,以及框架的打印日志截图,日志中搜索 AndroidAutoSize 可以看到日志

from androidautosize.

JessYanCoding avatar JessYanCoding commented on August 17, 2024

是否加入了 WebView?

from androidautosize.

Firedamp avatar Firedamp commented on August 17, 2024

去年写了个类似的方案用于项目中。
看到朋友在我方案中的留言就过来看看哈。
项目中有一些共性问题可以一起探讨,我在我那边的Q&A也写了一些;
以及也修复过一些在特定MIUI上才会出现的问题。

from androidautosize.

JessYanCoding avatar JessYanCoding commented on August 17, 2024

@Firedamp 你好,感谢分享,你的这个开源项目,很不错,我去年就关注过,当时比较忙就没有重视,直到今日头条分享出来后,才开始重新关注,于是才有了这个框架,原理和你的都差不多,只是用的单位不同,按理说你的方案影响范围还小一点,你开源比较久,很多遇到的问题都可以借鉴你的

想请教你两个问题:

1.这个 MIUI 失效的问题,就是通过 RudenessScreenHelper#getMetricsOnMiui(context.getResources()); 这个方法解决的把?

2.在 onActivityStarted 和 onActivityResumed 重新设置 density 是为了解决什么问题?

from androidautosize.

Firedamp avatar Firedamp commented on August 17, 2024
  1. 这个MIUI失效的问题我不确定,因为你说的这个方法我当时是为了解决在MIUI7+Android5.x上复现的一个问题,该问题在其他版本MIUI上很少出现,当时是扒了MIUI代码才找到问题的;
  2. 反正就一行代码又不费性能,我在能加的地方都加了;

from androidautosize.

JessYanCoding avatar JessYanCoding commented on August 17, 2024

刚刚有个 Issues,是 小米note3,版本是 miui9 8.3.1 开发版,发现你这个代码可以解决这个问题,感谢贡献

from androidautosize.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.