Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adjustViewBounds = true not work #478

Open
phanvandinh opened this issue Oct 5, 2022 · 1 comment
Open

adjustViewBounds = true not work #478

phanvandinh opened this issue Oct 5, 2022 · 1 comment

Comments

@phanvandinh
Copy link

phanvandinh commented Oct 5, 2022

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

@hannesa2
Copy link
Collaborator

hannesa2 commented Oct 5, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants