在onCreate()方法里,setContentView(R.layout.first_layout);方法之前添加下面语句
requestWindowFeature(Window.FEATURE_NO_TITLE);
在onCreate()方法里,setContentView(R.layout.first_layout);方法之前添加下面语句
requestWindowFeature(Window.FEATURE_NO_TITLE);
转载于:https://www.cnblogs.com/Awangwang/p/7656620.html