about android screen
程序员文章站
2022-05-23 14:18:41
...
竖屏:
android:screenOrientation="portrait"
横屏:
android:screenOrientation="landscape"
全屏:
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
requestWindowFeature(Window.FEATURE_NO_TITLE);
以下是Android SDK 截图:
转载于:https://my.oschina.net/u/127911/blog/17459
推荐阅读