Hello,
If i add a large text to a ListView1.TwoLinesAndBitmap.SecondLabel how can i do so it continues in multiple lines.
Now i add a couple words to the first label and that is ok. But i want to add a much longer text to the secondlabel but as it gets to the right of the screen the text dissapears, it does not continue below in multiple lines.
ListView1.FastScrollEnabled=True
ListView1.TwoLinesAndBitmap.ItemHeight = 70dip
ListView1.TwoLinesAndBitmap.Label.Top=1dip
ListView1.TwoLinesAndBitmap.Label.TextSize = 15
ListView1.TwoLinesAndBitmap.Label.Width=Listview1.Width-ListView1.TwoLinesAndBitmap.ImageView.Width
ListView1.TwoLinesAndBitmap.Label.TextColor = Colors.Yellow
ListView1.TwoLinesAndBitmap.Label.Gravity = Gravity.LEFT
ListView1.TwoLinesAndBitmap.Label.Height=20dip
ListView1.TwoLinesAndBitmap.SecondLabel.Height=50dip
ListView1.TwoLinesAndBitmap.SecondLabel.Top=21dip
ListView1.TwoLinesAndBitmap.SecondLabel.TextSize = 12
ListView1.TwoLinesAndBitmap.SecondLabel.TextColor = Colors.White
ListView1.TwoLinesAndBitmap.SecondLabel.Gravity = Gravity.LEFT
Bitmap1.InitializeSample(File.DirAssets,"M-icon.png" ,50dip,50dip)
For i = 0 To Bitmaps.Size-1
Log("Bitmaps.Get("&i&"):"&Bitmaps.Get(i))
ListView1.AddTwoLinesAndBitmap(N.Get(i),N2.Get(i),Bitmap1)
Next
If N2.Get(i) is a text long enough it won't display completely just the first line. Hope you understand me with my poor english.
Thanks and best regards,
If i add a large text to a ListView1.TwoLinesAndBitmap.SecondLabel how can i do so it continues in multiple lines.
Now i add a couple words to the first label and that is ok. But i want to add a much longer text to the secondlabel but as it gets to the right of the screen the text dissapears, it does not continue below in multiple lines.
ListView1.FastScrollEnabled=True
ListView1.TwoLinesAndBitmap.ItemHeight = 70dip
ListView1.TwoLinesAndBitmap.Label.Top=1dip
ListView1.TwoLinesAndBitmap.Label.TextSize = 15
ListView1.TwoLinesAndBitmap.Label.Width=Listview1.Width-ListView1.TwoLinesAndBitmap.ImageView.Width
ListView1.TwoLinesAndBitmap.Label.TextColor = Colors.Yellow
ListView1.TwoLinesAndBitmap.Label.Gravity = Gravity.LEFT
ListView1.TwoLinesAndBitmap.Label.Height=20dip
ListView1.TwoLinesAndBitmap.SecondLabel.Height=50dip
ListView1.TwoLinesAndBitmap.SecondLabel.Top=21dip
ListView1.TwoLinesAndBitmap.SecondLabel.TextSize = 12
ListView1.TwoLinesAndBitmap.SecondLabel.TextColor = Colors.White
ListView1.TwoLinesAndBitmap.SecondLabel.Gravity = Gravity.LEFT
Bitmap1.InitializeSample(File.DirAssets,"M-icon.png" ,50dip,50dip)
For i = 0 To Bitmaps.Size-1
Log("Bitmaps.Get("&i&"):"&Bitmaps.Get(i))
ListView1.AddTwoLinesAndBitmap(N.Get(i),N2.Get(i),Bitmap1)
Next
If N2.Get(i) is a text long enough it won't display completely just the first line. Hope you understand me with my poor english.
Thanks and best regards,