How to annotate glance and background for a common class

Hi,

I have a common class which shall be shared with background as well as with glance view. If I annotate it in this way:

(:glance)(:background)

the compiler throws an error as well as it throws an error with annotation:

(:glance)

(:background)

How can I annotate this?