is it possible to define one layout for all subclass of one superclass? not to define same layout for every class