ListView Labels Colors

surfer

Member
Licensed User
Longtime User
I play with ListView: on one of the two tabs of TabHost I put ListView (using designer). And I saw that, when I add to the Listview two lines and image, the color properties of Listview labels:

TwoLinesLayout.Label.TextColor, TwoLinesLayout.Label.Color, TwoLinesLayout.Secondlabel.TextColor, TwoLinesLayout.Secondlabel.Color

do not change the labels colors. Without image it all works fine. Do I miss something?:sign0085:
 
As Erel already wrote you need to use ListView1.TwoLinesAndBitmap.Label.TextSize = 10.
There are three possible layouts for ListViews.
- SingleLineLayout
- TwoLinesLayout
- TwoLinesAndBitmap
You are using all three, so you need to define the layout parameters for each one which can be different.

Attached your project modified.

Best regards,
 

Attachments

Upvote 0
Back
Top