Issue Description
On Android, pinch-to-zoom in the image viewer zooms from the center instead of the pinch location. When zooming back out, the image shifts abruptly instead of smoothly returning to the center. Double-tap zoom sometimes gets affected by this behavior.
Steps to reproduce:
Open an image on Android.
Pinch to zoom on a specific portion.
Observe zooming from the center.
Zoom out and notice abrupt shift.
Double-tap a portion and notice interference.
Expected behavior:
Pinch-zoom should zoom relative to pinch location.
Zoom-out should smoothly center the image.
Double-tap zoom should work as expected.
Environment: Android devices; iOS works correctly.
Note: A pull request has been created to fix this issue: PR ##225