3 ms·
Not sure how iOS does it either, since shadows are not the best in dark mode, Android has opted to use lighter shades for the upper layers when in this mode. B
by on_and_off 7y ago
Not sure how iOS does it either, since shadows are not the best in dark mode, Android has opted to use lighter shades for the upper layers when in this mode.
Basically if you use pure black for the background, it will be #000000 if elevation = 0 and get slowly lighter from there for each dp of elevation.