TouchImageView
TouchImageView copied to clipboard
adjustViewBounds = true not work
The below code Image shows a full screen with and height
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true" />
after a change to touchImageview
<com.ortiz.touchview.TouchImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true" />
Image only full height, not full width screen
how to fix this, please help me.
Please share origin image, or best, please make a pull request with your image by simple change this https://github.com/MikeOrtiz/TouchImageView/blob/master/app/src/main/res/drawable/nature_1.jpg to yours.
I hope it will help me to understand what's wrong here