我想将图像视图从右下角旋转 45 度,请告诉我该怎么做
我正在尝试像这样在 imageview 中添加旋转
<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 was added
/>
但是这段代码从中心点旋转我的图像,所以请告诉我如何从右下角旋转我的图像。