Graphical bug while changing fragment with API 21

后端 未结 2 1618
甜味超标
甜味超标 2021-01-03 09:36

I have a graphical problem with my nexus 5. While I changing fragment, before new fragment appears, there is this big square with a portion of the new fragment. The transiti

2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-03 10:19

    This seems to be a bug in the android graphics lib on all nexus devices. I have a similar issue using the FragmentManger, see

    To fix this issue on nexus devices, add the

    tag, but this will make the app very slow.

    EDIT:

    There are several Threads in the Google issue tracker or at stackoverflow describing this problem

    Issue 82631

    Stackoverflow

提交回复
热议问题