Make work with reference in layout XML