Hello! I need to put a lot of LinearLayout(200,50) components LinearLayout(200,50) on the screen, but when I try, they start overlapping each other, the screen size is not enough. Tried to place each other in each other, but still it does not work. Is there any way to implement this? Thank you in advance.

    2 answers 2

    Simply LinearLayout your LinearLayout into a ScrollView like this .

    The novel is partly right, however, if your content is static (I mean, known right away, you don’t need to add anything on the go), you don’t need a ListView - it’s very, very heavy and tricky (adapter, reuse of views), you don’t need all this overhead

      Use ListView for this. Here's an example: ListView in Android: List customization .