Skip to content

Instantly share code, notes, and snippets.

@Reacoder
Created July 23, 2014 09:55
Show Gist options
  • Save Reacoder/5cf93def5442188bdecc to your computer and use it in GitHub Desktop.
Save Reacoder/5cf93def5442188bdecc to your computer and use it in GitHub Desktop.
From http://stackoverflow.com/questions/9737101/padding-between-actionbars-home-icon-and-title 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). The last step is to set this new d…
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:drawable="@drawable/my_logo"
android:right="10dp"/>
</layer-list>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment