{"action":"closed","issue":{"url":"https://api.github.com/repos/daimajia/AndroidSwipeLayout/issues/133","labels_url":"https://api.github.com/repos/daimajia/AndroidSwipeLayout/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/daimajia/AndroidSwipeLayout/issues/133/comments","events_url":"https://api.github.com/repos/daimajia/AndroidSwipeLayout/issues/133/events","html_url":"https://github.com/daimajia/AndroidSwipeLayout/issues/133","id":69669909,"number":133,"title":"drag not working properly on 1.2.0","user":{"login":"eloudsa","id":300818,"avatar_url":"https://avatars.githubusercontent.com/u/300818?v=3","gravatar_id":"","url":"https://api.github.com/users/eloudsa","html_url":"https://github.com/eloudsa","followers_url":"https://api.github.com/users/eloudsa/followers","following_url":"https://api.github.com/users/eloudsa/following{/other_user}","gists_url":"https://api.github.com/users/eloudsa/gists{/gist_id}","starred_url":"https://api.github.com/users/eloudsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eloudsa/subscriptions","organizations_url":"https://api.github.com/users/eloudsa/orgs","repos_url":"https://api.github.com/users/eloudsa/repos","events_url":"https://api.github.com/users/eloudsa/events{/privacy}","received_events_url":"https://api.github.com/users/eloudsa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-04-20T20:13:00Z","updated_at":"2015-04-26T22:18:07Z","closed_at":"2015-04-26T22:18:07Z","body":"Hi\r\n\r\nI have just updated the library to the version 1.2.0\r\n\r\nI noticed that the drag is set to left **AND right** even if I have only add the left one:\r\n\r\n```\r\nSwipeLayout swipeLayout = (SwipeLayout) v.findViewById(R.id.swipeLayout);\r\nswipeLayout.setShowMode(SwipeLayout.ShowMode.PullOut);\r\nswipeLayout.addDrag(SwipeLayout.DragEdge.Left, v.findViewById(R.id.bottomView));\r\n```\r\n\r\nDid I missed something?\r\n\r\nS.\r\n"}}