I build a "gallery" application. I have an issue with the orientation of images. I've created the images (camera) and believe that have set the orientation correctly. It can be shown in the built-in gallery and on my application on various devices.
Strangely on Sony Xperia, the ImageView of my application did not show correctly (built-in gallery showed correctly). Then I tried to set a rotation matrix for an ImageView and set the scaleType to matrix, yet it still did not work. I had to rotate the Bitmap itself before putting it in the ImageView.
So here is the question at last. How to check if an ImageView will work the orientation by itself, or not (and then the code should do what it has to do). I don't believe it is an Android version. My Sony Xperia is Android 4.4.4.