I have an ImageView
that has:
android:layout_height="100dp"
android:layout_width="wrap_content"
android:scaleType="fitCenter"
android:adjustViewBounds="true"
What I see is that if I set an image that has as dimensions (based on the info of my pc) 1280px854
If I open it in my pc the image looks huge.
The same image is small in my ImageView
although I have set wrap_content
.
I am not sure I get how this works. E.g. 1280/4 = 320dpi (xxxhdpi) but for with wrap_content
the image view does not have as width 320dpi
To clarify: I am trying to understand why it works like that and does not make it bigger with wrap_content
.