Maciej Pigulski
02/22/2021, 2:41 PMColumn(modifier = Modifier.fillMaxSize())
is overriding background set in Colors(..., background = Color.Red, ...)
for the Material Theme. Not sure if it is strictly Column
releated but if I remove it from the view hierarchy I am able to see Color.Red
as the background. Column
that I am removing has no background of its own. I fail to pinpoint if there is some material color that is taken by default for Column
background. I have checked the source code and couldn't find any defaults taken f.e. from colorPrimary
or else. Now I see it as a bug but maybe I got something wrong..Bryan Herbst
02/22/2021, 2:55 PMColumn
?Maciej Pigulski
02/22/2021, 2:55 PMBryan Herbst
02/22/2021, 2:57 PMColumn
in?Maciej Pigulski
02/22/2021, 2:58 PMBryan Herbst
02/22/2021, 3:02 PMSurface
or a Scaffold
somewhere, and where that is. Those are the types of Composables (from androidx.compose.material
) that tend to utilize properties like the background color