summaryrefslogtreecommitdiffstats
path: root/src/android/support
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/support')
-rw-r--r--src/android/support/v4/view/ThemeViewPager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/android/support/v4/view/ThemeViewPager.java b/src/android/support/v4/view/ThemeViewPager.java
index 3fb1d61..e1513e1 100644
--- a/src/android/support/v4/view/ThemeViewPager.java
+++ b/src/android/support/v4/view/ThemeViewPager.java
@@ -48,7 +48,7 @@ public class ThemeViewPager extends ViewPager {
@Override
public boolean onInterceptTouchEvent(MotionEvent ev) {
- return true;
+ return !mExpanded;
}
@Override
@@ -77,7 +77,7 @@ public class ThemeViewPager extends ViewPager {
}
if (mExpanded) {
- return true;
+ return false;
}
return super.onTouchEvent(ev);