Skip to content

Instantly share code, notes, and snippets.

@polok

polok/shadow.xml

Last active Nov 15, 2016
Embed
What would you like to do?
[Android] Elevation on Pre-lollipop Devices
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:startColor="@android:color/transparent"
android:endColor="#44000000"
android:angle="90"/>
</shape>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment