Layout change after close and open app in android
when I install my android application made in Qwidget Application to my android mobile and open it for the first time it appear like that in the photo,
but after close it and open it for the second time the layout change to that
why the layout change and how to keep it as I open it for the first time when I clear app in setting or reinstall the app the layout work fine as first photo the problem for the second time I open it the button come smaller and every widget come smaller as in second image not as first time it seem to be ugly too any help please I am using qt 5.7 and try it on android 4.1 , 4.2.2 and 6.0.1 all the same thing
Everything is really as you programmed it to be...
You "close" the app, but as is common in Android, it does not exit, but stays suspended in memory. The difference seems that in the second screenshot one of the buttons has lost focus and is lower. You should not worry about that but add code to the image that stabilises its size and aspect ratio.
I think the problem, not from image size all my app change to that layout this screen Shot from another widget from the same app the same problem too, this image after install app or clear its data from application management
and this after open its second time
the same thing give me this strange layout I made some android application in Qwidget and work fine but on 5.5.1 and give me the normal layout I think there is something with version 5.7 for android?
solved i release my app in qt 5.5.1