Retrofitting drop shadows into existing Android layouts
I had some UI elements in an Android application I’m working on that felt as if they should be above (pushing out of the screen, rather than to the top of it) the elements that followed them in the UI. A good way to indicate this is with a drop shadow, similar to those on Android title bars or Action Bars. An existing method didn’t work for me, as my UI is relying heavily on weights to keep proper size ratios between the elements I wanted to add a drop shadow to, and the element they would be casting a shadow on. »