overridePendingTransition for sliding activities in and out smoothly

后端 未结 5 687
深忆病人
深忆病人 2020-12-14 02:08

I\'m having trouble figuring out how to slide activities in and out with a push of a button. What I want is for the user to push a button and then the screen slides. The w

5条回答
  •  误落风尘
    2020-12-14 02:37

    Don't forget the pivot at this point! fE. Move from up to down. pivotY is 100% that meen's bottom, so your 0% are on the bottom and -100% are up and you don't see it. Makes it more handy when you set the pivot to your border.

    
    
        
    
    

提交回复
热议问题