Fixed SMS behaviour.

Fixed reset button not updating status.
This commit is contained in:
Ziver Koc 2014-08-06 17:41:28 +02:00
parent 331b244a0e
commit 2efed01291
5 changed files with 22 additions and 15 deletions

View file

@ -267,7 +267,7 @@ public class DynamicListView extends ListView {
int deltaY = mLastEventY - mDownY;
if (mMode == TouchMode.UNKNOWN) {
if (Math.abs(deltaX) > 50 || Math.abs(deltaY) > 50) {
if (Math.abs(deltaX) > 70 || Math.abs(deltaY) > 50) {
if (Math.abs(deltaX) >= Math.abs(deltaY))
mMode = TouchMode.REMOVE;
if (Math.abs(deltaX) < Math.abs(deltaY) && mDownX < SWAP_OFFSET)