TeodorKolev TeodorKolev - 5 months ago 16
Java Question

Android dynamic creating elements two by row

MY target is to dynamically creating elements with 50% width two by row. I have already tried

weightSum
but it seems that it's not working. It shows only first two elements. Any ideas? Does that possible

Answer

Since there is no solution for that, you must use GridLayout instead LinearLayout