SyntaxFix
Write A Post
Hire A Developer
Questions
getActionBar().setIcon(android.R.color.transparent);
This worked for me.