Android ActionBar hide title bar

android action bar 隐藏 title bar

final ActionBar actionBar = getSupportActionBar();
        actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
        actionBar.setDisplayShowTitleEnabled(false);
       actionBar.setDisplayShowHomeEnabled(false);

效果图
SCR001

JackSun

JackSun

I'm a coder.

You may also like...

Leave a Reply

Your email address will not be published.