[android-developers] 3d flip between two views

2010-12-10 Thread ping
Hello,
Is there an easy way to perform a 3d flip animation (on the x-axis)
between two views?
So i have a view ( actually a viewgroup) and an ImageView... By
tapping on the Image the image should flip 180* and the other view
should be desplayed.

I looked through this code
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/animation/Rotate3dAnimation.html
which shows how a 3d rotate animation on a view can be performed...
How should I adapt this code so that it flips between 2 views?

or is there an easier way to do this?

greets

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] 3d flip between two views

2010-12-10 Thread Kumar Bibek
http://www.inter-fuser.com/2009/08/android-animations-3d-flip.html

Try this.


Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com



On Fri, Dec 10, 2010 at 5:04 PM, ping bernd.warm...@gmail.com wrote:

 Hello,
 Is there an easy way to perform a 3d flip animation (on the x-axis)
 between two views?
 So i have a view ( actually a viewgroup) and an ImageView... By
 tapping on the Image the image should flip 180* and the other view
 should be desplayed.

 I looked through this code

 http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/animation/Rotate3dAnimation.html
 which shows how a 3d rotate animation on a view can be performed...
 How should I adapt this code so that it flips between 2 views?

 or is there an easier way to do this?

 greets

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en