Display Two Fragments at the same time
问题 From FragmentPagerAdapter in case 0 I instantiated fragment A this fragment I wanted to display display two fragments inside frag A . The view is not displaying. MyFragmentPagerAdapter is called by the main class to populate the viewpager. MyFragmentPagerAdapter extends FragmentPagerAdapter{ @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View rootView = inflater.inflate(R.layout.main, container, false); final int MARGIN = 16;