Ensure to load the right layout when it's defined at the level of a view for a duplicated framework