same as above. header does not have to be a ViewGroup