Hello! I'm trying to adopt material3 to my app and...
# compose
p
Hello! I'm trying to adopt material3 to my app and stuck with button colors. I'm using Button (Filled) and after switch to M3 it's background become transparent. And there is no difference between primary and secondary colors. Do I need to make additional configurations for MaterialTheme (3) to get colored button background like it was in M2?
y
What do you mean that is transparent. If you have a right setup M3 Theme than is button filled with primary color
Copy code
Button(onClick = { /*TODO*/ }) {
            Text(text = "Favorite button")
        }
p
Hello, @yogaboy! Could you share your M3 Theme setup?
y
I have only default from Android Studio. If you start new M3 project setup
Show me yours and maybe I discover what have you wrong
p
Thanks for trying to help me! I found out the reason. I was not using right element.