Does not evaluate the condition : Good day,

that does not happen in my code, but when running, does not fall to assess the condition, otherwise I run the line of the "else" could help me have I got wrong. Thank you.

    public class LoginActivity extends AppCompatActivity {

    private EditText usern;
    private EditText passw;
    private Button logButton;

    @Override
    protected void onCreate(Bundle savedInstanceState){
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_login);
        
        usern = (EditText) findViewById(R.id.userNameText);
        passw = (EditText) findViewById(R.id.passwordText);
        logButton = (Button) findViewById(R.id.loginButton);

        logButton.setOnClickListener(new View.OnClickListener() {

            @Override
            public void onClick(View v) {

                if(usern.getText().toString().equals("demo") && passw.getText().equals("demo")){
                    Intent intent = new Intent(LoginActivity.this, MainActivity.class);
                    startActivity(intent);
                    Toast.makeText(getApplicationContext(), "Login...", Toast.LENGTH_SHORT).show();
                }
                else{
                    Toast.makeText(getApplicationContext(), "Username or password incorrect", Toast.LENGTH_SHORT).show();
                }
            }
        });
    }
    }

*Android Studio