设置全屏的3种方式:
1.自定义主题
2.系统自带主题
3.编码实现
requestWindowfeature(window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG.FULLSCREAM,WindowManager.LayoutParams.FLAG_FULLSCREEN);
时间: 2024-10-10 18:19:52
设置全屏的3种方式:
1.自定义主题
2.系统自带主题
3.编码实现
requestWindowfeature(window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG.FULLSCREAM,WindowManager.LayoutParams.FLAG_FULLSCREEN);