2016-10-03

I am trying to make a Login screen where the Register, Login and Forgot Password screens are all fragments, placed like this:

Forgot Password | Login | Register

I found a simple video on YouTube showing me how to do this. The only issue I have is that when I start the Activity, it opens on the Forgot Password fragment since it is the first one, but I am wanting it to start in the middle, the Login fragment. Here is the code for the main activity. What should I change or add to this code or am I taking the wrong approach for what I am trying to achieve

Access.java

access.xml

AccessForgotPassword.java

access_forgot_password.xml

AccessLogin.java

access_login.xml

AccessRegister.java

access_register.xml

Show more