I have a RelativeLayout which contains custom image/text views, all of those share many methods in common (which are currently gathered in an interface) and are implemented the same in all classes.

I want to minimize the amount of overlapping code between the existing views. I know there is no multiple inheritance in Java, but is there some way to create a view to hold all similar code, and to inherit from Image/Text/Layout.. views?

Thanks in advance