Android 6.0 Marshmallow : Weird error with fragment animation

前端 未结 4 1019
离开以前
离开以前 2021-02-04 04:08

One of my apps in the app store works perfectly fine with Android 5.0, but since today I have my device upgraded to 6.0 I get strange errors. I narrowed it down to the fragment

4条回答
  •  伪装坚强ぢ
    2021-02-04 04:36

    This is bug on Marshmallow when we do scale animation. For now we found a workaround by setting view.setLayerType(View.LAYER_TYPE_SOFTWARE) see documentation

提交回复
热议问题