Android Question Drawing a gradient with a positions array

NeoTechni

Well-Known Member
Licensed User
Longtime User
When drawing a gradient in java, you can pass an array of floats to define the positions of the colors inside the gradient. In B4A, that's missing so they're all equidistant. How can I pass that array into a GradDrawable?
 
Top