XiaomiPJ icon indicating copy to clipboard operation
XiaomiPJ copied to clipboard

小米手机能判断弹出窗是否显示成功吗?

Open zhanggao opened this issue 8 years ago • 1 comments

用 WindowManager.LayoutParams.TYPE_TOAST 方式,在有些版本上弹出窗没法显示,但代码逻辑都正常走通了。

zhanggao avatar Feb 22 '17 09:02 zhanggao

TYPE_TOAST 类型的弹窗,安卓在7.1手机上做了限制,add方法只能调用一次,且展示时常只能3s。建议大家以后还是规范化使用这次api。

2017-02-22 17:49 GMT+08:00 zhanggao [email protected]:

用 WindowManager.LayoutParams.TYPE_TOAST 方式,在有些版本上弹出窗没法显示,但代码逻辑都正常走通了。

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/CankingApp/XiaomiPJ/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AFsCIx-0W8_OM5n2Dvi_Flg9wmUM3IGmks5rfAS9gaJpZM4MIa3i .

CankingApp avatar Feb 24 '17 06:02 CankingApp