Giter Club home page Giter Club logo

Comments (6)

xiaolunan avatar xiaolunan commented on August 18, 2024

我的解决办法是删除以下代码解决的
@OverRide
public Resources getResources() {
//需要升级到 v1.1.2 及以上版本才能使用 AutoSizeCompat
AutoSizeCompat.autoConvertDensityOfGlobal((super.getResources()));
return super.getResources();
}

from androidautosize.

Chinahuangzhengyu avatar Chinahuangzhengyu commented on August 18, 2024

试试注释掉这2句
1703302985110

from androidautosize.

630820268 avatar 630820268 commented on August 18, 2024

android14 注释掉后部分手机在inputtype类型是不可见密码的情况下弹出黑屏 出现该情况的手机此时弹出的是它自带的安全键盘 非系统键盘

from androidautosize.

TangAnna avatar TangAnna commented on August 18, 2024

@OverRide
public Resources getResources() {
//添加判断是否是主线程中
if (Looper.myLooper() == Looper.getMainLooper()) {
AutoSizeCompat.autoConvertDensityOfGlobal(super.getResources());
}
return super.getResources();
}

from androidautosize.

630820268 avatar 630820268 commented on August 18, 2024

android14已经判断过是否在主线程了 默认输入框能正常弹出 但是如果输入类型是不可见密码时 个别手机如果自带安全键盘会黑屏无法弹出 不知道你们有没有碰到

from androidautosize.

zung avatar zung commented on August 18, 2024

android14已经判断过是否在主线程了 默认输入框能正常弹出 但是如果输入类型是不可见密码时 个别手机如果自带安全键盘会黑屏无法弹出 不知道你们有没有碰到

在什么手机上有这种情况?

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.