1

In Android, we can add the following statement to the onBackPressed() function to modify the animation of going back to the MainActivity from some other activity.

overridePendingTransition(android.R.anim.slide_in_left, android.R.anim.slide_out_right);

How can we do so in HarmonyOS? What different animations are available in HarmonyOS?

zhangxaochen
  • 32,744
  • 15
  • 77
  • 108
OxO
  • 27
  • 3

1 Answers1

1

According to the team, Currently HarmonyOS does not support animation customization during the transition of AbilitySlice. Please stay tuned on HarmonyOS official websites.

zhangxaochen
  • 32,744
  • 15
  • 77
  • 108