(Sorry for my language, I\'m french)
I need to change the stroke color of a Shape. I\'ve the same problem described here. I need to change solid color when
stroke color
GradientDrawable myGrad = (GradientDrawable)rectangle.getBackground(); myGrad.setStroke(2, Color.RED);