Custom image instead of logo in ActionBar/ActionBarSherlock
问题 How can I change the default logo icon of an ActionBar to be a custom image? Similar as how it works on Whatsapp? 回答1: The ActionBar uses the android:logo attribute of your manifest, if one is provided. That lets you use separate drawable resources for the icon (Launcher) and the logo (ActionBar, among other things). So you should add this tag into manifest like .. <application android:logo="@drawable/custom_image" Update : You can use ActionBar.setLogo() for runtime. Two versions are there