Using the onConfigurationChanged method; Half ink screen in android

My problem is that I use the onConfigurationChanged Method android to handle orientation, but when I rotate the screen from portrait to landscape, half the screen turns black for a few seconds (about 10-15 seconds). What I'm exactly doing, I handle the visibility of some views when changing orientation. Can anyone help figure out this problem. Any suggestions are welcome ... thanks in advance.

+4
source share

Source: https://habr.com/ru/post/1469167/