Android Custom Layout: FlowLayout
·3 mins
Hello, Android devs! This is my first blog about Android. We know Android SDK provides you a bunch
of useful layouts: FrameLayout, LinearLayout, RelativeLayout, etc. So where is FlowLayout,
which works like a multiline TextView but holding views instead of texts? Developers can just add
views to a FlowLayout and each view is put to the right of the previous one and wraps to a new row
when the current row is full. I’m gonna show you how you could implement your own FlowLayout with
less than 100 lines of code.