Fix scrolling and pressing

This commit is contained in:
Przemek Grondek 2014-08-13 01:34:06 +02:00
parent 7f08209668
commit da9a01ce24

View file

@ -108,8 +108,8 @@ public class EntriesFragment extends Fragment implements AsyncDatabaseConnector.
fakeScrollView.setOnTouchEventListener(new CustomScrollView.OnTouchEventListener() {
@Override
public boolean onTouchEvent(MotionEvent ev) {
entriesScrollView.dispatchTouchEvent(ev);
horizontalScrollView.onTouchEvent(ev);
ev.offsetLocation(0, headerFrame.getHeight());
horizontalScrollView.dispatchTouchEvent(ev);
return true;
}
});