Hello,
Many years ago I was asked a question about “how to fix the screen orientation problem”.
And I got a lot of answers from them. And I got the problem solved using layout as a screen solution and then after I got some more solutions. So, a few months before I got a comment on my YouTube video asking me to make a video to fix the screen orientation problem, after I made a tutorial on it. Where I have provided three possible ways to solve this problem.
Tutorial Link: