Commit Graph

37 Commits

Author SHA1 Message Date
HarshEvilGeek 93c06bfa01 demo to show that three edge swipe works 2015-02-12 16:02:19 +05:30
HarshEvilGeek 1fd2ec7d2f Recylcing typed array and adding support for opening specific drag edge 2015-02-12 11:41:08 +05:30
HarshEvilGeek c841ba57e4 Adding support for enabling and disabling particular swipe edges. One bug fix from merge 2015-02-11 18:25:31 +05:30
HarshEvilGeek ea5a0156dc fixing bug from horizontal swipe offset and adding preliminary code to restrict particular drag edges 2015-02-11 17:53:10 +05:30
HarshEvilGeek ee02941dd8 merging 2015-02-11 15:07:33 +05:30
HarshEvilGeek f8350fce20 adding support for the user to pass the ids of bottom views 2015-02-11 14:51:05 +05:30
HarshEvilGeek 6fcf27d4ce fixing touchslop changes 2015-02-11 13:53:56 +05:30
daimajia a92a2cdae7 try to fix #74 2015-01-24 10:22:39 +08:00
noinnion df48a3c387 add touchSlop for swiping 2014-12-26 10:16:07 +01:00
HarshEvilGeek 7da3056130 Formatting 2014-12-24 12:36:07 +05:30
HarshEvilGeek 046caa4a10 Fixing default direction 2014-12-23 14:53:44 +05:30
unknown c5d3e6743e fixed bug with layout not moving on swipe 2014-12-23 10:19:01 +05:30
unknown 71ef2ad7e8 Enabling both side swipe 2014-12-22 17:48:51 +05:30
Rahul Raja 5ec9935ca2 Merge branch 'master' of https://github.com/rahulrj/AndroidSwipeLayout 2014-12-16 17:57:31 +05:30
Rahul Raja f957a49cd2 Solved one NullPointerException 2014-12-16 17:56:54 +05:30
RAHUL RAJA ce1eb70c86 Update SwipeLayout.java
Changed Variable names
2014-12-12 23:04:15 +05:30
Rahul Raja dee951d85d Added horizontal and vertical offset for swiping 2014-12-12 16:44:48 +05:30
daimajia e0b54dede3 support double click 2014-09-22 10:51:33 +08:00
daimajia 7db7da3f58 a better auto-close SwipeAdapter(sigle item mode) 2014-09-17 12:10:31 +08:00
daimajia 7ba5e8b350 better selector effect 2014-09-16 09:44:30 +08:00
daimajia 6c3db3425c fix #24, support disable swipe gesture and fix setEnabled(boolean) not works issue 2014-09-12 10:00:00 +08:00
daimajia 34e2389773 fix #19 2014-09-11 19:36:15 +08:00
daimajia f6cd43ed82 fix no response bug 2014-09-11 17:22:46 +08:00
daimajia 0d3dc52c90 #23 support selector 2014-09-11 16:44:29 +08:00
daimajia 171898e2e3 remove method 2014-09-02 20:16:09 +08:00
daimajia 4dfe98e207 small fix 2014-09-02 09:01:05 +08:00
daimajia 93793031ce fix #9, change to screen coordinates 2014-09-02 08:14:34 +08:00
Arvind Menon 9bd67cead6 Fixing accidental open when in a scroll view 2014-09-01 15:48:15 -04:00
daimajia ae890a8c9a complicated nested support, listview, gridview open item close item support 2014-08-31 09:26:04 +08:00
daimajia 1ed01986ed #10 2014-08-30 12:11:54 +08:00
daimajia c0d5737356 #9 2014-08-30 11:21:56 +08:00
Peter Cai 7425e3c68c SwipeLayout: Allow childs to deny swipe gesture
When used with ScorllView(or horizontal) inside SwipeLayout, the swipe
gesture may conflict with the scroll action. If use requestDisallowInterceptTouchEvent, the scroll action will be back but the parent ListView's scroll action may be disallowed too.

This patch solved this problem by introducing a "SwipeDenier"
interface whose implementation should return if this swipe event should
be denied. When onInterceptTouchEvent is called, SwipeLayout will call
all SwipeDenier and if one of them returns true, the event will not be
intercepted and passed to child views.

Tested in app: https://github.com/PaperAirplane-Dev-Team/BlackLight
which requires HorizontalScrollView inside SwipeLayout

Signed-off-by: Peter Cai <xqsx43cxy@126.com>
2014-08-29 17:16:53 +08:00
daimajia 92ac1f371e add styleable ability 2014-08-28 09:01:19 +08:00
StephaneBg f1a4188d89 Add styleable ability
Fix mismatch of application package between gradle and manifest.
Remove unused resources.
Update demo with new ability.
2014-08-27 12:52:46 +02:00
daimajia c9588c0ae7 fix #3 2014-08-26 21:39:05 +08:00
Peter Cai c7c8bac09a SwipeLayout: Allow match_parent and wrap_content
This patch makes SwipeLayout extend FrameLayout, which has a complete
measuring function and allows useage of match_parent and wrap_content.

Tested in app: https://github.com/PaperAirplane-Dev-Team/BlackLight
Works just all right.

Signed-off-by: Peter Cai <xqsx43cxy@126.com>
2014-08-26 13:28:55 +08:00
daimajia 9a9ade7eeb Android Swipe Layout born 2014-08-25 12:08:30 +08:00