(Android) Prevent config change on orientation change


Add to activity in manifest:

android:configChanges="keyboardHidden|orientation|screenSize"
XML

Leave a Reply

Your email address will not be published. Required fields are marked *