Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I change the Color of an Listview Item in Delphi(Firemonkey Android)

How can I change the background color of a ListView Item in Firemonkey (Delphi Android)? The Listview itself can be set to transparent, but if I add an Item it has white background/

like image 854
Nick Avatar asked Nov 26 '22 08:11

Nick


1 Answers

I Think you'll need to do this in the style designer

Right Click on the TListView control and select "Edit Custom Style". In the Style "Structure" Treeview select the itembackground property and set the color to Null.

Remember to select the newly created ListViewStyle in the TListView's property inspector StyleLookup parameter

like image 180
Ryno Coetzee Avatar answered May 17 '23 11:05

Ryno Coetzee