I’m using an horizontal progress bar in my Android application, and I want to change its progress color (which is Yellow by default). How can I do it using code (not XML)?
I’m using an horizontal progress bar in my Android application, and I want to
Share
I’m sorry that it’s not the answer, but what’s driving the requirement setting it from code ?
And
.setProgressDrawableshould work if it’s defined correctly