MDL-37454 Add core support for activities other than labels to display contents inline