android代码设置全屏

//设置无标题  

requestWindowFeature(Window.FEATURE_NO_TITLE);  

 //设置全屏  

getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,   

WindowManager.LayoutParams.FLAG_FULLSCREEN); 

posted @ 2012-12-15 10:56  Dminter  阅读(131)  评论(0编辑  收藏  举报