I am making a launcher app. I am trying to replicate the Pixel Launcher behaviour, where when you are in an app and the home button is pressed - the app's activity slides down, while the launcher is already there: gif-example
Well, I figured that
onResume() of my launcher activity would do the trick, but the thing is that the first parameter (
R.anim.no_change) affects both the launcher activity and the activity of the app that is being closed. Thus, no animation is present for either of the activities: gif-example
gives me this: gif-example. Both the activities are being faded, although the fade animation was supposed to be applied only to the launcher activity.
Any thoughts on how I can replicate the google's launcher behaviour?