我有定向的左侧的箭头的ImageButton image为什么镜像在ImageButton Xamarin.Android中镜像?
<ImageButton
android:src="@drawable/icon_arrow_left"
android:layout_width="17sp"
android:layout_height="10sp"
android:id="@+id/imageButton1"
android:layout_gravity="center_vertical"
android:layout_marginRight="20sp"
android:layout_marginLeft="5sp"
android:scaleType="centerInside" />
为什么图像镜像/旋转和被示为应用程序中的 right arrow?
假设你100%确定上面粘贴的图像是icon_arrow_left,那么问题应该是图像报告的方向(Exif),而不是与Android相关。我从来没有见过这样的东西......但你可能需要用Exif信息浏览器来查看图像。 –
上面粘贴的图片是100%icon_arrow_left。在应用程序中的多个位置使用相同的图像,但这是唯一以这种方式显示的位置。这对我来说很奇怪,因为我没有做任何不同的事情。 –