Android 5.0 uses a different design style for the program header than before, and the icon (application icon) is no longer there. How can it be placed there (put in place) in a standard project?

  • The question does not apply to android studio and is solved the same way in any IDE - pavlofff

1 answer 1

If I understood correctly and you are getSupportActionBar().setIcon(); about an icon in ActionBar then try this code in the getSupportActionBar().setIcon();