0
by default it was to appear but it is not appearing I found this question Application icon does not appear but the answer did not answer me.
0
by default it was to appear but it is not appearing I found this question Application icon does not appear but the answer did not answer me.
1
Use the method setDisplayShowHomeEnabled()
to view the home button space:
getSupportActionBar().setDisplayShowHomeEnabled(true);
Then the method setIcon()
to set the icon you want to view:
getSupportActionBar().setIcon(R.drawable.ic_launcher);
Look at this response in the gringo OS.
Browser other questions tagged android actionbar icons
You are not signed in. Login or sign up in order to post.