How to close drawer menu when click on item menu?
<p><a href="https://i.stack.imgur.com/qrzVI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qrzVI.png" alt="ScreenShot"></a></p>

<p>This is click event.</p>

<pre><code>view.setOnTouchListener(new View.OnTouchListener() {
    @Override
    public boolean onTouch(View v, MotionEvent event) {


        v.setBackgroundResource(R.color.colorTim);

        FragmentManager fragmentManager = ((AppCompatActivity)context).getSupportFragmentManager();
        FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();

        HienThiSanPhamTheoDanhMucActivity hienThiSanPhamTheoDanhMucActivity = new HienThiSanPhamTheoDanhMucActivity();

        Bundle bundle = new Bundle();

        bundle.putInt("MALOAI",loaiSanPhams.get(groupPosition).getMALOAISP());
        bundle.putBoolean("KIEMTRA",false);
        bundle.putString("TENLOAI",loaiSanPhams.get(groupPosition).getTENLOAISP());

        hienThiSanPhamTheoDanhMucActivity.setArguments(bundle);
        fragmentTransaction.addToBackStack("TrangChuActivity");
        fragmentTransaction.replace(R.id.themFragment,hienThiSanPhamTheoDanhMucActivity);
        fragmentTransaction.commit();
        return false;
    }
});
</code></pre>

<p>This is xml</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;

&lt;android.support.v4.widget.DrawerLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:id="@+id/drawerLayout"&gt;

    &lt;FrameLayout
        android:id="@+id/themFragment"
        android:layout_width="match_parent"
        android:layout_height="match_parent"&gt;

        &lt;android.support.design.widget.CoordinatorLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:fitsSystemWindows="true"
            &gt;


            &lt;android.support.design.widget.AppBarLayout
                android:layout_height="wrap_content"
                android:id="@+id/appbar"
                android:layout_width="match_parent"
                android:background="@color/bgToolbar"
                android:fitsSystemWindows="true"&gt;

                &lt;android.support.design.widget.CollapsingToolbarLayout
                    android:id="@+id/collapsing_toolbar"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    app:layout_scrollFlags="scroll|exitUntilCollapsed|snap"
                    &gt;
                    &lt;android.support.v7.widget.Toolbar
                        android:id="@+id/toolbar"
                        android:layout_width="match_parent"
                        android:layout_height="?attr/actionBarSize"
                        app:theme="@style/chumenu"
                        app:logo="@mipmap/logo"
                        app:layout_scrollFlags="scroll|enterAlways"
                        app:layout_collapseMode="pin"/&gt;

                    &lt;LinearLayout
                        android:id="@+id/lnSearch"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:orientation="horizontal"
                        android:background="@drawable/bgsearch"
                        android:layout_marginTop="55dp"
                        android:layout_marginLeft="10dp"
                        android:layout_marginRight="10dp"
                        app:layout_scrollFlags="scroll|enterAlways|enterAlwaysCollapsed|snap"
                        app:layout_collapseMode="parallax"&gt;

                        &lt;Button
                            android:layout_width="0dp"
                            android:layout_height="wrap_content"
                            android:id="@+id/timkiem"
                            android:text="@string/timkiem"
                            android:layout_weight="1"
                            android:textAllCaps="false"
                            android:background="@drawable/bgsearchselected"
                            android:textColor="@color/colorTim"
                            android:gravity="center_vertical"
                            android:paddingLeft="20dp"/&gt;
                        &lt;View
                            android:layout_width="1dp"
                            android:layout_marginTop="10dp"
                            android:layout_marginBottom="10dp"
                            android:layout_height="match_parent"
                            android:background="@color/bgToolbar"/&gt;
                        &lt;ImageButton
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_gravity="center"
                            android:id="@+id/searchicon"
                            android:padding="10dp"
                            android:background="@drawable/bgimagesearch"
                            android:src="@drawable/ic_search_black_24dp"/&gt;

                    &lt;/LinearLayout&gt;
                &lt;/android.support.design.widget.CollapsingToolbarLayout&gt;

                &lt;android.support.design.widget.TabLayout
                    android:id="@+id/tab"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    app:tabTextColor="@color/colorGray"
                    app:tabTextAppearance="@style/chuthuong"
                    app:tabMode="scrollable"&gt;

                &lt;/android.support.design.widget.TabLayout&gt;

            &lt;/android.support.design.widget.AppBarLayout&gt;
            &lt;FrameLayout
                android:id="@+id/content"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                app:layout_behavior="@string/appbar_scrolling_view_behavior"
                &gt;
                &lt;android.support.v4.view.ViewPager
                    android:id="@+id/viewpager"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"&gt;

                &lt;/android.support.v4.view.ViewPager&gt;

            &lt;/FrameLayout&gt;
        &lt;/android.support.design.widget.CoordinatorLayout&gt;
    &lt;/FrameLayout&gt;

    &lt;ExpandableListView
        android:id="@+id/epMenu"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_gravity="start"
        android:background="@color/colorWhite"
        android:choiceMode="singleChoice"
        android:groupIndicator="@null"&gt;

    &lt;/ExpandableListView&gt;

&lt;/android.support.v4.widget.DrawerLayout&gt;
</code></pre>

<p>Results will be displayed in a Fragment but drawer menu still display. What might I do to close It? any one gives me suggestions that how to solve this, Any help much appreciated. Thank you.</p>