For ConstraintLayout, it seems percent(100f) refer...
# compose
c
For ConstraintLayout, it seems percent(100f) refers to 100x the size of the parent? I reckon it should be renamed or changed a bit, since "percent" means "per one hundred"
s
float settings generally are between 0 and 1. It should be stated in documentation as well. But I agree name is confusing. API desing is hard. Rename iss probably not possible at this point, but you can create a typealias yourself
m
The DSL of ConstraintLayout is very likely subject to be changed, we will address this in the next iterations 🙂
👍 1
🎉 2
💯 1
s
ohh I totally meant for ConstraintLayout xml api, DSL for compose is obviously something new 🤦🏻‍♂️