I\'m trying to use \"android: elevation =\"
in my application but once I run it does not appear in the device with android 4.1.2
gradle
UPDATED ::
Best Practice to do that is
and add library for cardview
dependencies {
...
compile 'com.android.support:cardview-v7:21.0.+'
}
On Pre-Lollipop you can use this drawable
android:background="@android:drawable/dialog_holo_light_frame"
it will give you the look of elevation
you can create your own like this
-
-
reference