Android Question AddTwoLinesAndBitmap size

jchal

Active Member
Licensed User
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?
 

Mahares

Expert
Licensed User
and i want to resize the image how do i do it?
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
Top