stop using broken parallax distance in sliding pane layout

This commit is contained in:
Daniel Gultsch 2016-12-25 18:57:30 +01:00
parent 593dd259a9
commit 82c2e89d21

View File

@ -296,9 +296,7 @@ public class ConversationActivity extends XmppActivity
} }
if (mContentView instanceof SlidingPaneLayout) { if (mContentView instanceof SlidingPaneLayout) {
SlidingPaneLayout mSlidingPaneLayout = (SlidingPaneLayout) mContentView; 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.setSliderFadeColor(0);
mSlidingPaneLayout.setPanelSlideListener(new PanelSlideListener() { mSlidingPaneLayout.setPanelSlideListener(new PanelSlideListener() {