NOp, :) not the way you want (not linear). I'm not sure, but I think that in java there was a FlowLayout that starts on the left and continues to move to the right when there is no free space, when a new line starts. But in android there is no such layout.
But you can do some workarounds for this problem. There are many different solutions, but this cannot be done with a linear layout. If you set the horizontal orientation, never skip to a new line.
as @Rasel suggested the best solution for you - use gridview and do nothing with orientation
Lukap
source share