how to set image rotation in android dynamically code example Example: android image view showing rotate image android:rotation="90"