aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/github/daneren2005/dsub/view/CardView.java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/github/daneren2005/dsub/view/CardView.java')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/view/CardView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/view/CardView.java b/app/src/main/java/github/daneren2005/dsub/view/CardView.java
index 973e63fa..7a38b13b 100644
--- a/app/src/main/java/github/daneren2005/dsub/view/CardView.java
+++ b/app/src/main/java/github/daneren2005/dsub/view/CardView.java
@@ -48,7 +48,7 @@ public class CardView extends FrameLayout{
setClipChildren(true);
setBackgroundResource(R.drawable.card_rounded_corners);
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
- setElevation(10.0f);
+ setElevation(getResources().getInteger(R.integer.Card_Elevation));
}
}
}