From abed1e64a193356640015a7f75bab14d95e16a4a Mon Sep 17 00:00:00 2001 From: lookshe Date: Mon, 7 Mar 2016 13:34:23 +0100 Subject: test for swipe out bug FS#150 --- src/main/java/eu/siacs/conversations/ui/ConversationActivity.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/main') diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java index e11dafd3..c9ef4650 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java @@ -278,7 +278,7 @@ public class ConversationActivity extends XmppActivity } }); listView.enableSwipeToDismiss(); - listView.setSwipeDirection(EnhancedListView.SwipeDirection.START); + //listView.setSwipeDirection(EnhancedListView.SwipeDirection.START); listView.setSwipingLayout(R.id.swipeable_item); listView.setUndoStyle(EnhancedListView.UndoStyle.SINGLE_POPUP); listView.setUndoHideDelay(5000); @@ -293,7 +293,8 @@ public class ConversationActivity extends XmppActivity // Move the conversation list when sliding the selected conversation mSlidingPaneLayout.setParallaxDistance(150); // The shadow between conversation list and selected conversation - mSlidingPaneLayout.setShadowResourceLeft(R.drawable.es_slidingpane_shadow); + //mSlidingPaneLayout.setShadowResourceLeft(R.drawable.es_slidingpane_shadow); + mSlidingPaneLayout.setShadowResource(R.drawable.es_slidingpane_shadow); mSlidingPaneLayout.setSliderFadeColor(0); mSlidingPaneLayout.setPanelSlideListener(new PanelSlideListener() { -- cgit v1.2.3