Fixed swipe being too sensitive

pull/14/head
Tim Su 17 years ago
parent 41435827e7
commit 2dafd2918d

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.timsu.astrid" package="com.timsu.astrid"
android:versionCode="91" android:versionCode="92"
android:versionName="2.4.6"> android:versionName="2.4.7">
<meta-data android:name="com.a0soft.gphone.aTrackDog.webURL" <meta-data android:name="com.a0soft.gphone.aTrackDog.webURL"
android:value="http://www.weloveastrid.com" /> android:value="http://www.weloveastrid.com" />

@ -68,10 +68,10 @@ public class TaskList extends Activity {
public static final String VARIABLES_TAG = "v"; public static final String VARIABLES_TAG = "v";
/** Minimum distance a fling must cover to trigger motion */ /** Minimum distance a fling must cover to trigger motion */
private static final int FLING_DIST_THRESHOLD = 70; private static final int FLING_DIST_THRESHOLD = 120;
/** Minimum velocity a fling must have to trigger motion */ /** Minimum velocity a fling must have to trigger motion */
private static final int FLING_VEL_THRESHOLD = 250; private static final int FLING_VEL_THRESHOLD = 300;
// view components // view components
private ViewFlipper viewFlipper; private ViewFlipper viewFlipper;

Loading…
Cancel
Save