Rotating a listview cell in Android
I am trying to make an app which gives the information about开发者_如何学Go the flights and its timing to the user when he enters the flight number, I am able to bring the list of flights in a listview, but I want to enhance it by adding some animation to the cell like the one which we see in the boards at air port, basically i want the cell to rotate with reference to horizontal axis passing through the middle of the cell. Posting the link where you can find some images. I used rotationAnimation but could not obtain the required animation.
AirportBoard
After a break came back to this and found out that its so easy. I tweaked the RotateAnimation3D class in ApiDemos to make the rotation with respect to X axis and then applied that animation to the Listview with some added delay and it worked.
精彩评论