Change Layouts, But Not Restart Activity On My Android App
I want my app to go from portrait to landscape and change from layout1 to layout2 but not restart the activity. It goes from layout1 to layout2 nicely, but restarts the activity ev
Solution 1:
You can achieve this by add android:configChanges="orientation"
to your activity in manifest and handle the screen contents manually by overriding onConfigurationChanged
Post a Comment for "Change Layouts, But Not Restart Activity On My Android App"