Relative Content

Tag Archive for androidandroid-activityandroid-orientationandroid-windowmanagerandroid-activitymanager

Why does windowIsTranslucent fix the orientation of the child activity?

I am currently doing screen orientation tests for Activities. I found something interesting and would like to ask.
I have a MainActivity and a SubActivity, and the device’s orientation is set to Auto-rotate. In the AndroidManifest.xml, the orientation of each Activity is defined as follows: