Separated camera and overlay preview layouts in different xml files, inflated in onCreate to deal with proper z-indexing.