how to give 3d effect to relativelayout in android code example Example: add shadow to background android app:cardElevation="4dp"