Close navigation drawer on click
This commit is contained in:
parent
30dbbb12a8
commit
531a926d00
|
@ -209,6 +209,7 @@ public class MainActivity extends AppCompatActivity {
|
||||||
Intent intent = new Intent(this, SingleFragmentActivity.class);
|
Intent intent = new Intent(this, SingleFragmentActivity.class);
|
||||||
intent.putExtra("plugin", MainApp.getPluginsList().indexOf(p));
|
intent.putExtra("plugin", MainApp.getPluginsList().indexOf(p));
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
|
((DrawerLayout) findViewById(R.id.drawer_layout)).closeDrawers();
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue