Marcin Wisniowski02/08/2022, 1:03 PM
? They seem to affect each other, but I am not sure how exactly.
Filip Wiesner02/08/2022, 1:06 PM
in the material design refers to the theoretical elevation of the element and the resulting shadow. The
should be purely the draw order in a scope.
Note that elevation is only affecting the shadow size and doesn't change the drawing order. Use a androidx.compose.ui.zIndex modifier if you want to draw the elements with larger elevation after all the elements with a smaller one.