android - requestWindowFeature(Window.FEATURE_NO_TITLE) exception

后端 未结 5 528
后悔当初
后悔当初 2020-12-21 18:14

I am setting a specific activity full screen when the use hits a START button.

In this case the showStopButton() is called .

It\'s running fine

5条回答
  •  春和景丽
    2020-12-21 18:47

    Add this.

    requestWindowFeature(Window.FEATURE_NO_TITLE);
    

    before

     super.onCreate(savedInstanceState);
     setContentView(R.layout.your activity);
    

提交回复
热议问题