Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25480] Android: elevation property should accept dp units

GitHub Issuen/a
TypeImprovement
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsmaterial-design, property
ReporterGuillermo Figueras
AssigneeUnknown
Created2017-09-22T08:13:39.000+0000
Updated2018-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)

Comments

  1. Sharif AbuDarda 2017-10-15

    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.
  2. Guillermo Figueras 2017-10-16

    https://material.io/guidelines/material-design/elevation-shadows.html https://developer.android.com/training/material/shadows-clipping.html

JSON Source