The wrong password operation does little and there is no way to display an error text letting the user know the password was wrong.
public void wrongPassword() {
progressBarSecond.setVisibility(View.GONE);
layoutSecond.setVisibility(View.VISIBLE);
}
I propose creating a text field on the second_login_view.xml layout that displays password errors, which can be passed as text to the wrongPassword(String errorMessage) method call
The wrong password operation does little and there is no way to display an error text letting the user know the password was wrong.