我有定向的左側的箭頭的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。在應用程序中的多個位置使用相同的圖像,但這是唯一以這種方式顯示的位置。這對我來說很奇怪,因爲我沒有做任何不同的事情。 –