diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-12-26 14:36:56 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-12-26 14:36:56 -0800 |
commit | 020cb0854cb1325fc6b2ec72ed0cbd4bdaac01d4 (patch) | |
tree | 3ff9fb016569e6ba9fcc934cb9b309fe3e36a99f /app/src/main/java | |
parent | b2b5439d1faa8ed5f095404df003f0d70ddf3236 (diff) | |
download | dsub-020cb0854cb1325fc6b2ec72ed0cbd4bdaac01d4.tar.gz dsub-020cb0854cb1325fc6b2ec72ed0cbd4bdaac01d4.tar.bz2 dsub-020cb0854cb1325fc6b2ec72ed0cbd4bdaac01d4.zip |
Lower shadow on tablets since it is no longer rounded
Diffstat (limited to 'app/src/main/java')
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/view/CardView.java | 2 |
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)); } } } |