You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the following attribute inside your tag in AndroidManifest.xml:
XML
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden"
This ensures that your activity does not restart when configuration changes occur, such as screen rotation or when a physical keyboard is connected or disconnected. Instead, the activity will handle these changes manually without reloading.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Add the following attribute inside your tag in AndroidManifest.xml:
XML
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden"
This ensures that your activity does not restart when configuration changes occur, such as screen rotation or when a physical keyboard is connected or disconnected. Instead, the activity will handle these changes manually without reloading.
Beta Was this translation helpful? Give feedback.
All reactions