Yang Hui

Results 17 comments of Yang Hui

系统版本?设备?

应该是2.3的问题,2.3下canvas.getWidth()与canvas.getHeight()并不会返回view的高宽,而是直接返回屏幕大小,造成绘制定位错误,4.0应该就没有这个问题。 将高宽的获取方式换成view的getWidth()和getHeight()就行。 麻烦修复下弄个pull request? @495055772 @r17171709

Not only happen when using AsyncTask, I just download a image and using the setBitmap method,and get a black screen too.

前台必定可见,可见未必前台?

再求教一个问题,可以覆盖在Activity上的有dialog,popupwindow,toast。只有dialog会占用前台?

看来不能从语义上理解,可见只是一种状态,而不是意义上的可见? 或者说activity启动的时候能看见windowBackground就是可见,看见contentView就是前台? @kyze8439690 https://github.com/kyze8439690 “可以覆盖在Activity上的有dialog,popupwindow,toast。只有dialog会占用前台?” 这个问题稍微复杂,或者说换一种方式描述会更好理解,启动一个新Activity时,onResume时Activity就已经可见,但是并未来到前台。 — Reply to this email directly or view it on GitHub https://github.com/singwhatiwanna/android-art-res/issues/2#issuecomment-142643735 .

@m1ga adb is not necessary in this case, scrcpy use adb to grant permission, in order to write touch event into a system file, which cannot be done by third-part...

This view should be used in a viewpager, because you can not define which view touch event will be passed to.

I don't know whether it is related to this issue or not. Just ignore me if I am wrong. On some android devices, when mobile network signal is low, which...

I meet this issue too. I guess maybe it is caused by bitmap reuse issue.