I want to rotate my image view 45 degree from its bottom right corner please suggest me how to do that
I am trying to add rotation in imageview like this
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/poker_table"
android:scaleType="fitXY"
android:id="@+id/poker_table"
android:rotation="45" //this line I added
/>
but the above code rotating my image from its center point. So please suggest any solution to rotate image from bottom right corner.