This is a bit messy because I re-indented the file.
What I changed is the outer layout to be a LinearLayout, the layout params of its children, and added the TextView for the terms.