Search code examples
androidandroid-layoutandroid-linearlayout

how can I make this type of layout dynamically using Linear Layout?


Can anyone just tell me the structure of XML file? and I don't want to use Table and how can I repeat that layout using for loop.

enter image description here


Solution

  • You should use linear-layout which orientation is horizontal.
    Other way, you can use Relative layout.

    For separation use Horizontal and Vertical Divider.