Re-enable drawer toggle (accidentally removed during Toolbar migration)

This commit is contained in:
str4d
2015-05-28 01:53:22 +00:00
parent 4a95afc91f
commit 1e090a3969

View File

@@ -123,6 +123,9 @@ public class EmailListActivity extends ActionBarActivity implements
// Set the adapter for the list view
mFolderList.setAdapter(mFolderAdapter);
// Enable ActionBar app icon to behave as action to toggle nav drawer
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
// Set up drawer toggle
mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout,
R.string.drawer_open, R.string.drawer_close) {