Hi all,
I am facing issue with listview. text color not getting changed, by default White for first line and grey for second line i am getting. pasting code here. please let me know anything wrong here
ListView1.TwoLinesLayout.ItemHeight=50dip
ListView1.TwoLinesLayout.Label.TextSize=25
ListView1.TwoLinesLayout.Label.TextColor=Colors.Red
ListView1.TwoLinesLayout.Label.Gravity=Gravity.LEFT
ListView1.TwoLinesLayout.SecondLabel.Height=15dip
ListView1.TwoLinesLayout.SecondLabel.Color=Colors.Blue
ListView1.TwoLinesLayout.SecondLabel.Gravity=Gravity.LEFT
ListView1.FastScrollEnabled = True
ListView1.ScrollingBackgroundColor = Colors.Transparent
For i = 0 To 100
ListView1.AddTwoLinesAndBitmap("Items","Price#",LoadBitmap(File.DirAssets,"veg.jpg"))
Next
thanks
sasidhar.M
I am facing issue with listview. text color not getting changed, by default White for first line and grey for second line i am getting. pasting code here. please let me know anything wrong here
ListView1.TwoLinesLayout.ItemHeight=50dip
ListView1.TwoLinesLayout.Label.TextSize=25
ListView1.TwoLinesLayout.Label.TextColor=Colors.Red
ListView1.TwoLinesLayout.Label.Gravity=Gravity.LEFT
ListView1.TwoLinesLayout.SecondLabel.Height=15dip
ListView1.TwoLinesLayout.SecondLabel.Color=Colors.Blue
ListView1.TwoLinesLayout.SecondLabel.Gravity=Gravity.LEFT
ListView1.FastScrollEnabled = True
ListView1.ScrollingBackgroundColor = Colors.Transparent
For i = 0 To 100
ListView1.AddTwoLinesAndBitmap("Items","Price#",LoadBitmap(File.DirAssets,"veg.jpg"))
Next
thanks
sasidhar.M