R roarnold Active Member Licensed User Longtime User Feb 26, 2013 #1 I have a ListView and it shows a black background. I would like to change this feature to LightCyan. But the following doesn't work - ListView1.ScrollingBackgroundColor = Colors.LightCyan I have went through Erel's tutorial post but I guess I am missing the boat. I am coding this as opposed to designer. Any ideas? Thanks, R
I have a ListView and it shows a black background. I would like to change this feature to LightCyan. But the following doesn't work - ListView1.ScrollingBackgroundColor = Colors.LightCyan I have went through Erel's tutorial post but I guess I am missing the boat. I am coding this as opposed to designer. Any ideas? Thanks, R
mangojack Expert Licensed User Longtime User Feb 27, 2013 #2 I don't think there is a Color Constant defined for LightCyan so use RGB's to do the job To set background color of ListView .. B4X: ListView1.Color = Colors.RGB (224,255,255) 'LightCyan To stop the ListView backcolor changing to Black when Scrolling B4X: ListView1.ScrollingBackgroundColor = Colors.Transparent I have attached Android Color Chart for future ref (Excel.xls) .. There are other apps /references out there ... Cheers mj Attachments Android Color Chart.zip 17.2 KB · Views: 277 Upvote 0
I don't think there is a Color Constant defined for LightCyan so use RGB's to do the job To set background color of ListView .. B4X: ListView1.Color = Colors.RGB (224,255,255) 'LightCyan To stop the ListView backcolor changing to Black when Scrolling B4X: ListView1.ScrollingBackgroundColor = Colors.Transparent I have attached Android Color Chart for future ref (Excel.xls) .. There are other apps /references out there ... Cheers mj