[android] Padding between ActionBar's home icon and title

Does anybody know how to set padding between the ActionBar's home icon and the title?

This question is related to android android-actionbar

The answer is

EDIT: make sure you set this drawable as LOGO, not as your app icon like some of the commenters did.

Just make an XML drawable and put it in the resource folder "drawable" (without any density or other configuration).

<?xml version="1.0" encoding="utf-8"?>
    xmlns:android="http://schemas.android.com/apk/res/android" >



The last step is to set this new drawable as logo in your manifest (or on the Actionbar object in your activity)

Good luck!

Similar questions with android tag:

Similar questions with android-actionbar tag: