2016-07-17 59 views

回答

0

正如你在一個片段

以下代碼是你需要的!

YourFragment openfragment= new YourFragment(); 
this.getFragmentManager().beginTransaction() 
.replace(R.id.Layout_container, openfragment,TAG_FRAGMENT) 
.addToBackStack(null) 
.commit(); 
相關問題