I need to add components from the Fragment class, for example if I press a button it adds a TextView to the contraint Layout of the view, is it possible?
I need to add components from the Fragment class, for example if I press a button it adds a TextView to the contraint Layout of the view, is it possible?
Yes, it is possible, here is an example of how to add a view to an existing layout.
I would recommend that you try to elaborate your questions further, and including pieces of code helps the community better understand the problem and thus better help you.