Hey! There’s something I could never quite figure ...
# android
r
Hey! There’s something I could never quite figure out in ConstraintLayout. How do you make a views width/height take a percentage of the constraints? You can easily make it a percentage of parent, but in this case I’m not interested in the parents size. Suppose a percentage for a view that is constrained to two guidelines.
stackoverflow 5