I have a custom title bar, a simple relative layout, that I set as the custom title bar of my activity. But at want the android
< to show up as usual (i.e. to the left of my custom layout). How do I do that? here is my code so far.
LayoutInflater inflator = (LayoutInflater) this
View v = inflator.inflate(R.layout.my_title_bar, null);
I have tried the answer at Remove Icon but have HomeAsUp in ActionBar they don't work. So one question, is order of setting those flags matter?
Adding the following combo solved the problem.
getActionBar().setIcon( new ColorDrawable(getResources().getColor(android.R.color.transparent))); this.getActionBar().setDisplayShowHomeEnabled(true);