隐藏状态栏和标题栏
2011-02-18 11:21
162 查看
package game.test; import android.app.Activity; import android.os.Bundle; import android.view.Window; import android.view.WindowManager; public class GameTest extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // 隐去电池等图标和一切修饰部分(状态栏部分) this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); // 隐去标题栏(程序的名字) this.requestWindowFeature(Window.FEATURE_NO_TITLE); setContentView(R.layout.main); } }
相关文章推荐
- android隐藏标题栏和状态栏
- android 标题栏和状态栏的隐藏
- 如何设置隐藏Android应用的标题栏和状态栏
- Android App 隐藏标题栏+状态栏+导航栏
- Android笔记之隐藏标题栏或状态栏
- Android之标题栏、状态栏隐藏
- 转载:隐藏状态栏和标题栏的方法
- Android 应用隐藏标题栏和状态栏
- 3种Android隐藏顶部状态栏及标题栏的方法
- Android屏幕中隐藏标题栏和状态栏
- android横竖屏和隐藏标题栏、状态栏总结
- Android Studio下实现隐藏标题栏和状态栏的闪屏页
- Android中隐藏标题栏和状态栏
- 当Activity继承AppCompatActivity如何实现隐藏标题栏与状态栏
- 安卓隐藏标题栏和状态栏
- 隐藏android系统标题栏和状态栏
- Android隐藏状态栏和标题栏,相当于全屏效果
- Android 标题栏、状态栏隐藏
- 关注状态栏标题栏的显示与隐藏
- Android 界面横竖屏切换 顶部状态栏(标题栏)显示与隐藏