I am a newbie to android, I know this question has already been asked but i couldn't get a satisfactory explanation. My doubts are:
- What is "attach to root" used for, if possible with a small and clear example.
- When I searched for the answer people said its optional used to attach to parent view group, What is the view group hierarchy?(Is that considering views that we created programatically or is that also considering the views that are already declared in an xml file)
I hope the questions is clear, if not please say so in the comments.