是否可以在添加片段之前检查片段是否已加载到FrameLayout中?
Fragment a = getSupportFragmentManager().findFragmentById(R.id.FrameLayout); if(a == null) FrameLayout is empty