You can't use custom layouts in ui files.