我想将我的图像视图从其右下角旋转45度,请建议如何实现
我正在尝试像这样在图像视图中添加旋转
<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
/>
但是上面的代码将我的图片从中心点旋转。因此,请建议任何从右下角旋转图像的解决方案。