解决requestFeature() must be called before adding content错误
Android 实现画面全屏(取消标题、取消状态栏):
//取消标题
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
this.setContentView(R.layout.logo); //Activity样式文件,一定要写在中间
//取消状态栏
this.getWindow().setFlags
转载
2012-03-31 16:57:34 ·
1047 阅读 ·
0 评论