一位美国前辈工程师的十大职业发展忠告
2010-10-29 15:39
316 查看
无title bar
requestWindowFeature(Window.FEATURE_NO_TITLE);
必须放在setContentView(R.layout.main); 前面,否则会报错。
全屏
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
效果为启动后状态条有个消失的动画,然后全屏
FLAG_FULLSCREEN
Hide all screen decorations (e.g. status bar) while this window is displayed. This allows the window to use the entire display space for itself -- the status bar will be hidden when an app window with this flag set is on the top layer.
Constant Value: 1024 (0x00000400)
requestWindowFeature(Window.FEATURE_NO_TITLE);
必须放在setContentView(R.layout.main); 前面,否则会报错。
全屏
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
效果为启动后状态条有个消失的动画,然后全屏
FLAG_FULLSCREEN
Hide all screen decorations (e.g. status bar) while this window is displayed. This allows the window to use the entire display space for itself -- the status bar will be hidden when an app window with this flag set is on the top layer.
Constant Value: 1024 (0x00000400)
相关文章推荐
- 一位美国前辈工程师的十大职业发展忠告
- 一位美国前辈工程师的十大职业发展忠告
- 一位美国前辈工程师的十大职业发展忠告
- 一位美国前辈工程师的十大职业发展忠告
- 一位美国前辈工程师的十大职业发展忠告
- 一位前辈工程师职业发展的忠告 深有同感!
- 一位前辈工程师职业发展的忠告
- 一位前辈工程师职业发展的忠告
- 一位前辈工程师职业发展的忠告
- 一位前辈工程师职业发展的忠告 深有同感!
- 一位前辈工程师职业发展的忠告(转自51testing)
- 一位前辈工程师职业发展的忠告
- 一位前辈工程师职业发展的忠告
- 一位前辈工程师职业发展的忠告
- 一位前辈工程师职业发展的忠告
- 一位前辈工程师职业发展的忠告
- 一位前辈工程师职业发展的忠告
- 一位前辈工程师职业发展的忠告
- [转]一位前辈工程师职业发展的忠告
- 一位前辈工程师职业发展的忠告