Commit Graph

36 Commits

Author SHA1 Message Date
daimajia 1ed01986ed #10 2014-08-30 12:11:54 +08:00
daimajia c0d5737356 #9 2014-08-30 11:21:56 +08:00
daimajia 5a21533745 v1.0.4 2014-08-30 09:58:01 +08:00
代码家 d1df4527ae Merge pull request #8 from StephaneBg/master
Add SimpleSwipeListener
2014-08-29 20:05:24 +08:00
StephaneBg 4078489f6e Add SimpleSwipeListener
Add class that implements funtions of interface SwipeListener not to
have to declare all if only some of them are used
2014-08-29 13:49:39 +02:00
代码家 b8457a51d5 Merge pull request #7 from PeterCxy/patch-2
SwipeLayout: Allow childs to deny swipe gesture
2014-08-29 17:20:12 +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 7d7752b39f Merge branch 'master' of github.com:daimajia/AndroidSwipeLayout 2014-08-28 09:02:04 +08:00
daimajia 3baaa91a5e Merge branch 'StephaneBg-master' 2014-08-28 09:01:43 +08:00
daimajia 92ac1f371e add styleable ability 2014-08-28 09:01:19 +08:00
StephaneBg e9377a4d8b Fix gradle files 2014-08-27 14:10:22 +02: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
代码家 45755a29e7 v1.0.3 2014-08-26 21:51:59 +08:00
daimajia fd66ce4d15 remove useless 2014-08-26 21:44:57 +08:00
daimajia 5ae39672cf v1.0.3 2014-08-26 21:39:56 +08:00
daimajia c9588c0ae7 fix #3 2014-08-26 21:39:05 +08:00
daimajia 3ac67e06c7 v1.0.2 2014-08-26 15:03:30 +08:00
daimajia b73ea772bc v1.0.2 2014-08-26 15:01:15 +08:00
daimajia 0ec9c71b1c Merge branch 'master' of github.com:daimajia/AndroidSwipeLayout 2014-08-26 14:27:39 +08:00
代码家 ae54ad30d2 Merge pull request #4 from PeterCxy/patch-1
SwipeLayout: Allow match_parent and wrap_content
2014-08-26 14:13:53 +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
代码家 ccb48c6752 Update demo apk. 2014-08-26 11:22:33 +08:00
daimajia 6472d7556f Merge branch 'master' of github.com:daimajia/AndroidSwipeLayout 2014-08-26 08:46:54 +08:00
代码家 14762b7aeb v1.0.1 2014-08-26 08:45:28 +08:00
daimajia d855375a01 v1.0.1 2014-08-26 08:29:33 +08:00
daimajia e4dd40f00d merge update 2014-08-26 07:43:22 +08:00
daimajia 5106665d73 fix error status in GridView 2014-08-26 07:42:47 +08:00
代码家 b5b8d8d4fe Update README.md 2014-08-25 19:52:38 +08:00
daimajia 5686835354 Update Readme
Merge branch 'master' of github.com:daimajia/AndroidSwipeLayout
2014-08-25 17:30:11 +08:00
daimajia f1f11d99d8 fix #1 2014-08-25 17:29:40 +08:00
代码家 dd867bf84e fix typo 2014-08-25 12:26:06 +08:00
代码家 d6db785111 Update README.md 2014-08-25 12:23:08 +08:00
daimajia 29cf7d21ff remove useless 2014-08-25 12:15:19 +08:00
daimajia c229e9d499 MIT 2014-08-25 12:10:36 +08:00
代码家 01dc82a36f Initial commit 2014-08-25 12:09:33 +08:00
daimajia 9a9ade7eeb Android Swipe Layout born 2014-08-25 12:08:30 +08:00