I have two Save and Save buttons on my toolbar. I can not click. If I put the button click on the normal view I can get the click
private class btGravar implements View.OnClickListener {
public void onClick(View view) {
switch (view.getId()) {
case R.id.btnSalvar:
String nomeDesc = nome.getText().toString();
String foneDesc = fone.getText().toString();
String emailDesc = email.getText().toString();
String ruaDesc = rua.getText().toString();
Can anyone help me?