TabHost 内嵌 Fragment的跳转


  1. FragmentManager manager = getFragmentManager();  
  2.         FragmentTransaction transation = manager.beginTransaction();  
  3.         FragmentA fra = new FragmentA();  
  4.         transation.replace(R.id.ring_main_type_f, fra);  
  5.         transation.addToBackStack(null);  
  6.         transation.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN);  
  7.         transation.commit();  

你可能感兴趣的:(Android开发)