add relative layout code