What I need: An active css effect for the button click (background-color of the button should change on clicking and holding it)
I have tried the following link: [https://docs.nativescript.org/ApiReference/ui/styling/HOW-TO.html]
page.css = "button:pressed { color: red; }";
Also tried applying the above style through stylesheet(.css)
I get no response in the UI(view) as given in the documentation.
Thanks in advance.