What should I do with Android bitmap transparency?

want to control the transparency of the picture through seekbar

think of getting the argb value, and then by setting alpha=progress*255/100

the effect of the main body is OK, but the Android robot is transparent behind it, so its initial direct argb value (255j0re0) is black, which makes this formula unreasonable. I can"t think of a better way to deal with it

.
Jun.21,2022
Menu