Arya R. Arya R. - 2 months ago 16
Android Question

Hide App name in Navigation Drawer

I need some guide to remove the name of app which is quite annoying in top bar of navigation: App Top Bar Navigation

I'm using

Toolbar
and native google Navigation Drawer I tried some method like:

getSupportActionBar().setDisplayShowTitleEnabled(false);


but application stop working

or changing theme but not working

Answer

you must first call this setSupportActionBar(mToolbar); also make sure that you are using style with Theme.AppCompat.Light.NoActionBar