I have an ImageView (of say, a steering wheel) and want it to be rotated when the user places their finger on it (on the border) and drags along the intended direction of rotation. I also need to know by how many degrees it is rotated by (basically the magnitude of rotation). When the user releases it (is no longer touching the ImageView) it should slowly return back to its original position.
How is such a responsive rotating ImageView implementation possible?
from Have an ImageView rotatable by dragging on it and find the angle of its rotation
No comments:
Post a Comment