I want to align a linear layout containing buttons at the bottom of the screen. That part is easy, i just put my layout inside a relative layout and tell the relative layout height to match parent. So I now have my linear layout aligned at the bottom. Now what I want to do is to align my content linear layout in the center not of the relative layout but, in the center of the space between the bot aligned layout and the remaining of the space in the relative layout. If you dont get it, I attached a drawing with the example. If some one can help me with this, it would be so appreciated. Thanks a lot !