Add demo for `ConstraintLayout` feature for dimension constraints - MATCH_CONSTRAINT
noorejannat opened this issue · 1 comments
noorejannat commented
MATCH_CONSTRAINT dimensions (Added in 1.1)
When a dimension is set to MATCH_CONSTRAINT, the default behavior is to have the resulting size take all the available space. Several additional modifiers are available:
layout_constraintWidth_min and layout_constraintHeight_min : will set the minimum size for this dimension
layout_constraintWidth_max and layout_constraintHeight_max : will set the maximum size for this dimension
layout_constraintWidth_percent and layout_constraintHeight_percent : will set the size of this dimension as a percentage of the parent
hossain-khan commented
Percent constraint likely is done. Need verification