Overwriting the color defined in xml directly after inflating the layout like following does not work:
scrollBar.setHandleColour(customColor);
Seems like it is somehow later overwritten again... Posting the setHandleColour to the view works though but I think the scrollbar should respect the custom color no matter when it is set.
I've not fully checked it but it may be overwritten in the setUpHandle function...
Overwriting the color defined in xml directly after inflating the layout like following does not work:
Seems like it is somehow later overwritten again... Posting the
setHandleColour
to the view works though but I think the scrollbar should respect the custom color no matter when it is set.I've not fully checked it but it may be overwritten in the
setUpHandle
function...