Skip to content

Commit 14c3135

Browse files
committed
setting sample1 to laydown mode
1 parent c5d3e67 commit 14c3135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/src/main/java/com/daimajia/swipedemo/MyActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ protected void onCreate(Bundle savedInstanceState) {
2727
//sample1
2828

2929
sample1 = (SwipeLayout) findViewById(R.id.sample1);
30-
sample1.setShowMode(SwipeLayout.ShowMode.PullOut);
30+
sample1.setShowMode(SwipeLayout.ShowMode.LayDown);
3131
sample1.setDragEdges(SwipeLayout.DragEdge.Left, SwipeLayout.DragEdge.Right);
3232
Toast.makeText(this, sample1.getDragEdge() + " is the drag edge", Toast.LENGTH_LONG).show();
3333
sample1.addRevealListener(R.id.delete, new SwipeLayout.OnRevealListener() {

0 commit comments

Comments
 (0)