Tried
Not working for me. Any advice?
Furthermore, how can I relate the style of a node created by code with a css file?
B4X:
aToggleButton.Style=":selected{-fx-background-color:black;}"
Furthermore, how can I relate the style of a node created by code with a css file?