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

Vivek Modi

07/17/2022, 10:11 AM
Hey guys, Can someone help me on Material 3. I found this two method
darkColorScheme
and
lightColorScheme
. When I checked the definition of this function I found so many colors used in the function. I am confused which one using where so, Is there any documentation or blog where this type of attribute is using i.e. secondaryContainer, tertiary etc. this is few example I want to learn each attritube where this is using according to their name. I am new in material design with jetpack compose.
j

Jessica Ernst

07/17/2022, 10:43 AM
there is no difference for Material Design between compose and xml view. Just look at the design Guidlines : https://m3.material.io every component has specs and there is explained which param is used for what. What you are looking for ist just a Design Guidlines topic
v

Vivek Modi

07/17/2022, 10:45 AM
Thanks for reply.
I am asking how to read all colors attribute details from specific link?
j

Jessica Ernst

07/17/2022, 10:49 AM
the only difference is in compose the theme are in kt files and in xml view it is xml.
there is no overview it’s specific for the components which attribute is used for what
👍 1
v

Vivek Modi

07/17/2022, 10:50 AM
okkk that's great
I got my answer.
j

Jessica Ernst

07/17/2022, 10:50 AM
and everything else is, go through the design guidlines and read them
v

Vivek Modi

07/17/2022, 11:36 AM
okk sure thanks
3 Views