Android 技术总结(011)—— 隐藏标题栏和状态栏
[java]@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
final Window win = getWindow();
// No Statusbar www.zzzyk.com
win.setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
// No Titlebar
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.mylayout);
}
补充:移动开发 , Android ,