diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-12-25 21:11:48 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-12-25 21:11:48 +0100 |
commit | 576de71293cec508c81414ddb82ca52e3f7f4dbc (patch) | |
tree | 175529cd0e95e203a7462f0fd100e8a4897a489e | |
parent | 1924cfbd53b371c6c0e5f7b5fa719ec62ed9aac6 (diff) |
stop using broken parallax distance in sliding pane layout
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ConversationActivity.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationActivity.java b/src/main/java/de/pixart/messenger/ui/ConversationActivity.java index 47992b221..3fa34d6a4 100644 --- a/src/main/java/de/pixart/messenger/ui/ConversationActivity.java +++ b/src/main/java/de/pixart/messenger/ui/ConversationActivity.java @@ -328,9 +328,7 @@ public class ConversationActivity extends XmppActivity } if (mContentView instanceof SlidingPaneLayout) { SlidingPaneLayout mSlidingPaneLayout = (SlidingPaneLayout) mContentView; - mSlidingPaneLayout.setParallaxDistance(150); - mSlidingPaneLayout - .setShadowResourceLeft(R.drawable.es_slidingpane_shadow); + mSlidingPaneLayout.setShadowResourceLeft(R.drawable.es_slidingpane_shadow); mSlidingPaneLayout.setSliderFadeColor(0); mSlidingPaneLayout.setPanelSlideListener(new PanelSlideListener() { |