I´m new to android development and I´m trying to write a small, simple Application.
This application should do nothing more than reading the text from 2 EditTexts and when
You have to set the onClickListener inside the Activity from which you are managing the fragments and not inside the fragment, if the Button is not in the layout that your fragment is inflating.