Answers for "homeasupindicator make invisible"

0

homeasupindicator make invisible

ActionBar actionBar = getActionBar();
if (actionBar != null) {
    actionBar.setHomeButtonEnabled(false); // disable the button
    actionBar.setDisplayHomeAsUpEnabled(false); // remove the left caret
    actionBar.setDisplayShowHomeEnabled(false); // remove the icon
}
Posted by: Guest on October-06-2020

Code answers related to "homeasupindicator make invisible"

Browse Popular Code Answers by Language