Foundation
Elevation
Indicate hierarchy and create focus through the use of depth
Elevation is used to indicate hierarchy and create focus through the use of depth. Components with the same elevations create an effect of grouping and similarity between content while components on different elevations reflect spatial relationships. Elevation is depicted through shadows to create an effect of depth. Components closer to the base layer have sharper shadows, while components that are elevated have softer shadows. You can chek out the guideline for more detail description.
Preview
Shape | Token Name |
---|---|
?attr/elevation0 | |
?attr/elevation1 | |
?attr/elevation2 | |
?attr/elevation3 | |
?attr/elevation4 | |
?attr/elevation5 |
android: elevation = '?attr/elevation0';android: elevation = '?attr/elevation1';android: elevation = '?attr/elevation2';android: elevation = '?attr/elevation3';android: elevation = '?attr/elevation4';android: elevation = '?attr/elevation5';
Do you have feedback?
Please let us know to make it better