setting sample1 to laydown mode
This commit is contained in:
parent
c5d3e6743e
commit
14c3135029
|
|
@ -27,7 +27,7 @@ public class MyActivity extends Activity {
|
|||
//sample1
|
||||
|
||||
sample1 = (SwipeLayout) findViewById(R.id.sample1);
|
||||
sample1.setShowMode(SwipeLayout.ShowMode.PullOut);
|
||||
sample1.setShowMode(SwipeLayout.ShowMode.LayDown);
|
||||
sample1.setDragEdges(SwipeLayout.DragEdge.Left, SwipeLayout.DragEdge.Right);
|
||||
Toast.makeText(this, sample1.getDragEdge() + " is the drag edge", Toast.LENGTH_LONG).show();
|
||||
sample1.addRevealListener(R.id.delete, new SwipeLayout.OnRevealListener() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue