Changed layouts to relative layouts