I have linearlayout that with horizontal orientation.
I am adding ImageView item in it with inflating ImageViews. How can I check if there is no more space in the linear layout ?
For example in small screens I will add only 5 items but on big screens I will add up to 8. (depending of the size of the screen)
You can maybe take a look at this example.
http://hzqtc.github.io/2013/12/android-custom-layout-flowlayout.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With