hossain-khan/android-constraint-layout-cheatsheet

Add demo for `ConstraintLayout` feature minimum dimensions

noorejannat opened this issue · 1 comments

Minimum dimensions on ConstraintLayout

You can define minimum and maximum sizes for the ConstraintLayout itself:

android:minWidth set the minimum width for the layout
android:minHeight set the minimum height for the layout
android:maxWidth set the maximum width for the layout
android:maxHeight set the maximum height for the layout
Those minimum and maximum dimensions will be used by ConstraintLayout when its dimensions are set to WRAP_CONTENT.

Duplicate of #54