WRONG posted code:
lv.FastScrollEnabled = True
lv.SingleLineLayout.ItemHeight = 30dip
lv.SingleLineLayout.Label.TextSize = 12
lv.SingleLineLayout.Label.TextColor = Colors.Green
lv.SingleLineLayout.Label.Gravity = Gravity.CENTER
lv.TwoLinesLayout.ItemHeight = 60dip
lv.TwoLinesLayout.Label.TextSize = 10
lv.TwoLinesLayout.Label.TextColor = Colors.Red
lv.TwoLinesLayout.Label.Gravity = Gravity.CENTER
lv.TwoLinesLayout.SecondLabel.TextSize =12
lv.TwoLinesLayout.SecondLabel.TextColor = Colors.Red
lv.TwoLinesLayout.SecondLabel.Typeface = Typeface.DEFAULT_BOLD
For i = 0 To 49
lv.AddSingleLine(i)
Next
The same using Code-tags as i explained in the post before this:
lv.FastScrollEnabled = True
lv.SingleLineLayout.ItemHeight = 30dip
lv.SingleLineLayout.Label.TextSize = 12
lv.SingleLineLayout.Label.TextColor = Colors.Green
lv.SingleLineLayout.Label.Gravity = Gravity.CENTER
lv.TwoLinesLayout.ItemHeight = 60dip
lv.TwoLinesLayout.Label.TextSize = 10
lv.TwoLinesLayout.Label.TextColor = Colors.Red
lv.TwoLinesLayout.Label.Gravity = Gravity.CENTER
lv.TwoLinesLayout.SecondLabel.TextSize =12
lv.TwoLinesLayout.SecondLabel.TextColor = Colors.Red
lv.TwoLinesLayout.SecondLabel.Typeface = Typeface.DEFAULT_BOLD
For i = 0 To 49
lv.AddSingleLine(i)
Next
As you can see the code "using code-Tags" looks MUCH nicer and is MUCH easier to read here in forum.