In Lollipop
we set a view
's Shadow
by setElevation()
method.
But in pre-Lollipop
, it doesn't work.
What is the best approach so that the View
will have identical look when displayed on pre-lollipop
devices and lollipop
devices?
There's a bunch of approaches and each of them has its pros and cons: