Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

cannot access method setTrailBackground #69

Description

@Testator

cannot access setTrailBackground method even though it is public. I need to programmatically change the trailing background when theme is switch from day to night and vice versa.

I have enable trail in xml and trail background works fine when user change from night to day or vice versa only when app is restarted.

However, is user does not restart the app - trailing background does not change color with corresponding theme
These are when user change from night to day or vice versa without restarting app
Screen Shot 2020-08-26 at 8 59 23 PM

Screen Shot 2020-08-26 at 8 57 17 PM

this is how it should be

Screen Shot 2020-08-26 at 9 03 30 PM

Screen Shot 2020-08-26 at 9 04 00 PM

I believe that this can be fix if we can setTrailBackground.

I tried setSlidingButtonBackground() but that does not work.

Please help.
Thxs in advance

.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions