在主配置文件里面。在需要设置的activity项后面加上 android:screenOrientation="portrait",这个activity就保持竖屏显示了;
在每个activity项后面加上
android:screenOrientation="portrait",整个应用就保持竖屏显示。

相关文章:

  • 2021-08-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-16
猜你喜欢
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-15
  • 2022-12-23
相关资源
相似解决方案