This question has already been answered:
Create a textView dynamically in LinearLayout
But the question arises how to be if there are too many tags and they do not fit on one line. How to implement the transfer to the next?
Maybe someone knows how to solve this problem.

