I have a ViewGroup and it has a few children. And one of them is a TextView (\"+id/text\"). In my code, I would like to know how can I add a new View or ViewGroup which will
If your layout is not so complex, use RelativeLayout
A Layout where the positions of the children can be described in relation to each other or to the parent...
When you insert a new child view, create a new LayoutParams then setRule
You can put the child view below the textView with this
:)