I what my actionbar to have a title and homeAsUp but not the logo or icon.
like this:
I tried this:
actionBar = getSupportActionBar(); actionBar.setHomeButtonEnabled(false); actionBar.setDisplayHomeAsUpEnabled(true); actionBar.setDisplayShowHomeEnabled(true); actionBar.setDisplayShowTitleEnabled(true); actionBar.setTitle("My Profile"); actionBar.setDisplayUseLogoEnabled(false);
But it gives the application icon between the title and back arrow
Thank You
actionBar = getSupportActionBar(); actionBar.setDisplayHomeAsUpEnabled(true); actionBar.setDisplayShowHomeEnabled(false); actionBar.setDisplayShowTitleEnabled(true); actionBar.setTitle("My Profile"); actionBar.setDisplayUseLogoEnabled(false);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With