J jchal Active Member Licensed User Longtime User Oct 20, 2018 #1 i have this B4X: ListView1.AddTwoLinesAndBitmap(cs.Initialize.Color(Colors.Black).Append("1.sometext").PopAll,cs.Initialize.Color(Colors.Black).Append("2.some_text").PopAll,LoadBitmap(File.DirAssets,"1.png")) and i want to resize the image how do i do it?
i have this B4X: ListView1.AddTwoLinesAndBitmap(cs.Initialize.Color(Colors.Black).Append("1.sometext").PopAll,cs.Initialize.Color(Colors.Black).Append("2.some_text").PopAll,LoadBitmap(File.DirAssets,"1.png")) and i want to resize the image how do i do it?
M Mahares Expert Licensed User Longtime User Oct 20, 2018 #2 jchal said: and i want to resize the image how do i do it? Click to expand... Did you try something like this: B4X: listview1.AddTwoLinesAndBitmap(cs.Initialize.Color(Colors.Black).Append("1.sometext").PopAll,cs.Initialize.Color(Colors.Black).Append("2.some_text").PopAll,LoadBitmapResize(File.DirAssets,"1.png",40dip,40dip,True)) Upvote 0
jchal said: and i want to resize the image how do i do it? Click to expand... Did you try something like this: B4X: listview1.AddTwoLinesAndBitmap(cs.Initialize.Color(Colors.Black).Append("1.sometext").PopAll,cs.Initialize.Color(Colors.Black).Append("2.some_text").PopAll,LoadBitmapResize(File.DirAssets,"1.png",40dip,40dip,True))
Erel B4X founder Staff member Licensed User Longtime User Oct 21, 2018 #3 In most cases it is a mistake to use ListView. Use xCustomListView and you will have full control over the layout. Upvote 0
In most cases it is a mistake to use ListView. Use xCustomListView and you will have full control over the layout.