Gesty nie działają podczas korzystania z DrawerLayout w aplikacji na Androida

Mam aplikację na Androida z jednym działaniem. To działanie wykorzystuje ten układ:

<android.support.v4.widget.DrawerLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/drawer_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <!-- The main content view -->
    <FrameLayout
        android:id="@+id/content_frame"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

    <!-- The navigation drawer -->
    <ListView android:id="@+id/left_drawer"
        android:layout_width="240dp"
        android:layout_height="match_parent"
        android:layout_gravity="start"
        android:choiceMode="singleChoice"
        android:divider="@android:color/transparent"
        android:dividerHeight="0dp"
        android:background="#111"/>
</android.support.v4.widget.DrawerLayout>

Następnie w moim źródle mam dwa detektory gestów zdefiniowane w konstruktorze:

mDetector = new GestureDetectorCompat(this, new CustomGestureListener());
mScaleDetector = new ScaleGestureDetector(this, new CustomScaleGestureListener());

I nadpisuję w ten sposób onTouchEvent:

@Override
public boolean onTouchEvent(MotionEvent event) {
    if (event.getPointerCount() > 1) {
        this.mScaleDetector.onTouchEvent(event);
    } else {
        this.mDetector.onTouchEvent(event);
    }
    return super.onTouchEvent(event);
}

Mój problem polega na tym, że gesty nie są wykrywane (chociaż mogę otworzyć szufladę gestem machnięcia). Ten problem nie występuje, jeśli zastąpię drawerlayout na przykład układem liniowym, więc przyczyną jest szuflada nawigacji. Co ja robię źle?

questionAnswers(1)

yourAnswerToTheQuestion