I have a hierarchy that is like this:
In the XML File LinearLayout already has child view. So there is not need to add them in code.