S Scantech Well-Known Member Licensed User Longtime User Jul 11, 2012 #1 It is possible to have Listview Single Line with Bitmap? I saw it in my Android Settings. Thank you
D disit11 Member Jul 12, 2012 #2 Im not 100% sure but I know you can do it with two lines and a bitmap and maybe just leave the second area blank? Here is the code to do so. Just leave text#2 blank and see how it looks. Code: Copy ListView1.AddTwoLinesAndBitmap("Text#1", "Text#2", LoadBitmap(File.DirAssets, "Your Image File With Extension")) Upvote 0
Im not 100% sure but I know you can do it with two lines and a bitmap and maybe just leave the second area blank? Here is the code to do so. Just leave text#2 blank and see how it looks. Code: Copy ListView1.AddTwoLinesAndBitmap("Text#1", "Text#2", LoadBitmap(File.DirAssets, "Your Image File With Extension"))
derez Expert Licensed User Longtime User Jul 12, 2012 #3 This is true, and you can also set the height of the firsl line label to be full line height (otherwise it is set for half the height). listview1.TwoLinesAndBitmap.Label.height = ... Last edited: Jul 12, 2012 Upvote 0
This is true, and you can also set the height of the firsl line label to be full line height (otherwise it is set for half the height). listview1.TwoLinesAndBitmap.Label.height = ...
Erel B4X founder Staff member Licensed User Longtime User Jul 12, 2012 #4 You should also call ListView1.TwoLinesAndBitmap.SecondLabel.Visible = False. Upvote 0