[TIMOB-25480] Android: elevation property should accept dp units
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | material-design, property |
Reporter | Guillermo Figueras |
Assignee | Unknown |
Created | 2017-09-22T08:13:39.000+0000 |
Updated | 2018-02-28T19:55:31.000+0000 |
Description
Right now we can only use pixels when setting the elevation property on components like views or buttons.
When consulting Material Design guidelines, you find that elevation is always specified in dp units:
[Material Design– Elevation & shadows](https://material.io/guidelines/material-design/elevation-shadows.html)
Hello, thanks for the ticket. Please share some native docs on this. Our engineers will consider it. They will let you know if and when they will work on this for future version release.
https://material.io/guidelines/material-design/elevation-shadows.html https://developer.android.com/training/material/shadows-clipping.html