• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Rotating the listview cell

Hi,

I am trying to make an app which gives the information about 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.

Airport arrival boards - Google Search
 
Have you tried roatating something within the cell and not the cell itself?

That is, make a seperate Relative or LinearLayout inside the root of the cell and rotate that.
 
Hi,

I actually tried the Rotateanimation in the getView method when i try to populate the lists from the row.xml, what happened is that the entire cell rotated with the pivotal point that i gave.

-anoop
 
You need to post some code in order for me to see what your trying to accomplish and why it's not working. Such as the latout xml and getView method.

What pivot point are you using?
 
Back
Top Bottom