Why does void ConstraintSet.applyToInternal(ConstraintLayout constraintLayout);
changes the View
visibility?
It is not preserving my View
visibility. Is there a way to preserve it?
I just noticed that the View
visibility is treated as part of the constraints. Set it with
ConstraintSet set = new ConstraintSet();
set.setVisibility(checkIcon.getId(), INVISIBLE);
set.applyTo(container);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With