I have some images inside imageView, and I needed to open these images at the original size when I clicked on them. Does anyone know how to do this? Thank you in advance.
I have some images inside imageView, and I needed to open these images at the original size when I clicked on them. Does anyone know how to do this? Thank you in advance.
The attributes defined in ImageView will determine the size of the image.
The way it is displayed, scaled, or trimmed will depend on the android:scaleType
attribute.
However, when you want to display in the original size the attributes that define the length and width must be declared as wrap_content
android:layout_width="wrap_content"
android:layout_height="wrap_content"