Rotation of screen crashes android app [duplicate]
问题 This question already has answers here : Background task, progress dialog, orientation change - is there any 100% working solution? (8 answers) Closed 6 years ago . I am new to android development. I have developed one app, now the problem is that whenever I rotate screen, app starts activity again and then its crashes application. I found some solution on google to use android:configChanges="orientation" . It works fine but when I rotate screen, its screen size does not change. How to solve