give shadow to linearlayout android code example Example: add shadow to background android app:cardElevation="4dp"