I am using the following code to rotate a image in ImageView by an angle. Is there any simpler and less complex method available.
ImageView iv = (ImageView)f
I think the best method :)
int angle = 0; imageView.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { angle = angle + 90; imageView.setRotation(angle); } });