android-constraint-layout-cheatsheet icon indicating copy to clipboard operation
android-constraint-layout-cheatsheet copied to clipboard

Add demo for `ConstraintLayout` feature for dimension constraints - MATCH_CONSTRAINT

Open noorejannat opened this issue 6 years ago • 1 comments

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

noorejannat avatar May 27 '18 22:05 noorejannat

Percent constraint likely is done. Need verification

hossain-khan avatar Jun 02 '19 14:06 hossain-khan