0
I’m trying to make an app with the layout Navigation Drawer, but use Fragments, I’m not able to 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();
Code that I used, but not more, the fragment_container error. Someone could help?