通过在XML layout / flApps.xml中配置,以纵向模式修复布局

我有一个FrameLayout flApp.xml。 我想只在纵向模式下使用flApp.xml。 *我可以在布局文件flApps.xml中配置仅在纵向模式下工作吗? * 注意:我不想在AndroidManifest.xml中进行配置     
已邀请:
如果您不想编辑
AndroidManifest.xml
,可以使用编程强制执行纵向模式
setRequestedOrientation (ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
    

要回复问题请先登录注册