Good people, I'm starting with Android Studio and I'm developing a small app and I made a menu, and I would like it when I click it, open another fragment. I tried several things already and nothing: /
The last one was this
FragmentManager fragmentManager = getFragmentManager();
if (id == R.id.Aries)
{
fragmentManager.beginTransaction().replace(R.id.content_frame, new Aries())
.commit();
}
But where is "new Aries" I get the error "can not find symbol fragment_aries"
My app will be a horoscope, and then I'll connect to the online database.
Any help on this part too, thank you
Thank you
Attt
Lucas Soares