I want to put a layout in the center of the screen.
If you want to center one view, use this one. In this case TextView must be the lowermost view in your XML because it's layout_height is match_parent.