diff --git a/src/com/owncloud/android/ui/activity/FileActivity.java b/src/com/owncloud/android/ui/activity/FileActivity.java index 09fc255a46..4d55e6bb3d 100644 --- a/src/com/owncloud/android/ui/activity/FileActivity.java +++ b/src/com/owncloud/android/ui/activity/FileActivity.java @@ -43,6 +43,7 @@ import android.support.v4.widget.DrawerLayout; import android.support.v7.app.ActionBar; import android.support.v7.app.ActionBarDrawerToggle; import android.support.v7.app.AppCompatActivity; +import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.ListView; @@ -410,13 +411,20 @@ public class FileActivity extends AppCompatActivity invalidateOptionsMenu(); } }; + + mDrawerToggle.setToolbarNavigationClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + Log.i("IT WORKS :)",""); + } + }); // Set the list's click listener mDrawerList.setOnItemClickListener(new DrawerItemClickListener()); // Set the drawer toggle as the DrawerListener mDrawerLayout.setDrawerListener(mDrawerToggle); - + mDrawerToggle.setDrawerIndicatorEnabled(false); } /**