disble actionbar icon in android

disble actionbar icon in android

this code used to disable icon in the actionbar

getActionBar().setIcon(new ColorDrawable(getResources().getColor(android.R.color.transparent)));

if you want to change icon in actionbar ,use setIcon() to set the icon.

Leave a Reply

Your email address will not be published. Required fields are marked *