Android Question ListView Second Line Font Size

Jonathan Rigley

Member
Licensed User
Longtime User
Hi,

I'm using the following code to change the font size and colour in the first line of a ListView, but for the life of me I can't find or figure how to change the font size and colour of the second line. Can anyone help?

B4X:
    ListView1.SingleLineLayout.Label.TextSize = 7dip
    ListView1.FastScrollEnabled = True
    ListView1.SingleLineLayout.ItemHeight = 28dip   
    ListView1.SingleLineLayout.Label.TextColor = Colors.LightGray
   
    For i = 1 To 30
        ListView1.AddSingleLine("Name")
        ListView1.AddTwoLines("Item", i)
    Next

Thank you.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…