OnConfigurationChanged never called, all ConfigurationChanges set


I don't know what else to try. Right now I have this in my [Activity ...]:

ConfigurationChanges = ConfigChanges.Density | ConfigChanges.FontScale | ConfigChanges.Keyboard | ConfigChanges.KeyboardHidden | ConfigChanges.LayoutDirection | ConfigChanges.Locale | ConfigChanges.Mcc | ConfigChanges.Mnc | ConfigChanges.Navigation | ConfigChanges.Orientation | ConfigChanges.ScreenLayout | ConfigChanges.ScreenSize | ConfigChanges.SmallestScreenSize | ConfigChanges.Touchscreen | ConfigChanges.UiMode

But still, OnConfigurationChanged is never called!

My problem is that I'm trying to make my app work with multi window, but every time I resize it or go from one window to two windows, my activity is recreated (OnDestroy -> OnCreate).

Does anyone have any clue?

Thank you!

Sign In or Register to comment.