How to make the scene (program) always remain in portrait mode? In the manifest, I registered, but it works only for the settings screen. Also indicated:
config.useGyroscope = false; config.useAccelerometer = false; and
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); Still turns when tilting.
UPD. It did not work because of the third-party launcher. In the standard, everything works without problems .. My carelessness ..