Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

display views inline?

so I was wondering what would be the best way to imitate html's display-inline on android views

let's say I have a layout that changes size and inside this layout we'll put dots(to represent views)... as an example

original layout

--------------------
|(-)(-)(-)(-)(-)(-) |
|                   |
|                   |
|                   |
|                   |
--------------------

after resizing layout

-----------------
|(-)(-)(-)(-)(-)|
|(-)            |
|               |
|               |
|               |
-----------------

as you can see the view moved to a new line...

is this possible in android?

like image 346
Mars Avatar asked May 25 '26 05:05

Mars


1 Answers

Android does not have a standard FlowLayout. I explain and show how to build one in this talk: http://www.parleys.com/#id=2191&st=5

like image 97
Romain Guy Avatar answered May 30 '26 03:05

Romain Guy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!