I have a portrait mode image (located in File.DirAssets) that displays fine on my device in portrait mode, when the device is flipped to landscape mode the image gets compressed/distorted.
I have seen in some apps that when the device is flipped to landscape mode the image "enlarges" and section of the image is displayed, to see the rest of the image you just "scroll" the screen.
In other words, the image keeps the portrait mode when the device is in landscape mode and you see sections of the image at a time.
I am currently using imageview to display the image --should I be using something else?.
Please, how can I achieve this?
I have seen in some apps that when the device is flipped to landscape mode the image "enlarges" and section of the image is displayed, to see the rest of the image you just "scroll" the screen.
In other words, the image keeps the portrait mode when the device is in landscape mode and you see sections of the image at a time.
I am currently using imageview to display the image --should I be using something else?.
Please, how can I achieve this?