How to remove the margin between the app icon and the edge of the screen on the ActionBar?
问题 I have a custom home icon for my app and I want it to align all the way to the left of the actionbar, so that it's touching the edge of the screen. Is this possible, and if so, how can it be done? I don't see anything that sets the padding or margin to make it align all the way to the left. 回答1: I finally managed to get this. You need to use a custom actionbar view. It's actually quite easy: (This is using ActionbarSherlock, it should work with the stock compat library also...) First in your