diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-12-25 18:57:30 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-12-25 18:57:30 +0100 |
commit | 82c2e89d2190d9efabfdee969d77947f41c1f419 (patch) | |
tree | 238e816e25fe9f1ceadd771fd470d28bf677fdc0 | |
parent | 593dd259a9c178501d00ab1951ee3cf5d5deab02 (diff) |
stop using broken parallax distance in sliding pane layout
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/ConversationActivity.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java index d298aa28..8056139d 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java @@ -296,9 +296,7 @@ public class ConversationActivity extends XmppActivity } if (mContentView instanceof SlidingPaneLayout) { SlidingPaneLayout mSlidingPaneLayout = (SlidingPaneLayout) mContentView; - mSlidingPaneLayout.setParallaxDistance(150); - mSlidingPaneLayout - .setShadowResource(R.drawable.es_slidingpane_shadow); + mSlidingPaneLayout.setShadowResource(R.drawable.es_slidingpane_shadow); mSlidingPaneLayout.setSliderFadeColor(0); mSlidingPaneLayout.setPanelSlideListener(new PanelSlideListener() { |