public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.main);
// setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
initViews();
}
해당 onCreate 부분에
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
사라지는군요 -0- //
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
요녀석은 안테나 창을 없애버리는 군요~
저런식으로 풀사이즈 구현이 가능합니다.
Wednesday, September 1, 2010
Subscribe to:
Posts (Atom)