Skip to content

Joystick background is black #2

Description

@elhayra

I think most users will want it to be transparent for better usability.
I managed to get it right by adding these lines to constructor:
`
this.setBackgroundColor(Color.TRANSPARENT);

this.setZOrderOnTop(true);

getHolder().setFormat(PixelFormat.TRANSPARENT);
`

Please check my pull request based on this issue here

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions