Android, help rotating image on touch
问题 I am trying to rotate one of the transparent PNGs on this image. The number part is what I want to rotate. I am able to do this, but it is not what I am trying to achieve I want to rotate the numbers like on a real combination lock. So the user will touch and move their finger in a circle. I looked at less precise image rotation on touch/move events, and they were not sufficient. this is currently my code public boolean onTouch(View v, MotionEvent event) { double r=Math.atan2(event.getX()