0

I have a actionbar tab setup with fragments for each of the pages. (extended default example from wizard).

I'm attempting to create a new fragment and make it the current fragment, with the other hidden

ConfigDetailSectionFragment configDetailSectionFragment = new ConfigDetailSectionFragment();
FragmentManager fragmentManager = getFragmentManager();
android.support.v4.app.FragmentTransaction transaction = fragmentManager.beginTransaction();

transaction.replace(R.id.fragment_main_config, configDetailSectionFragment);
transaction.addToBackStack(null);
transaction.commit();

the code shows the new fragment but seems it is transparent and I can see the fragment below.

i'm probably forgetting to do something... what am i forgetting to do or am missing?

4

1 回答 1

0

为每个工作人员添加一个已android:background="#FFFFFF"修复的问题。谢谢!

于 2013-11-08T19:56:12.647 回答