知乎专栏 |
目录
<?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:background="?attr/fullscreenBackgroundColor" android:theme="@style/ThemeOverlay.裸眼3D产品.FullscreenContainer" tools:context=".ui.PictureBookFullscreenActivity"> <androidx.fragment.app.FragmentContainerView android:id="@+id/fragmentContainerView" android:layout_width="match_parent" android:layout_height="match_parent" /> </FrameLayout>
getSupportFragmentManager() .beginTransaction() .add(R.id.fragmentContainerView, new PictureBookStoryFullscreenFragment(bookId)) .commit();