Phone to dex without a app restart

We need to smoothly switch from phone to dex and back without our application restarting. I was able to do this by handling the onconfig change but it causes a weird side effect when we go from the phone to dex. Everything is very zoomed in. I think is due to the density change in the screen but I don’t know how to handle it properly in the configuration change. Any one else knows how to do that? or has had issues with the application being very zoomed in. we are using Xamarin.Forms

thank you!
Andrea

1 Like

Hi andrea.weeg,
Have you set the android:configChanges attribute in the Android manifest?

android:configChanges="orientation|screenSize|smallestScreenSize|density|screenLayout|uiMode|keyboard|keyboardHidden|navigation">