I am trying to create a 3D scrollable list, with elements stacked in a row, moving forward and backward, and all that needs to be three-dimensional (back elements disappear and shrink, etc.). The problem is that the front element, when it leaves the view (more to the front, that is), must rotate along the X axis and as if βfallβ, as if it fell from the end of the conveyor belt.
I searched all over the world for an elegant solution that was not related to the development of a real 3D environment or the use of entire code libraries, but could not find anything like it. I really create a noob for Android development, so I guess I could have missed something.
The only solution that came close to it was to use an animation with a duration of 0 seconds that applied the rotation transform using the Camera class on the View canvas, but that wasn't good enough, since the View borders limited the rotation of the content and allowed face-to-face - this is a curve a way to apply something as trivial as a turn.
Is there a simple way to rotate views? I mean, iOS has it, Flash has it - even CSS3 provides a way to do this without breaking a sweat.
My goal is API 10 (2.3.3) and higher.
source share