I was trying to go to another page using button, but it always fail.
button
Here is my First Class with its XML:
public class Fin
You need to use getActivity() method from fragment for Intents.
Intent intent = new Intent(getActivity(), SecondActivity.class); startActivity(intent);