我是XML和Android Studio的新手,但是不应该将属性“wrap_content”包裹在图像周围吗?使用此代码,ImageView看起来像这个ImageView bigger than image
<ImageView
android:id="@+id/slika"
android:src="@drawable/kava"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:adjustViewBounds="false" />
如果我将adjustViewBounds更改为“true”,它看起来不错,但在纵向模式下会让一切变得混乱。 Like this