Friday, 20 January 2023

Start activity with transition shared element animation and turn screen off

I have a bug when use transition between activities by using a shared element.

  1. I'm using sample ActivitySceneTransitionBasic .

  2. Add delay before navigation.

    new Handler().postDelayed(() -> { ActivityCompat.startActivity(MainActivity.this, intent, activityOptions.toBundle()); }, 2000);

  3. Turn screen off.

New Activity open without background (like on screenshot) or with glitches. Can you help to solve this bug?



from Start activity with transition shared element animation and turn screen off

No comments:

Post a Comment