Looking at an earlier question link text based on the same concept,is there an approach to do this via the LayoutInflator?