79207651

Date: 2024-11-20 14:37:22
Score: 1
Natty:
Report link

Yes, you can compose a Modifier in Jetpack Compose to achieve the desired behavior. To wrap content height but limit it to a maximum of 80% of the available height, you can use the Modifier.heightIn() function with dynamic values provided by LocalDensity and BoxWithConstraints.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lov Nimesh