I searched everywhere, How to clear constraints of Widgets inside ConstraintLayout, the one result that I found is at stack OverFlow in this link : here
But the answer of this question, doesn't work in my case, however, my question is how could i clear constraint of the widget (E.g ImageView) inside ConstraintLayout programmatically. here's a picture that illustrates what am asking for,thank's.