Skip to content

Commit 6720a87

Browse files
committed
Raise touch slop value from previous experiment
Change-Id: I7681c401803643f309fd988824602169a830de29
1 parent dc8cb9a commit 6720a87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/java/android/view/ViewConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public class ViewConfiguration {
149149
* It may be appropriate to tweak this on a device-specific basis in an overlay based on
150150
* the characteristics of the touch panel and firmware.
151151
*/
152-
private static final int TOUCH_SLOP = 4;
152+
private static final int TOUCH_SLOP = 8;
153153

154154
/**
155155
* Distance a touch can wander before we think the user is attempting a paged scroll

core/res/res/values/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,5 +744,5 @@
744744

745745
<!-- Base "touch slop" value used by ViewConfiguration as a
746746
movement threshold where scrolling should begin. -->
747-
<dimen name="config_viewConfigurationTouchSlop">4dp</dimen>
747+
<dimen name="config_viewConfigurationTouchSlop">8dp</dimen>
748748
</resources>

0 commit comments

Comments
 (0)