Declare the preferred height of the content to be exactly heightdp. The incoming measurement Constraints may override this value, forcing the content to be either smaller or larger.
requiredHeight
Declare the height of the content to be exactly [height]dp. The incoming measurement
[Constraints] will not override this value.
d
Danish Ansari
03/17/2021, 9:27 AM
height
is something which can change if the parent composable
height
becomes less than defined
height
whereas
requiredHeight
doesn't change irrespective of parent composable's