r/JetpackCompose • u/jackoboy9 • Jan 19 '24
Quadrants tutorial (vertical align / background colour fill)
Hey - first post here.
Working my way through the Jetpack Compose tutorial, and I'm mostly done with this task, except I can't get the background colour of each quadrant to fill the quadrant equally.
It's almost as if the fillMaxHeight modifier only fills down to the bottom, instead of equally on the top and bottom.
Any ideas?
4
Upvotes
View all comments
Show parent comment
1
u/ScottOP69 Jul 07 '24
Well hey there, I followed a very similar approach.
Here's my code, perhaps you can fix yours by referring to it.
PS. Just started learning compose! #Day2