How to disable/hide three-dot indicator(Option menu indicator) on ICS handsets

后端 未结 19 1836
闹比i
闹比i 2020-12-04 19:29

How to disable/hide three-dot indicator(Option menu indicator) on ICS handsets which does\'t have menu button. ?

I am running application as

19条回答
  •  星月不相逢
    2020-12-04 19:50

    I just deleted the method :

    @Override
    public boolean onCreateOptionsMenu(com.actionbarsherlock.view.Menu menu) {
        getSupportMenuInflater().inflate(R.menu.main, menu);
        return true;
    }
    

    then that three-dot-menu goes away (:


    Hope it helps.

提交回复
热议问题