Skip to main content
Give us your valuable feedback

It will help us understand how we can serve you better

Give feedback

Foundation

Elevation

Indicate hierarchy and create focus through the use of depth

banner-Elevation

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

ShapeToken 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";