Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

android java display icon in action bar

getSupportActionBar().setDisplayShowHomeEnabled(true);
getSupportActionBar().setLogo(R.mipmap.ic_launcher);
getSupportActionBar().setDisplayUseLogoEnabled(true);
Source by guides.codepath.com #
 
PREVIOUS NEXT
Tagged: #android #java #display #icon #action #bar
ADD COMMENT
Topic
Name
4+9 =