I'm trying to make an app with the Navigation Drawer layout, but it uses Fragments, I can not call another screen using Fragments.
Login fragment = new Login();
android.support.v4.app.FragmentTransaction fragmentTransaction = getSupportFragmentManager().beginTransaction();
fragmentTransaction.replace(R.id.fragment_container, fragment);
fragmentTransaction.commit();
A code that I used, but no more, of the error in the fragment_container. Could someone help?