Android - Making translations and objectAnimator on the same XML file

前端 未结 2 1770
清歌不尽
清歌不尽 2020-12-16 22:52

I\'ve been trying to make a 3D Cube rotation effect while sliding from one fragment to another. First i was using a translate effect (on XML) calling with FragmentTran

2条回答
  •  长情又很酷
    2020-12-16 23:16

    An alternative to the answer accepted, you could define an animator set, as seen here:

      
        
          
            
           
         
    
      
        
          
         
       
    

    How to use StateListAnimator?

提交回复
热议问题