Search This Blog

16 February 2015

Drop shadows in Android pre Lollipop

Android Lollipop arrived and with it so did "Material" design. One of the new things is that views can cast shadows according to their elevation property. We wanted to simulate this in previous Android OS versions and we went ahead and made a Shadow View Decorator. It draws shadows and glow around views. It also has a compatibility methods which will use the elevation property if the application is running on Android 5+.

Take a look on github:

https://github.com/ektodorov/ShadowViewDecorator

No comments:

Post a Comment