FragmentTransaction.replace() not working

后端 未结 5 1764
星月不相逢
星月不相逢 2021-01-07 22:37

I have a ListFragment displaying a list of items that created by the user. I have a ListView with it\'s id set to \"@android:id/list\" and a

5条回答
  •  -上瘾入骨i
    2021-01-07 22:59

    Give a background color to the main layout of the childFragment.

    Like android:background="#FFFFFF"

    This worked for me!!!!

提交回复
热议问题