Hi,
i don´t see how to do it... I have one layout with my CustomListView and one layout with a box. I want to add this layout to the CustomListView, but in a row instead of below each other.
So, it should look like
# # # #
instead of
#
#
#
#
I add the layout this way
B4X:
Dim p As Panel
p.Initialize("")
p.SetLayout(0dip,0dip,25%x,25%x*1.5)
p.LoadLayout("Knopf")
tlv.Add(p,"")
Grid using Erel sample code based on PreoptimizedCLV -> https://www.b4x.com/android/forum/threads/grid-class-preoptimizedclv.116309/#post-726808 Example applied on F1, Work very nice: The idea of this class is to be able to load in a 3 column Grid (customizable) a long list of url images...
Don't use this. Better implementation in SimpleMediaManager: https://www.b4x.com/android/forum/threads/b4x-simplemediamanager-smm-framework-for-images-videos-and-more.134716/#content A cross platform library that allows loading images using background threads. It can be useful with keeping the...
There is only text, so i don´t need to load it async. It´s also a limited but not exactly knowing count of elements. But the basic idea you show me is absolute straight forward, and i like that.
To make it easier for the next one searching for it.
The "List Orientation" must be vertical. And than instead of using a layout for each item it´s better to use one layout per row - so for my example i copy my 25%x element 4 times and give it a extra loop while filling.