import android.view.Window; //取消标题
public class MainActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE); //取消标题,一定要是在setContentView方法前面
取消标题
最新推荐文章于 2023-09-25 15:14:34 发布