0

Im trying to have a card flip animation between activities. I looked at the example given by google but i only got more confused on how it works. I want to be able to click a button and have the card flip animation between two activites. Is there any examples on how to do this using a button and two activities?

Rifat
  • 29
  • 2
  • 6

2 Answers2

0

As per my knowledge,3D transitions are not supported by window manager.

Behind this there is a reason, that to achieve FLIP animation both views must be loaded to show mirror effect. While activities are stand alone processes in Android.

So If you want such animations better you use fragments rather activities.

But If you still want it with activities. Here is the alternative Click

Community
  • 1
  • 1
Biraj Zalavadia
  • 28,348
  • 10
  • 61
  • 77
0

You may again go through the developer site. They have used fragments. With the use of fragments it is easily achievable. You need a one activity and other fragments to achieve the desire functionality.

inderbagga
  • 1,008
  • 1
  • 9
  • 18
  • I tried using fragments, however i dont know how to start the card flip animation on a button click. They used on some sort of icon click. I tried replicating what they did but i only got stumpt numerous times. – Rifat Feb 09 '15 at 05:44