This tag and its children can be replaced by one and a compound drawable
Issue: Checks whether the current node can be replaced by a TextView
using compound drawables.A LinearLayout which contains an ImageView and a TextView can be more
efficiently handled as a compound drawable
I am getting this lint warning in one of my Layout.I am not getting what does it mean by Compound Layout.Please explain or provide any suitable links.
You can replace your ‘complex’ layout with just one view: