galex
07/31/2020, 6:28 PM.fillMaxSize()
by default is giving me headaches. I’m so used to create a layout and it being set to match_parent
/ match_parent
, it is mind blowing!
This piece of gold helps me a lot:
fun <http://Modifier.help|Modifier.help>() = drawBackground(Color.Red)
Ben
07/31/2020, 6:53 PMgalex
07/31/2020, 7:01 PMAdam Powell
07/31/2020, 9:45 PMComponentActivity.setContent
to .fillMaxSize()
and my memory is failing me; it might have just been an oversight or lost in a refactorgalex
08/01/2020, 6:37 AMComposable
that takes the whole screen / bodyContent of Scaffold
. Like now the default is wrap_content
unless told otherwise!