https://kotlinlang.org logo
#compose
Title
# compose
c

carlos cdmp

05/10/2020, 5:11 PM
And someone can tell me why this simple thing
Copy code
Row {
    Text("Sample Text")
    Button("Click")
}
Is throwing IllegalStateException: No colors found!?
a

Anastasia [G]

05/10/2020, 8:15 PM
I'm wondering in what context you use the Row in your example. Could we see a full code sample please?
c

carlos cdmp

05/10/2020, 8:24 PM
It was solved by wraping everything inside MaterialTheme, I was creating this directly from the context as a customview on demand and now is working fine
5 Views