aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlookshe <github@lookshe.org>2016-03-07 13:34:23 +0100
committerlookshe <github@lookshe.org>2016-03-07 13:34:23 +0100
commitabed1e64a193356640015a7f75bab14d95e16a4a (patch)
treec4a9bee940b5edec4901b1bf9fb421141f4608d6
parentf28d77dc42f6bac5a026e0b1c78562dee8de45ac (diff)
test for swipe out bug FS#150
-rw-r--r--src/main/java/eu/siacs/conversations/ui/ConversationActivity.java5
1 files changed, 3 insertions, 2 deletions
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() {