Thread
#compose
    caelum19

    caelum19

    2 years ago
    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"
    Sinan Kozak

    Sinan Kozak

    2 years ago
    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
    Mihai Popa

    Mihai Popa

    2 years ago
    The DSL of ConstraintLayout is very likely subject to be changed, we will address this in the next iterations 🙂
    Sinan Kozak

    Sinan Kozak

    2 years ago
    ohh I totally meant for ConstraintLayout xml api, DSL for compose is obviously something new 🤦‍♂️🏻