I have used ListView with AddTwoLinesAndBitmap2 and this works fine...now i get into problem that ListView Height is not same on all devices...i try to use xml layout for listview but i get error in B4A when i try to use AddTwoLinesAndBitmap2.
So i have 14 items witch one item height is 38dip so 14 items x 38dip = 532dp and on one android box (MyGica) ListView is correct and on other android box (MX III) ListView is showing 14 items and one half item.... how to fill listview to panel pnlVideoClubList so that ListView will be same on all devices?
If you want "same size" (fixed size) of ListView and ListView Items on all devices you must set their size in dip (so your ListView can be 3cm height on all devices, for example).
If you want they have the same proportions you must use percentages (lvVideoClub.Height = 75%y)
I don't think it is essential. If you want a fixed number of items visible on all devices, you should use percentages to set sizes (panel, listview and items) and, at least, functions like Min and Max. Just study a little
I wil try with width and height for example 40%x and 80%y and replay results... strange is that i could not use in B4A xml defined width and height like parent_fill (inside panel) so that way will listview expand to panel size....