I am programming in android studio, I put a Button and this will take me to another activity, the problem is that pressing the button I get an error: Unfortunately the Agenda application stopped. I hope you can help me.
You defined android:OnClick
from the layout, remember that in this way you do not have to add a listener if not the method you defined for example:
android:OnClick=miMetodo
The declared method must receive the view as a parameter to work correctly:
public void miMetodo(View view){
...
...
}