android - Delphi XE6 How to change the highlighting color of a TMetropolisUIListBoxItem using style -


I need to change the color of the main attraction of ListBoxItem when I have selected. Using a dark style

For Android, when I select an item the result is terrible (white in light blue and text color with item box).

Is there a way to change the highlight color?

screenshot

The color can be defined by the style file, you can search with the style ListBoxItemStyle , and within it you can see the TColorAnimation The catalytic = IsSelected , there you can find the color can change. I am setting the example of my style:

  object TLayout StyleName = 'ListBoxItemStyle' DesignVisible = false height = 20.000000000000000000 width = 50.000000000000000000 Object TText StyleName = 'text' align = alClient color = claBlack height = 18.000000000000000000 hitTest = false HorzTextAlign = TaLeading MarginskLeft = 3k000000000000000000 MarginskTop = Lk000000000000000000 MarginskRight = 3k000000000000000000 MarginskBottom = Lk000000000000000000 width = 44.000000000000000000 WordWrap = false object TColorAnimation period = 0k00l00000004749745l PropertyName = 'color' StartValue = claBlack StopValue = claAzure Trigger = 'IsSelected = true' TriggerInverse = 'IsSelected = false' end end object TCheckBox StyleName = 'check' Align = alLeft CanFocus = F Alse DisableFocusEffect = true height = 20.000000000000000000 StyleLookup = 'ListBoxItemcheck' TabOrder = 1 visible = wrong width = 20.000000000000000000 end and end    

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -