TouchImageView icon indicating copy to clipboard operation
TouchImageView copied to clipboard

adjustViewBounds = true not work

Open phanvandinh opened this issue 2 years ago • 1 comments

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. image2 image3

phanvandinh avatar Oct 05 '22 15:10 phanvandinh

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

hannesa2 avatar Oct 05 '22 16:10 hannesa2