public class Fragment1_1 extends Fragment { @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { return inflater.inflate(R.layout.fragment1_1, null); } public void btnNext(View view){ Intent nextScreen = new Intent(getApplicationContext(),Fragment1_2.class); startActivity(nextScreen); } }
FragmentTransaction
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)