My test app have one view.
PixateFreestyle.setStyleClass(testView, "test_view");
In default.css:
.test_view { background-color: #ff0000; }
It works fine. But when I define the following I see that default state is trasparent drawable and pressed state is green drawable. Where my default red drawable?
.test_view { background-color: #ff0000; }
.test_view:pressed { background-color: #00ff00; }
This applies to View, ViewGroup.
My test app have one view.
PixateFreestyle.setStyleClass(testView, "test_view");In default.css:
.test_view { background-color: #ff0000; }It works fine. But when I define the following I see that default state is trasparent drawable and pressed state is green drawable. Where my default red drawable?
This applies to View, ViewGroup.