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
this is how it should be
I believe that this can be fix if we can setTrailBackground.
I tried setSlidingButtonBackground() but that does not work.
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
this is how it should be
I believe that this can be fix if we can setTrailBackground.
I tried setSlidingButtonBackground() but that does not work.
Please help. Thxs in advance
.