I have an XML file that is a RelativeLayout with two children: a PreviewView and a LinearLayout like so: