Shaun Shaun - 2 years ago 164
Android Question

How to remove the android actionbar icon in xamarin?

I am trying to remove the android actionbar icon in a Xamarin android project.

I have tried setting the icon as transparent and excluding the icon from the manifest.
I have also tried changing the icon size to try and hide it and replacing it with a blank icon. Problem is that this also makes the icon in the launcher menu screen blank.

any suggestions would help


Answer Source

For a particular activity try this...

   new ColorDrawable(getResources().getColor(android.R.color.transparent)));
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download