Skip to content Skip to sidebar Skip to footer

Adding Text Views In Multiple Rows In Relative Layout Programmatically

I'm trying to achieve the following view in image programmatically. I am adding text view to relative layout dynamically. My problem is text view are added as required to right of

Solution 1:

Finally after much googling got the solution from here :

https://github.com/ApmeM/android-flowlayout

Need to create custom flow layout instead of relative layout used.Custom flow layout will adjust child views accordingly in rows.

Post a Comment for "Adding Text Views In Multiple Rows In Relative Layout Programmatically"