Update documentation for embedding SplashScreen (flutter/engine#25943)

This commit is contained in:
Hrishikesh Kadam
2021-05-13 02:29:02 +05:30
committed by GitHub
parent 96734d1ed4
commit 578a22a54e

View File

@@ -186,8 +186,8 @@ import io.flutter.plugin.platform.PlatformPlugin;
* windowBackground} as the launch theme discussed previously. To use that splash screen, include
* the following metadata in AndroidManifest.xml for this {@code FlutterActivity}:
*
* <p>{@code <meta-data android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
* android:value="true" /> }
* <p>{@code <meta-data android:name="io.flutter.embedding.android.SplashScreenDrawable"
* android:resource="@drawable/launch_background" /> }
*
* <p><strong>Alternative Activity</strong> {@link FlutterFragmentActivity} is also available, which
* is similar to {@code FlutterActivity} but it extends {@code FragmentActivity}. You should use