I have a FrameLayout flApp.xml. I would like to use flApp.xml only in portrait mode.
*Can I config in Layout file flApps.xml to work only in portrait mode? *
Note: I don't want to config in AndroidManifest.xml
If you don't want to edit you AndroidManifest.xml
you can force portrait mode programatically by using
setRequestedOrientation (ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);