Skip to content

StateListDrawable doesn't work #36

@ilyamuromets

Description

@ilyamuromets

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions