I have a ListView which contains a LinearLayout on the top of the View which functions as a Title Bar. The List can scroll, but the title bar stays put. In the title bar I want a “Back” button but that causes the title text to become un-centered:

I added a second button of the same size (on the right hand side of the title bar) and made it invisible so as to act as a “spacer” for the text to center on but then I loose a lot of title bar real-estate:

Is there a way to tell Android to center the title text and disregard the Back button? Perhaps this is just the way life is but thought I’d run it by everyone before proceeding with a kludgy second, invisible button or something.
Thanks
Yo can use relative layout instead of linearlayout,