We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What initialScale to use to make this library work for images with width smaller than the screen size and images with width larger than the screen?
initialScale
If initialScale is set to: PhotoViewComputedScale.contained, large images are contained, but small images are stretched like here: #306 (comment)
PhotoViewComputedScale.contained
If initialScale is set to 1.0. then small images have original size (they're not stretched), however large images are already in zooming mode.
1.0.
This issue is clearly visible if this library example is used.
example
Initially opened with stretch:
If zoomed out, looks correct (I would like this to be starting point)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What
initialScale
to use to make this library work for images with width smaller than the screen size and images with width larger than the screen?If
initialScale
is set to:PhotoViewComputedScale.contained
, large images are contained, but small images are stretched like here: #306 (comment)If
initialScale
is set to1.0.
then small images have original size (they're not stretched), however large images are already in zooming mode.This issue is clearly visible if this library
example
is used.Initially opened with stretch:
If zoomed out, looks correct (I would like this to be starting point)
The text was updated successfully, but these errors were encountered: